aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-zope-interface
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-zope-interface')
-rw-r--r--main/py-zope-interface/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/py-zope-interface/APKBUILD b/main/py-zope-interface/APKBUILD
index ffa37785b8..cee143516b 100644
--- a/main/py-zope-interface/APKBUILD
+++ b/main/py-zope-interface/APKBUILD
@@ -1,5 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-zope-interface
+_pkgname=zope.interface
pkgver=4.0.5
pkgrel=1
pkgdesc="Separate distribution of the zope.interface package used in Zope."
@@ -10,9 +11,9 @@ depends=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-$pkgver.zip"
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
-_builddir="$srcdir"/zope.interface-$pkgver
+_builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1