python3-virtualenv: update to 20.2.2.

This commit is contained in:
Andrew J. Hesford 2020-12-10 09:35:24 -05:00
parent 91c20c9ce7
commit 3fd671f5a9
1 changed files with 6 additions and 4 deletions

View File

@ -1,23 +1,25 @@
# Template file for 'python3-virtualenv'
pkgname=python3-virtualenv
version=20.2.1
version=20.2.2
revision=1
wrksrc="virtualenv-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3-setuptools python3-appdirs python3-distlib python3-filelock python3-six"
checkdepends="tox python3-devel $depends"
checkdepends="python3-pytest-mock python3-flaky python3-devel $depends"
short_desc="Virtual Python environment builder"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://virtualenv.pypa.io/"
changelog="https://virtualenv.pypa.io/en/latest/changelog.html"
distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
checksum=e0aac7525e880a429764cefd3aaaff54afb5d9f25c82627563603f5d7de5a6e5
checksum=b7a8ec323ee02fb2312f098b6b4c9de99559b462775bc8fe3627a73706603c1b
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
do_check() {
tox -e py${py3_ver/./}
# test_periodic_update* depends on pytest-freezegun, not packaged in Void
vsed -e '/addopts/d' -i setup.cfg
PYTHONPATH=src python3 -m pytest -k 'not test_periodic_update'
}
post_install() {