blob: 213000a3bde24b3108f94cc99e018d31ebd146fd (
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.2
pkgrel=0
pkgdesc="Separate distribution of the zope.interface package used in Zope."
url="http://www.zope.org/Products/ZopeInterface/"
arch="all"
license="ZPL 2.1"
depends=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.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="04298faeaa70b4f3b23fa2ae8987262c zope.interface-4.1.2.tar.gz"
sha256sums="441fefcac1fbac57c55239452557d3598571ab82395198b2565a29d45d1232f6 zope.interface-4.1.2.tar.gz"
sha512sums="b51f651ced7eb070db104e057a910b05a985999830551a6a7f83dcd2a565d637352b2dcf3b8517c682bed9365b31baf364f1863ff0e5b40df76668ea0b23a61e zope.interface-4.1.2.tar.gz"
|