void-packages/srcpkgs/python3-deprecation/template
2020-04-20 15:54:25 +02:00

20 lines
663 B
Bash

# 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'
}