diff options
-rw-r--r-- | community/py-pathtools/APKBUILD | 5 | ||||
-rw-r--r-- | community/py-rpigpio/APKBUILD | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/community/py-pathtools/APKBUILD b/community/py-pathtools/APKBUILD index 200cedf1a9..6f7d2a87e9 100644 --- a/community/py-pathtools/APKBUILD +++ b/community/py-pathtools/APKBUILD @@ -1,6 +1,7 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-pathtools +_pkgname=pathtools pkgver=0.1.2 pkgrel=0 pkgdesc="Path utilities for Python" @@ -12,9 +13,9 @@ depends_dev="" makedepends="$depends_dev py-setuptools python-dev" install="" subpackages="" -source="https://pypi.python.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-$pkgver.tar.gz" +source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/pathtools-$pkgver +_builddir="$srcdir"/$_pkgname-$pkgver prepare() { local i cd "$_builddir" diff --git a/community/py-rpigpio/APKBUILD b/community/py-rpigpio/APKBUILD index 3d54ee3ad8..a616c1ff58 100644 --- a/community/py-rpigpio/APKBUILD +++ b/community/py-rpigpio/APKBUILD @@ -13,7 +13,7 @@ depends_dev="" makedepends="python-dev py-setuptools" install="" subpackages="" -source="$_pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/R/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" +source="$_pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir=${srcdir}/${_pkgname}-${pkgver} |