# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=py3-zope-hookable _pkgname=zope.hookable pkgver=5.0.1 pkgrel=0 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="7bb2fce111ff4719f755891e0a544e1c2f6ac238ca8ca602ab3f6113d5690308f681c489801fd6cb8cc75812220ff7f937c76ef70c120ac9c67fb15bf2d3b3bc zope.hookable-5.0.1.tar.gz"