From 1df46c012911b70b88ee0ef9e118f857b0a9f974 Mon Sep 17 00:00:00 2001 From: zlg Date: Wed, 2 Jan 2019 19:39:22 -0800 Subject: user/py3-zope-hookable: new package --- user/py3-zope-hookable/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 user/py3-zope-hookable/APKBUILD (limited to 'user/py3-zope-hookable/APKBUILD') 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 +# Maintainer: zlg +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" -- cgit v1.2.3-70-g09d2