aboutsummaryrefslogtreecommitdiffstats
path: root/main
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
parentd093991db57b4a583f10dc4bed68281dfa91e566 (diff)
downloadaports-93be634436eb466cacd4ec5ea4fcfb811bde9975.tar.gz
aports-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')
-rw-r--r--main/gcalcli/APKBUILD2
-rw-r--r--main/py-asn1-modules/APKBUILD2
-rw-r--r--main/py-backports.ssl_match_hostname/APKBUILD2
-rw-r--r--main/py-backports_abc/APKBUILD2
-rw-r--r--main/py-boto/APKBUILD2
-rw-r--r--main/py-certifi/APKBUILD2
-rw-r--r--main/py-country/APKBUILD2
-rw-r--r--main/py-dateutil/APKBUILD2
-rw-r--r--main/py-django-oscar/APKBUILD2
-rw-r--r--main/py-django/APKBUILD2
-rw-r--r--main/py-django1.5/APKBUILD2
-rw-r--r--main/py-ecdsa/APKBUILD2
-rw-r--r--main/py-ediarpc/APKBUILD2
-rw-r--r--main/py-enum34/APKBUILD2
-rw-r--r--main/py-exifread/APKBUILD2
-rw-r--r--main/py-feedparser/APKBUILD2
-rw-r--r--main/py-flask-assets/APKBUILD2
-rw-r--r--main/py-flask-oauthlib/APKBUILD2
-rw-r--r--main/py-flask-script/APKBUILD2
-rw-r--r--main/py-flask-wtf/APKBUILD2
-rw-r--r--main/py-flask/APKBUILD2
-rw-r--r--main/py-funcsigs/APKBUILD6
-rw-r--r--main/py-gnutls/APKBUILD2
-rw-r--r--main/py-google-api-python-client/APKBUILD2
-rw-r--r--main/py-hgtools/APKBUILD2
-rw-r--r--main/py-hiredis/APKBUILD2
-rw-r--r--main/py-hoedown/APKBUILD2
-rw-r--r--main/py-httplib2/APKBUILD2
-rw-r--r--main/py-icu/APKBUILD2
-rw-r--r--main/py-irc/APKBUILD2
-rw-r--r--main/py-itsdangerous/APKBUILD2
-rw-r--r--main/py-jinja2/APKBUILD2
-rw-r--r--main/py-jwt/APKBUILD2
-rw-r--r--main/py-lockfile/APKBUILD2
-rw-r--r--main/py-lxml/APKBUILD2
-rw-r--r--main/py-mako/APKBUILD2
-rw-r--r--main/py-markupsafe/APKBUILD2
-rw-r--r--main/py-mccabe/APKBUILD2
-rw-r--r--main/py-meld3/APKBUILD2
-rw-r--r--main/py-mock/APKBUILD2
-rw-r--r--main/py-munkres/APKBUILD2
-rw-r--r--main/py-musicbrainzngs/APKBUILD2
-rw-r--r--main/py-mysqldb/APKBUILD2
-rw-r--r--main/py-nose/APKBUILD2
-rw-r--r--main/py-oauth2/APKBUILD2
-rw-r--r--main/py-oauth2client/APKBUILD2
-rw-r--r--main/py-openssl/APKBUILD2
-rw-r--r--main/py-paramiko/APKBUILD2
-rw-r--r--main/py-pbr/APKBUILD5
-rw-r--r--main/py-pep8/APKBUILD2
-rw-r--r--main/py-phonenumbers/APKBUILD2
-rw-r--r--main/py-psycopg2/APKBUILD2
-rw-r--r--main/py-purl/APKBUILD2
-rw-r--r--main/py-pygments/APKBUILD2
-rw-r--r--main/py-pylast/APKBUILD2
-rw-r--r--main/py-redis/APKBUILD2
-rw-r--r--main/py-requests-oauthlib/APKBUILD2
-rw-r--r--main/py-requests/APKBUILD2
-rw-r--r--main/py-roman/APKBUILD2
-rw-r--r--main/py-rsa/APKBUILD2
-rw-r--r--main/py-simplejson/APKBUILD2
-rw-r--r--main/py-simpleparse/APKBUILD6
-rw-r--r--main/py-singledispatch/APKBUILD2
-rw-r--r--main/py-six/APKBUILD2
-rw-r--r--main/py-snowballstemmer/APKBUILD2
-rw-r--r--main/py-tornado/APKBUILD2
-rw-r--r--main/py-twitter/APKBUILD2
-rw-r--r--main/py-tz/APKBUILD2
-rw-r--r--main/py-unidecode/APKBUILD2
-rw-r--r--main/py-uritemplate/APKBUILD2
-rw-r--r--main/py-urlnorm/APKBUILD2
-rw-r--r--main/py-urwid/APKBUILD2
-rw-r--r--main/py-virtualenv/APKBUILD2
-rw-r--r--main/py-webassets/APKBUILD2
-rw-r--r--main/py-werkzeug/APKBUILD2
-rw-r--r--main/py-wtforms/APKBUILD2
-rw-r--r--main/py-zope-interface/APKBUILD2
-rw-r--r--main/pyflakes/APKBUILD2
-rw-r--r--main/supervisor/APKBUILD2
79 files changed, 86 insertions, 83 deletions
diff --git a/main/gcalcli/APKBUILD b/main/gcalcli/APKBUILD
index 66c04adcd9..f364533aaa 100644
--- a/main/gcalcli/APKBUILD
+++ b/main/gcalcli/APKBUILD
@@ -11,7 +11,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
diff --git a/main/py-asn1-modules/APKBUILD b/main/py-asn1-modules/APKBUILD
index c3325ee26b..8dd464e474 100644
--- a/main/py-asn1-modules/APKBUILD
+++ b/main/py-asn1-modules/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-backports.ssl_match_hostname/APKBUILD b/main/py-backports.ssl_match_hostname/APKBUILD
index ed8600e746..92aa03c018 100644
--- a/main/py-backports.ssl_match_hostname/APKBUILD
+++ b/main/py-backports.ssl_match_hostname/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-backports_abc/APKBUILD b/main/py-backports_abc/APKBUILD
index 3a196d71aa..cebdc41334 100644
--- a/main/py-backports_abc/APKBUILD
+++ b/main/py-backports_abc/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="py-setuptools"
makedepends="python-dev $depends_dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-boto/APKBUILD b/main/py-boto/APKBUILD
index 093137e72d..6f067a469a 100644
--- a/main/py-boto/APKBUILD
+++ b/main/py-boto/APKBUILD
@@ -12,7 +12,7 @@ depends="python"
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-certifi/APKBUILD b/main/py-certifi/APKBUILD
index 6dbe91edb3..b105a9fcef 100644
--- a/main/py-certifi/APKBUILD
+++ b/main/py-certifi/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-country/APKBUILD b/main/py-country/APKBUILD
index 041cec243f..ee6d4ef87e 100644
--- a/main/py-country/APKBUILD
+++ b/main/py-country/APKBUILD
@@ -10,7 +10,7 @@ arch="noarch"
license="LGPL2+"
depends="python"
makedepends="python-dev py-setuptools"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-dateutil/APKBUILD b/main/py-dateutil/APKBUILD
index aa8f0503ec..08615f6312 100644
--- a/main/py-dateutil/APKBUILD
+++ b/main/py-dateutil/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-django-oscar/APKBUILD b/main/py-django-oscar/APKBUILD
index 0565c208d9..18a98259dd 100644
--- a/main/py-django-oscar/APKBUILD
+++ b/main/py-django-oscar/APKBUILD
@@ -12,7 +12,7 @@ depends="py-babel py-django py-django-compressor py-django-extra-views
py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock
py-phonenumbers py-pillow py-purl py-unidecode"
makedepends=py-setuptools
-source="https://pypi.python.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz
+source="https://files.pythonhosted.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz
fi-django.mo"
_builddir=$srcdir/django-oscar-$pkgver
diff --git a/main/py-django/APKBUILD b/main/py-django/APKBUILD
index 732da3d6b4..20ea71e8e6 100644
--- a/main/py-django/APKBUILD
+++ b/main/py-django/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
diff --git a/main/py-django1.5/APKBUILD b/main/py-django1.5/APKBUILD
index baa6ba3a10..0f9fb7e1f7 100644
--- a/main/py-django1.5/APKBUILD
+++ b/main/py-django1.5/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-ecdsa/APKBUILD b/main/py-ecdsa/APKBUILD
index 6cc6cf38d1..0661801c35 100644
--- a/main/py-ecdsa/APKBUILD
+++ b/main/py-ecdsa/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-ediarpc/APKBUILD b/main/py-ediarpc/APKBUILD
index 01b6a3d0ac..84b5f9394b 100644
--- a/main/py-ediarpc/APKBUILD
+++ b/main/py-ediarpc/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/e/ediarpc/ediarpc-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/e/ediarpc/ediarpc-$pkgver.tar.gz"
_builddir="$srcdir"/ediarpc-$pkgver
prepare() {
diff --git a/main/py-enum34/APKBUILD b/main/py-enum34/APKBUILD
index ca627dbbf0..d9400916b6 100644
--- a/main/py-enum34/APKBUILD
+++ b/main/py-enum34/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/e/enum34/enum34-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/e/enum34/enum34-$pkgver.tar.gz"
_builddir="$srcdir"/enum34-$pkgver
prepare() {
diff --git a/main/py-exifread/APKBUILD b/main/py-exifread/APKBUILD
index 9075dbb6b2..329aa6a1de 100644
--- a/main/py-exifread/APKBUILD
+++ b/main/py-exifread/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-feedparser/APKBUILD b/main/py-feedparser/APKBUILD
index 631c6a222f..e2e3cc91d7 100644
--- a/main/py-feedparser/APKBUILD
+++ b/main/py-feedparser/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-flask-assets/APKBUILD b/main/py-flask-assets/APKBUILD
index 484aec4df8..8110305065 100644
--- a/main/py-flask-assets/APKBUILD
+++ b/main/py-flask-assets/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-flask-oauthlib/APKBUILD b/main/py-flask-oauthlib/APKBUILD
index df71919ef7..7dce41e976 100644
--- a/main/py-flask-oauthlib/APKBUILD
+++ b/main/py-flask-oauthlib/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python3-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-flask-script/APKBUILD b/main/py-flask-script/APKBUILD
index d09f03a28d..60433a9108 100644
--- a/main/py-flask-script/APKBUILD
+++ b/main/py-flask-script/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-flask-wtf/APKBUILD b/main/py-flask-wtf/APKBUILD
index c2507f522f..afb95892f1 100644
--- a/main/py-flask-wtf/APKBUILD
+++ b/main/py-flask-wtf/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools py-wtforms"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-flask/APKBUILD b/main/py-flask/APKBUILD
index 68e46cf9dd..98ea01b9d3 100644
--- a/main/py-flask/APKBUILD
+++ b/main/py-flask/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/Flask-$pkgver
prepare() {
diff --git a/main/py-funcsigs/APKBUILD b/main/py-funcsigs/APKBUILD
index feabbb4413..913b4aeb94 100644
--- a/main/py-funcsigs/APKBUILD
+++ b/main/py-funcsigs/APKBUILD
@@ -1,6 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-funcsigs
+_pkgname=funcsigs
pkgver=1.0.2
pkgrel=0
pkgdesc="Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+"
@@ -12,8 +13,9 @@ depends_dev=""
makedepends="$depends_dev python-dev py-setuptools"
install=""
subpackages=""
-source="https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/${pkgname/py-/}-$pkgver.tar.gz"
-builddir="$srcdir"/${pkgname/py-/}-$pkgver
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
build () {
cd "$builddir"
python setup.py build || return 1
diff --git a/main/py-gnutls/APKBUILD b/main/py-gnutls/APKBUILD
index 51ad12da97..6afb5697a6 100644
--- a/main/py-gnutls/APKBUILD
+++ b/main/py-gnutls/APKBUILD
@@ -12,7 +12,7 @@ depends=""
makedepends="python-dev gnutls-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_buildroot=${srcdir}/${_pkgname}-${pkgver}
build() {
diff --git a/main/py-google-api-python-client/APKBUILD b/main/py-google-api-python-client/APKBUILD
index 8c5d66d7a7..b4b7f86eed 100644
--- a/main/py-google-api-python-client/APKBUILD
+++ b/main/py-google-api-python-client/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-hgtools/APKBUILD b/main/py-hgtools/APKBUILD
index dee15844f1..7db3756379 100644
--- a/main/py-hgtools/APKBUILD
+++ b/main/py-hgtools/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-hiredis/APKBUILD b/main/py-hiredis/APKBUILD
index 18a408f04e..8fe6c0ffab 100644
--- a/main/py-hiredis/APKBUILD
+++ b/main/py-hiredis/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools hiredis-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
system-hiredis.patch"
_builddir="$srcdir"/$_pkgname-$pkgver
diff --git a/main/py-hoedown/APKBUILD b/main/py-hoedown/APKBUILD
index 6ecdbfe6dc..1d67c3420a 100644
--- a/main/py-hoedown/APKBUILD
+++ b/main/py-hoedown/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
diff --git a/main/py-httplib2/APKBUILD b/main/py-httplib2/APKBUILD
index 8cb5c73c9c..8350a1c59b 100644
--- a/main/py-httplib2/APKBUILD
+++ b/main/py-httplib2/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-icu/APKBUILD b/main/py-icu/APKBUILD
index 0235b4ca05..5793d7317e 100644
--- a/main/py-icu/APKBUILD
+++ b/main/py-icu/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev icu-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-irc/APKBUILD b/main/py-irc/APKBUILD
index c9a6b9cdfe..9df2f3d992 100644
--- a/main/py-irc/APKBUILD
+++ b/main/py-irc/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="python"
makedepends="$depends_dev py-hgtools py-setuptools"
install=""
subpackages="$pkgname-scripts"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-itsdangerous/APKBUILD b/main/py-itsdangerous/APKBUILD
index d11d97cc05..8d773a6ad1 100644
--- a/main/py-itsdangerous/APKBUILD
+++ b/main/py-itsdangerous/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-jinja2/APKBUILD b/main/py-jinja2/APKBUILD
index 6b02739452..1febe9e9f5 100644
--- a/main/py-jinja2/APKBUILD
+++ b/main/py-jinja2/APKBUILD
@@ -12,7 +12,7 @@ depends="python py-markupsafe"
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-jwt/APKBUILD b/main/py-jwt/APKBUILD
index e67c021dab..7558b5cccb 100644
--- a/main/py-jwt/APKBUILD
+++ b/main/py-jwt/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-lockfile/APKBUILD b/main/py-lockfile/APKBUILD
index 1aedd915a4..e726f46879 100644
--- a/main/py-lockfile/APKBUILD
+++ b/main/py-lockfile/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-lxml/APKBUILD b/main/py-lxml/APKBUILD
index 75c7588312..89b9dca83d 100644
--- a/main/py-lxml/APKBUILD
+++ b/main/py-lxml/APKBUILD
@@ -11,7 +11,7 @@ license="BSD"
depends=""
makedepends="python-dev libxml2-dev libxslt-dev py-setuptools"
install=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-mako/APKBUILD b/main/py-mako/APKBUILD
index fa74b04a88..da81e8c43d 100644
--- a/main/py-mako/APKBUILD
+++ b/main/py-mako/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-markupsafe/APKBUILD b/main/py-markupsafe/APKBUILD
index 80f3b2f3dc..25fae115df 100644
--- a/main/py-markupsafe/APKBUILD
+++ b/main/py-markupsafe/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-dev"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-mccabe/APKBUILD b/main/py-mccabe/APKBUILD
index 45c3f0bcf9..34590aed07 100644
--- a/main/py-mccabe/APKBUILD
+++ b/main/py-mccabe/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-meld3/APKBUILD b/main/py-meld3/APKBUILD
index 27fadeb351..1c6df559fb 100644
--- a/main/py-meld3/APKBUILD
+++ b/main/py-meld3/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-mock/APKBUILD b/main/py-mock/APKBUILD
index 309fe71ed9..7783684dba 100644
--- a/main/py-mock/APKBUILD
+++ b/main/py-mock/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-munkres/APKBUILD b/main/py-munkres/APKBUILD
index 75ca45eb44..dd790db203 100644
--- a/main/py-munkres/APKBUILD
+++ b/main/py-munkres/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/m/munkres/munkres-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/m/munkres/munkres-$pkgver.tar.gz"
_builddir="$srcdir"/munkres-$pkgver
prepare() {
diff --git a/main/py-musicbrainzngs/APKBUILD b/main/py-musicbrainzngs/APKBUILD
index 45cfdd1ebf..c8c399c3eb 100644
--- a/main/py-musicbrainzngs/APKBUILD
+++ b/main/py-musicbrainzngs/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/m/musicbrainzngs/musicbrainzngs-$pkgver.tar.gz"
_builddir="$srcdir"/musicbrainzngs-$pkgver
prepare() {
diff --git a/main/py-mysqldb/APKBUILD b/main/py-mysqldb/APKBUILD
index 4f59a80b95..35242cace3 100644
--- a/main/py-mysqldb/APKBUILD
+++ b/main/py-mysqldb/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="mariadb-dev"
makedepends="$depends_dev python-dev py-setuptools"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-$pkgver.zip"
+source="https://files.pythonhosted.org/packages/source/M/MySQL-python/MySQL-python-$pkgver.zip"
_builddir="$srcdir"/MySQL-python-$pkgver
diff --git a/main/py-nose/APKBUILD b/main/py-nose/APKBUILD
index bf61fe0577..edb04edb99 100644
--- a/main/py-nose/APKBUILD
+++ b/main/py-nose/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-oauth2/APKBUILD b/main/py-oauth2/APKBUILD
index 88e01a6328..6b6cae15f9 100644
--- a/main/py-oauth2/APKBUILD
+++ b/main/py-oauth2/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.post1.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.post1.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver.post1
prepare() {
diff --git a/main/py-oauth2client/APKBUILD b/main/py-oauth2client/APKBUILD
index a09f1a916d..0decfcb072 100644
--- a/main/py-oauth2client/APKBUILD
+++ b/main/py-oauth2client/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-openssl/APKBUILD b/main/py-openssl/APKBUILD
index e8c740ab6d..4084291a2e 100644
--- a/main/py-openssl/APKBUILD
+++ b/main/py-openssl/APKBUILD
@@ -11,7 +11,7 @@ depends_dev=""
makedepends="openssl-dev python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-$pkgver.tar.gz"
_builddir="$srcdir"/pyOpenSSL-$pkgver
prepare() {
diff --git a/main/py-paramiko/APKBUILD b/main/py-paramiko/APKBUILD
index 5976b25aaf..348585e27e 100644
--- a/main/py-paramiko/APKBUILD
+++ b/main/py-paramiko/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-demos $pkgname-doc"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
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"
diff --git a/main/py-pep8/APKBUILD b/main/py-pep8/APKBUILD
index 4191651a8c..fe5f3eb59f 100644
--- a/main/py-pep8/APKBUILD
+++ b/main/py-pep8/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-phonenumbers/APKBUILD b/main/py-phonenumbers/APKBUILD
index c1cca9d79b..7135955174 100644
--- a/main/py-phonenumbers/APKBUILD
+++ b/main/py-phonenumbers/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-psycopg2/APKBUILD b/main/py-psycopg2/APKBUILD
index 8fe4cfdc7d..662e5b08e8 100644
--- a/main/py-psycopg2/APKBUILD
+++ b/main/py-psycopg2/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev postgresql-dev py-egenix-mx-base-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-purl/APKBUILD b/main/py-purl/APKBUILD
index 82e8f3b78f..68f343636f 100644
--- a/main/py-purl/APKBUILD
+++ b/main/py-purl/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-pygments/APKBUILD b/main/py-pygments/APKBUILD
index a04c76ff8c..0cc2bcb5db 100644
--- a/main/py-pygments/APKBUILD
+++ b/main/py-pygments/APKBUILD
@@ -12,7 +12,7 @@ depends="python py-setuptools"
makedepends=""
install=""
subpackages="$pkgname-doc"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
CVE-2015-8557.patch
"
diff --git a/main/py-pylast/APKBUILD b/main/py-pylast/APKBUILD
index 3725630d12..37af039a39 100644
--- a/main/py-pylast/APKBUILD
+++ b/main/py-pylast/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/p/pylast/pylast-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/p/pylast/pylast-$pkgver.tar.gz"
_builddir="$srcdir"/pylast-$pkgver
prepare() {
diff --git a/main/py-redis/APKBUILD b/main/py-redis/APKBUILD
index f53a39e958..74b01dc13b 100644
--- a/main/py-redis/APKBUILD
+++ b/main/py-redis/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-requests-oauthlib/APKBUILD b/main/py-requests-oauthlib/APKBUILD
index ee84fc2e68..df9b83c487 100644
--- a/main/py-requests-oauthlib/APKBUILD
+++ b/main/py-requests-oauthlib/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python3-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-requests/APKBUILD b/main/py-requests/APKBUILD
index 29a01fded4..39570529ac 100644
--- a/main/py-requests/APKBUILD
+++ b/main/py-requests/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-roman/APKBUILD b/main/py-roman/APKBUILD
index 3b1e56404e..9c088a17d1 100644
--- a/main/py-roman/APKBUILD
+++ b/main/py-roman/APKBUILD
@@ -12,7 +12,7 @@ depends="python"
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-rsa/APKBUILD b/main/py-rsa/APKBUILD
index 2e935d8994..0105337a0f 100644
--- a/main/py-rsa/APKBUILD
+++ b/main/py-rsa/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-simplejson/APKBUILD b/main/py-simplejson/APKBUILD
index 0b0dbf8390..a3d878051f 100644
--- a/main/py-simplejson/APKBUILD
+++ b/main/py-simplejson/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-simpleparse/APKBUILD b/main/py-simpleparse/APKBUILD
index da06bc6879..6cae8deac8 100644
--- a/main/py-simpleparse/APKBUILD
+++ b/main/py-simpleparse/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-simpleparse
-_realname=SimpleParse
+_pkgname=SimpleParse
pkgver=2.1.1
pkgrel=1
pkgdesc="Python library providing simple and fast parser generator"
@@ -12,11 +12,11 @@ depends_dev="python-dev"
makedepends="$depends_dev"
install=
subpackages=
-source="http://pypi.python.org/packages/source/S/$_realname/$_realname-$pkgver.zip
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
py-simpleparse-eols.patch"
-_builddir="$srcdir"/$_realname-$pkgver
+_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
cd "$_builddir"
diff --git a/main/py-singledispatch/APKBUILD b/main/py-singledispatch/APKBUILD
index 9cbf7ee7bd..e8341cf67b 100644
--- a/main/py-singledispatch/APKBUILD
+++ b/main/py-singledispatch/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="py-setuptools"
makedepends="python-dev $depends_dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-six/APKBUILD b/main/py-six/APKBUILD
index 78ae11a69f..1383d741ad 100644
--- a/main/py-six/APKBUILD
+++ b/main/py-six/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-snowballstemmer/APKBUILD b/main/py-snowballstemmer/APKBUILD
index c7bba8a41c..4198b810a1 100644
--- a/main/py-snowballstemmer/APKBUILD
+++ b/main/py-snowballstemmer/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/s/snowballstemmer/snowballstemmer-$pkgver.tar.gz"
_builddir="$srcdir"/snowballstemmer-$pkgver
prepare() {
diff --git a/main/py-tornado/APKBUILD b/main/py-tornado/APKBUILD
index 73beb1373d..c754fa99e2 100644
--- a/main/py-tornado/APKBUILD
+++ b/main/py-tornado/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="py-setuptools"
makedepends="python-dev $depends_dev"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-twitter/APKBUILD b/main/py-twitter/APKBUILD
index e4ec519cfe..0855f9d30b 100644
--- a/main/py-twitter/APKBUILD
+++ b/main/py-twitter/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-tz/APKBUILD b/main/py-tz/APKBUILD
index 68df171b6f..4d436d94c2 100644
--- a/main/py-tz/APKBUILD
+++ b/main/py-tz/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-unidecode/APKBUILD b/main/py-unidecode/APKBUILD
index a4fcc5b2e3..da1091ce2c 100644
--- a/main/py-unidecode/APKBUILD
+++ b/main/py-unidecode/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-uritemplate/APKBUILD b/main/py-uritemplate/APKBUILD
index 6b8c105c6a..5f9c64af06 100644
--- a/main/py-uritemplate/APKBUILD
+++ b/main/py-uritemplate/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-urlnorm/APKBUILD b/main/py-urlnorm/APKBUILD
index 74654de801..f3c490f046 100644
--- a/main/py-urlnorm/APKBUILD
+++ b/main/py-urlnorm/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-urwid/APKBUILD b/main/py-urwid/APKBUILD
index 74befd162a..b6289b57d7 100644
--- a/main/py-urwid/APKBUILD
+++ b/main/py-urwid/APKBUILD
@@ -12,7 +12,7 @@ depends=""
makedepends="python-dev py-setuptools py-templayer py-sphinx"
install=""
subpackages="$pkgname-doc $pkgname-examples"
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-virtualenv/APKBUILD b/main/py-virtualenv/APKBUILD
index c2c946dbb6..a3a874bdb8 100644
--- a/main/py-virtualenv/APKBUILD
+++ b/main/py-virtualenv/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/py-webassets/APKBUILD b/main/py-webassets/APKBUILD
index cab9800d2a..7430986960 100644
--- a/main/py-webassets/APKBUILD
+++ b/main/py-webassets/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-werkzeug/APKBUILD b/main/py-werkzeug/APKBUILD
index 82ae620f08..acb9cc44db 100644
--- a/main/py-werkzeug/APKBUILD
+++ b/main/py-werkzeug/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-$pkgver.tar.gz"
_builddir="$srcdir"/Werkzeug-$pkgver
prepare() {
diff --git a/main/py-wtforms/APKBUILD b/main/py-wtforms/APKBUILD
index 008568fdfc..d539b6e231 100644
--- a/main/py-wtforms/APKBUILD
+++ b/main/py-wtforms/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
diff --git a/main/py-zope-interface/APKBUILD b/main/py-zope-interface/APKBUILD
index 3be5681f85..213000a3bd 100644
--- a/main/py-zope-interface/APKBUILD
+++ b/main/py-zope-interface/APKBUILD
@@ -11,7 +11,7 @@ depends=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
diff --git a/main/pyflakes/APKBUILD b/main/pyflakes/APKBUILD
index f220e22595..c457a7b05c 100644
--- a/main/pyflakes/APKBUILD
+++ b/main/pyflakes/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
diff --git a/main/supervisor/APKBUILD b/main/supervisor/APKBUILD
index 8e1948735d..059a0139fd 100644
--- a/main/supervisor/APKBUILD
+++ b/main/supervisor/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="python-dev"
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz
+source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz
supervisord.conf
supervisord.initrd
supervisord.logrotate"