diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-zope-interface/APKBUILD (renamed from testing/zope-interface/APKBUILD) | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/zope-interface/APKBUILD b/testing/py-zope-interface/APKBUILD index 8db2a557da..a6c42395e0 100644 --- a/testing/zope-interface/APKBUILD +++ b/testing/py-zope-interface/APKBUILD @@ -1,5 +1,5 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=zope-interface +pkgname=py-zope-interface pkgver=3.5.1 pkgrel=0 pkgdesc="Separate distribution of the zope.interface package used in Zope 3." @@ -9,9 +9,14 @@ depends="python" makedepends="python-dev" source="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz" -build () -{ - cd "$srcdir"/zope.interface-$pkgver +_builddir="$srcdir"/zope.interface-$pkgver +build() { + cd "$_builddir" + python setup.py build +} + +package() { + cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" rm "$pkgdir"/usr/lib/python2.6/site-packages/zope/interface/README*.txt } |