aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-pbr
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-07-06 19:40:49 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-08 18:44:26 +0200
commit93be634436eb466cacd4ec5ea4fcfb811bde9975 (patch)
tree7c977912e3836f0929ceb6ae252d38060bd94dfc /main/py-pbr
parentd093991db57b4a583f10dc4bed68281dfa91e566 (diff)
downloadaports-93be634436eb466cacd4ec5ea4fcfb811bde9975.tar.bz2
aports-93be634436eb466cacd4ec5ea4fcfb811bde9975.tar.xz
main/*: change source URL pypi.python.org to files.pythonhosted.org
See https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package#comment-27734791
Diffstat (limited to 'main/py-pbr')
-rw-r--r--main/py-pbr/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/py-pbr/APKBUILD b/main/py-pbr/APKBUILD
index 5a7c380030..d9be6c1a91 100644
--- a/main/py-pbr/APKBUILD
+++ b/main/py-pbr/APKBUILD
@@ -1,6 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-pbr
+_pkgname=pbr
pkgver=1.10.0
pkgrel=0
pkgdesc="Python Build Reasonableness"
@@ -12,9 +13,9 @@ depends_dev=""
makedepends="$depends_dev python-dev py-setuptools"
install=""
subpackages="$pkgname-dev"
-source="https://pypi.python.org/packages/c3/2c/63275fab26a0fd8cadafca71a3623e4d0f0ee8ed7124a5bb128853d178a7/${pkgname/py-/}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/${pkgname/py-/}-$pkgver
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"