# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=py3-zope-hookable _pkgname=zope.hookable pkgver=4.2.0 pkgrel=3 pkgdesc="Represents the core of the Zope hookable Architecture" url="https://github.com/zopefoundation/$_pkgname" arch="all" license="ZPL-2.1" depends="py3-setuptools" makedepends="python3-dev" # checkdepends="py3-zope-testing" # Is in upper repo 'testing' source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-zope-hookable" # Backwards compatibility provides="py-zope-hookable=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="aeeafff7e5c7cbe3d5944864278896f926086514e75be1d5956e32fc0a3769ac11b008c3855a0816084c7deb64f14c65db49852dac2beaf06420a304af6ebb69 zope.hookable-4.2.0.tar.gz"