void-packages/srcpkgs/python3-deprecation/template
2020-04-22 16:03:51 +02:00

21 lines
695 B
Bash

# Template file for 'python3-deprecation'
pkgname=python3-deprecation
version=2.1.0
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=72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff
do_check() {
vsed -i tests/test_deprecation.py -e 's/unittest2/unittest/g'
python3 -m unittest discover -v
}