# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=py3-zope-proxy _pkgname=zope.proxy pkgver=4.3.3 pkgrel=0 pkgdesc="Generic transparent proxies via a C extension module" options="!check" # Requires unpackaged zope.security and upper repo zope.testrunner url="https://github.com/zopefoundation/$_pkgname" arch="all" license="ZPL-2.1" depends="py3-setuptools py3-zope-interface" makedepends="python3-dev" checkdepends="py3-zope-testrunner" source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-zope-proxy" # Backwards compatibility provides="py-zope-proxy=$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="49b1353e8b6382fe2400a7951a6790462ac5086f285f89631226ce7bb02f5153a39e90ebce480f762559550ab2fbf891816aa8bea7fdeddfbfc5221c71d91d45 zope.proxy-4.3.3.tar.gz"