summaryrefslogtreecommitdiff
path: root/user/py3-zope-hookable/APKBUILD
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2019-01-02 19:39:22 -0800
committerzlg <zlg@zlg.space>2019-01-02 19:39:22 -0800
commit1df46c012911b70b88ee0ef9e118f857b0a9f974 (patch)
treed3933dbd7712e5a2cf18d682fa7aa6add4b632bb /user/py3-zope-hookable/APKBUILD
parent6a3a2e4b050a2716733a9aadbfbc664f0512441c (diff)
downloadpackages-1df46c012911b70b88ee0ef9e118f857b0a9f974.tar.gz
packages-1df46c012911b70b88ee0ef9e118f857b0a9f974.tar.bz2
packages-1df46c012911b70b88ee0ef9e118f857b0a9f974.tar.xz
packages-1df46c012911b70b88ee0ef9e118f857b0a9f974.zip
user/py3-zope-hookable: new package
Diffstat (limited to 'user/py3-zope-hookable/APKBUILD')
-rw-r--r--user/py3-zope-hookable/APKBUILD28
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"