New package: python3-deprecation-2.0.7

This commit is contained in:
bra1nwave 2020-04-18 11:00:16 +02:00 committed by Helmut Pozimski
parent 9d103e4ada
commit 9640e585cb

View file

@ -0,0 +1,20 @@
# Template file for 'python3-deprecation'
pkgname=python3-deprecation
version=2.0.7
revision=1
archs=noarch
wrksrc="deprecation-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-packaging"
checkdepends="${depends}"
short_desc="Library to handle automated deprecations"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="Apache-2.0"
homepage="https://deprecation.readthedocs.io/en/latest/"
distfiles="${PYPI_SITE}/d/deprecation/deprecation-${version}.tar.gz"
checksum=c0392f676a6146f0238db5744d73e786a43510d54033f80994ef2f4c9df192ed
pre_check() {
vsed -i tests/test_deprecation.py -e 's/unittest2/unittest/g'
}