# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-deprecated
_pyname=Deprecated
pkgver=1.2.7
pkgrel=0
pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
url="https://github.com/tantale/deprecated"
arch="noarch"
license="MIT"
depends="python3 py3-wrapt"
checkdepends="py3-pytest"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c76d4197f96537bb456edc4d47b6ad795317c6535058586e659688a7cb8226c3926b9de3b64545cdf805cd90d6fa620885845629c0d83182b49de08c97f68bc3 Deprecated-1.2.7.tar.gz"