summaryrefslogtreecommitdiffstats
path: root/testing/py-zope-interface/APKBUILD
blob: 2f9ecacc1dc7154a8f125be723257fb337044c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-zope-interface
pkgver=3.6.1
pkgrel=0
pkgdesc="Separate distribution of the zope.interface package used in Zope 3."
url="http://www.zope.org/Products/ZopeInterface/"
license="ZPL"
depends="python"
makedepends="python-dev"
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
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir"
	rm "$pkgdir"/usr/lib/python2.6/site-packages/zope/interface/README*.txt
}
md5sums="7a895181b8d10be4a7e9a3afa13cd3be  zope.interface-3.6.1.tar.gz"