From 93be634436eb466cacd4ec5ea4fcfb811bde9975 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 6 Jul 2016 19:40:49 +0200 Subject: 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 --- main/py-pbr/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main/py-pbr') 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 # Maintainer: Francesco Colista 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" -- cgit v1.2.3