void-packages/srcpkgs/python3-deprecation/template
2020-10-10 10:21:20 -04:00

20 lines
682 B
Bash

# Template file for 'python3-deprecation'
pkgname=python3-deprecation
version=2.1.0
revision=2
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
}