summaryrefslogtreecommitdiff
path: root/user/py3-zope-hookable/APKBUILD
blob: 8ecb797d1778cecbc707d98a05900afd3088ee76 (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=5.1.0
pkgrel=0
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="cfcd9fc698fc165317ab1b89a1a82b1c1e08d4dbea6c4f8a2459736150bfb0d82eda4d6c448ac966f2853fe12ec714a782a5947f1c5bc3cd89a573889db564fb  zope.hookable-5.1.0.tar.gz"