diff options
Diffstat (limited to 'user/py3-zope-hookable')
-rw-r--r-- | user/py3-zope-hookable/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-zope-hookable/APKBUILD b/user/py3-zope-hookable/APKBUILD new file mode 100644 index 000000000..a2b4493be --- /dev/null +++ b/user/py3-zope-hookable/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: zlg <zlg+adelie@zlg.space> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-zope-hookable +_pkgname=zope.hookable +pkgver=4.2.0 +pkgrel=0 +pkgdesc="A library that provides an interface for hookable functions" +url="https://github.com/zopefoundation/zope.hookable" +arch="all" +options="!check" # needs zope.testing +license="ZPL-2.1" +depends="python3" +makedepends="python3-dev py3-tox coverage" +subpackages="" +source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="aeeafff7e5c7cbe3d5944864278896f926086514e75be1d5956e32fc0a3769ac11b008c3855a0816084c7deb64f14c65db49852dac2beaf06420a304af6ebb69 zope.hookable-4.2.0.tar.gz" |