# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-zope-proxy
_pkgname=zope.proxy
pkgver=4.3.2
pkgrel=0
pkgdesc="Zope module for class and function proxies"
url="https://github.com/zopefoundation/zope.proxy"
arch="all"
options="!check"  # needs zope.testrunner, zope.security
license="ZPL-2.1"
depends="python3 py3-zope-interface"
makedepends="python3-dev"
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4a42a4989775f01f1b663d71058aae9852690d713269b5d58c6e10784ed2ca6ca056be5261bb009f230e198818b92d4e1014961f1144dcfacb47202064a8a666  zope.proxy-4.3.2.tar.gz"