diff options
-rw-r--r-- | user/py3-zope-event/APKBUILD | 33 |
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" |