aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-zope-interface/APKBUILD
blob: cee143516b5cfd8c4c540de2cbdf9ee5ae3b92a4 (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.0.5
pkgrel=1
pkgdesc="Separate distribution of the zope.interface package used in Zope."
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/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"

_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="caf26025ae1b02da124a58340e423dfe  zope.interface-4.0.5.zip"
sha256sums="1a7c84716bbd9981915b64a81d8a3f076a5934a8c8df4224655469b3564940cc  zope.interface-4.0.5.zip"
sha512sums="1b5e3ff4796c97704e528601bbabc47ea9bc1e55e6f607c7951e50a26d2118617f2f9974d7314e6bcdac701a2d3f4c541cd563e83abbff720d2c62182686ea4d  zope.interface-4.0.5.zip"