summaryrefslogtreecommitdiff
path: root/user/py3-zope-event
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:08:25 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:27 -0800
commitb22f68efd7810a99f26cf81990f88ea8c8b62abc (patch)
tree9fb4ce8eff80a7a7887ed3afbd40ceefc5fc3029 /user/py3-zope-event
parentd1300e1fb2126dca497e4754eb22a6cd46667306 (diff)
downloadpackages-b22f68efd7810a99f26cf81990f88ea8c8b62abc.tar.gz
packages-b22f68efd7810a99f26cf81990f88ea8c8b62abc.tar.bz2
packages-b22f68efd7810a99f26cf81990f88ea8c8b62abc.tar.xz
packages-b22f68efd7810a99f26cf81990f88ea8c8b62abc.zip
user/py3-zope-event: new package
Diffstat (limited to 'user/py3-zope-event')
-rw-r--r--user/py3-zope-event/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-zope-event/APKBUILD b/user/py3-zope-event/APKBUILD
new file mode 100644
index 000000000..7e8591cea
--- /dev/null
+++ b/user/py3-zope-event/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-zope-event
+_pkgname=zope.event
+pkgver=4.3.0
+pkgrel=0
+pkgdesc="Event publishing / dispatch, used by Zope Component Architecture"
+url="https://github.com/zopefoundation/zope.event"
+arch="noarch"
+options="!check" # needs nose
+license="ZPL"
+depends="python3"
+makedepends="python3-dev"
+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
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py test
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="7c42074023f56395156ef7bb120b00972dca8dfa2c80dd0387cb6f58b22380e34f8a2bf7b2fe717941cbcf1997e1aaea9f500f124fceb1c664c90e6c55150ffa zope.event-4.3.0.tar.gz"