diff options
Diffstat (limited to 'user/py3-zope-event/APKBUILD')
-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..d03bc400e --- /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.4 +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-2.1" +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="653273d021a43dca6d77900a3e2928f1621fd9c47a536ddd186e00b601670a4ac72042a1eadf18cf9912609025b491cee41508e8eb53bf2dc2ada2c5d3d5bb70 zope.event-4.4.tar.gz" |