mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
python3-virtualenv: update to 20.19.0.
This commit is contained in:
parent
46a64356bd
commit
0ab9ccfd86
1 changed files with 9 additions and 8 deletions
|
@ -1,25 +1,26 @@
|
||||||
# Template file for 'python3-virtualenv'
|
# Template file for 'python3-virtualenv'
|
||||||
pkgname=python3-virtualenv
|
pkgname=python3-virtualenv
|
||||||
version=20.17.1
|
version=20.19.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools_scm"
|
hostmakedepends="hatchling hatch-vcs"
|
||||||
depends="python3-platformdirs python3-distlib python3-filelock"
|
depends="python3-platformdirs python3-distlib python3-filelock"
|
||||||
checkdepends="python3-pytest-mock python3-flaky python3-devel python3-pip $depends"
|
checkdepends="${depends} python3-pytest-mock python3-flaky python3-devel
|
||||||
|
python3-pip python3-packaging"
|
||||||
short_desc="Virtual Python environment builder"
|
short_desc="Virtual Python environment builder"
|
||||||
maintainer="icp <pangolin@vivaldi.net>"
|
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=f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058
|
checksum=37a640ba82ed40b226599c522d411e4be5edb339a0c0de030c0dc7b646d61590
|
||||||
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
|
local testdir="tmp/$(date +%s)"
|
||||||
vsed -e '/addopts/d' -i setup.cfg
|
python3 -m installer --destdir ${testdir} dist/virtualenv-${version}-*-*-*.whl
|
||||||
_skip="test_periodic_update or test_get_wheel_download_cached or test_py_pyc_missing or test_py_info_setuptools"
|
_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)"
|
PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" pytest3 -k "not(${_skip})"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue