python3-virtualenv: update to 20.17.1.

Adopt.
This commit is contained in:
icp 2022-11-30 14:57:07 +05:30 committed by classabbyamp
parent ea87af77f6
commit 080eda6532
1 changed files with 7 additions and 6 deletions

View File

@ -1,24 +1,25 @@
# Template file for 'python3-virtualenv' # Template file for 'python3-virtualenv'
pkgname=python3-virtualenv pkgname=python3-virtualenv
version=20.16.3 version=20.17.1
revision=2 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools_scm" hostmakedepends="python3-setuptools_scm"
depends="python3-setuptools python3-platformdirs python3-distlib python3-filelock python3-six" depends="python3-platformdirs python3-distlib python3-filelock"
checkdepends="python3-pytest-mock python3-flaky python3-devel python3-pip $depends" checkdepends="python3-pytest-mock python3-flaky python3-devel python3-pip $depends"
short_desc="Virtual Python environment builder" short_desc="Virtual Python environment builder"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="icp <pangolin@vivaldi.net>"
license="MIT" license="MIT"
homepage="https://virtualenv.pypa.io/" homepage="https://virtualenv.pypa.io/"
changelog="https://virtualenv.pypa.io/en/latest/changelog.html" changelog="https://virtualenv.pypa.io/en/latest/changelog.html"
distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz" distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
checksum=d86ea0bb50e06252d79e6c241507cb904fcd66090c3271381372d6221a3970f9 checksum=f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3" alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
do_check() { do_check() {
# excluded tests depend on pytest-freezegun, not packaged in Void, or python2 # excluded tests depend on pytest-freezegun, not packaged in Void, or python2
vsed -e '/addopts/d' -i setup.cfg vsed -e '/addopts/d' -i setup.cfg
PYTHONPATH=src python3 -m pytest -k 'not (test_periodic_update or test_get_wheel_download_cached or test_py_pyc_missing)' _skip="test_periodic_update or test_get_wheel_download_cached or test_py_pyc_missing or test_py_info_setuptools"
PYTHONPATH=src python3 -m pytest -k "not ($_skip)"
} }
post_install() { post_install() {