aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-zope-interface/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-05 07:51:35 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-09-08 14:34:56 +0200
commitd3fb5520a2ec87c1a4197201e09db2f8082bc52b (patch)
tree127fd3595dc5498b2f75dbfd577bf1b948de4f2c /main/py-zope-interface/APKBUILD
parent769311b28d06fa0d3d5ac20552c60f456f19bc38 (diff)
downloadaports-d3fb5520a2ec87c1a4197201e09db2f8082bc52b.tar.bz2
aports-d3fb5520a2ec87c1a4197201e09db2f8082bc52b.tar.xz
main/py-zope-interface: var introduced
Diffstat (limited to 'main/py-zope-interface/APKBUILD')
-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