aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-07-19 14:45:45 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-07-19 15:00:35 +0200
commit2c026d72e5621f08410f18f416214a9ddde234fa (patch)
treef275d957e31d48a651f332a6da19b02b854a3d49 /community
parent987e45fdb051128ac9e54dbc2ae6d502c6b72c63 (diff)
downloadaports-2c026d72e5621f08410f18f416214a9ddde234fa.tar.bz2
aports-2c026d72e5621f08410f18f416214a9ddde234fa.tar.xz
community/py*: change source URLs pypi.python.org to files.pythonhosted.org
Diffstat (limited to 'community')
-rw-r--r--community/py-pathtools/APKBUILD5
-rw-r--r--community/py-rpigpio/APKBUILD2
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}