summaryrefslogtreecommitdiff
path: root/user/py3-zope-hookable/APKBUILD
blob: dcda3dde37667a598c1fc01a3175e10b0a874a25 (plain) (blame)
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
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-zope-hookable
_pkgname=zope.hookable
pkgver=4.2.0
pkgrel=1
pkgdesc="A library that provides an interface for hookable functions"
url="https://github.com/zopefoundation/zope.hookable"
arch="all"
# Certified net clean
license="ZPL-2.1"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="aeeafff7e5c7cbe3d5944864278896f926086514e75be1d5956e32fc0a3769ac11b008c3855a0816084c7deb64f14c65db49852dac2beaf06420a304af6ebb69  zope.hookable-4.2.0.tar.gz"