aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-weasyprint
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-07-06 19:34:49 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-07-08 17:39:12 +0200
commitbb62c4901b5dcda2d798b25d48d8bcb55868c5f0 (patch)
treec783b9439643f213427145d274292e69bd6b8c4d /testing/py-weasyprint
parentd7037afe2ba42041d38abdfcfe59185f54ca341a (diff)
downloadaports-bb62c4901b5dcda2d798b25d48d8bcb55868c5f0.tar.bz2
aports-bb62c4901b5dcda2d798b25d48d8bcb55868c5f0.tar.xz
testing/*: 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 'testing/py-weasyprint')
-rw-r--r--testing/py-weasyprint/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/py-weasyprint/APKBUILD b/testing/py-weasyprint/APKBUILD
index cfee554152..39cfcd822d 100644
--- a/testing/py-weasyprint/APKBUILD
+++ b/testing/py-weasyprint/APKBUILD
@@ -1,6 +1,7 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-weasyprint
+_pkgname=WeasyPrint
pkgver=0.19.2
pkgrel=0
pkgdesc="cairo-based HTML renderer for python"
@@ -12,9 +13,9 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/W/WeasyPrint/WeasyPrint-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/WeasyPrint-$pkgver
+_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"