# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-zope-deprecation
_pkgname=zope.deprecation
pkgver=4.4.0
pkgrel=0
pkgdesc="A function to mark deprecated parts of an API"
url="https://github.com/zopefoundation/zope.deprecation"
arch="noarch"
options="!check"  # needs zope.testrunner
license="ZPL-2.1"
depends="python3"
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="d8632a3442eee059383014bb3341b30897ad8f9206b71bc586c873c4cccf5f87296edaf18f1e1c93878f480e3b0e8e1c1936ac19ed327f4ab227402ebbc73e0e  zope.deprecation-4.4.0.tar.gz"