summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2022-04-05 10:00:20 -0600
committerMark Wagie2022-04-05 10:00:20 -0600
commit212a3d91e97c9fea76930f6cc984c0588cb98464 (patch)
treebf8262ea1d0126e6c1b0833571d2c551755e40f2
parent0bcd904c132f67fff5dccc22d23e0656afec8665 (diff)
downloadaur-212a3d91e97c9fea76930f6cc984c0588cb98464.tar.gz
use files.pythonhosted.org instead of pypi.org
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d970b371198a..4fa0aa295b07 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,7 @@ pkgbase = python-strenum
license = MIT
makedepends = python-setuptools
depends = python
- source = https://pypi.org/packages/source/S/StrEnum/StrEnum-0.4.7.tar.gz
+ source = https://files.pythonhosted.org/packages/source/S/StrEnum/StrEnum-0.4.7.tar.gz
source = https://raw.githubusercontent.com/irgeek/StrEnum/v0.4.7/LICENSE
sha256sums = 6019e9cc1738af6a236c022b82184372178ecadf12438f11f5b680a02a462377
sha256sums = bcd733d0a46522162b95dbab61f7cdc1c3e36861dfa127d68a4435240d36ad36
diff --git a/PKGBUILD b/PKGBUILD
index 6fd875d3a7ab..1b06553717f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://github.com/irgeek/StrEnum"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
-source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz"
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
"https://raw.githubusercontent.com/irgeek/StrEnum/v$pkgver/LICENSE")
sha256sums=('6019e9cc1738af6a236c022b82184372178ecadf12438f11f5b680a02a462377'
'bcd733d0a46522162b95dbab61f7cdc1c3e36861dfa127d68a4435240d36ad36')