void-packages/srcpkgs/python3-deprecation/template
2021-10-09 08:00:43 -04:00

21 lines
682 B
Bash

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