aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-zope-interface
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-12 14:21:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-12 14:22:05 +0000
commit0e911da70ed58ddb860be408e7e20be301a00040 (patch)
tree34469e973d665d61868b74be6b3225d9780cc2cb /main/py-zope-interface
parent15b876ea96819b7a78aacce5c52cecd6813e7f0f (diff)
downloadaports-0e911da70ed58ddb860be408e7e20be301a00040.tar.bz2
aports-0e911da70ed58ddb860be408e7e20be301a00040.tar.xz
main/py-zope-interface: moved from testing
Diffstat (limited to 'main/py-zope-interface')
-rw-r--r--main/py-zope-interface/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/py-zope-interface/APKBUILD b/main/py-zope-interface/APKBUILD
new file mode 100644
index 0000000000..469fb65e53
--- /dev/null
+++ b/main/py-zope-interface/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=py-zope-interface
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="Separate distribution of the zope.interface package used in Zope 3."
+url="http://www.zope.org/Products/ZopeInterface/"
+arch="all"
+license="ZPL"
+depends=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz"
+
+_builddir="$srcdir"/zope.interface-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+ python setup.py test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ rm "$pkgdir"/usr/lib/python*/site-packages/zope/interface/README*.txt
+}
+
+md5sums="8f3e942e9556ed27ac1a71ee85bf697f zope.interface-3.7.0.tar.gz"