aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-pbr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-pbr/APKBUILD')
-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"