python3-deprecation: update to 2.1.0.
This commit is contained in:
parent
224c605d90
commit
8b6de88bfe
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'python3-deprecation'
|
# Template file for 'python3-deprecation'
|
||||||
pkgname=python3-deprecation
|
pkgname=python3-deprecation
|
||||||
version=2.0.7
|
version=2.1.0
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="deprecation-${version}"
|
wrksrc="deprecation-${version}"
|
||||||
@ -13,8 +13,9 @@ maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://deprecation.readthedocs.io/en/latest/"
|
homepage="https://deprecation.readthedocs.io/en/latest/"
|
||||||
distfiles="${PYPI_SITE}/d/deprecation/deprecation-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/d/deprecation/deprecation-${version}.tar.gz"
|
||||||
checksum=c0392f676a6146f0238db5744d73e786a43510d54033f80994ef2f4c9df192ed
|
checksum=72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff
|
||||||
|
|
||||||
pre_check() {
|
do_check() {
|
||||||
vsed -i tests/test_deprecation.py -e 's/unittest2/unittest/g'
|
vsed -i tests/test_deprecation.py -e 's/unittest2/unittest/g'
|
||||||
|
python3 -m unittest discover -v
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user