aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-zope-interface/APKBUILD
blob: db1d622db753bce5b175a36178cac1dfb1d01ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-zope-interface
_pkgname=zope.interface
pkgver=4.1.1
pkgrel=0
pkgdesc="Separate distribution of the zope.interface package used in Zope."
url="http://www.zope.org/Products/ZopeInterface/"
arch="all"
license="ZPLi 2.1"
depends=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$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
}

md5sums="edcd5f719c5eb2e18894c4d06e29b6c6  zope.interface-4.1.1.tar.gz"
sha256sums="91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da  zope.interface-4.1.1.tar.gz"
sha512sums="77d8c978522e95063bb5a1feb5b20af341bcf447d393ceb1ea229f0db02408f0e8981226621c04988936730b265cdba0bab88aaacd7fdf1006281c297e8e1ca1  zope.interface-4.1.1.tar.gz"