mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
python3-virtualenv: update to 20.23.1.
This commit is contained in:
parent
a5e55a9af4
commit
f055eba4d9
1 changed files with 4 additions and 9 deletions
|
@ -1,8 +1,10 @@
|
|||
# Template file for 'python3-virtualenv'
|
||||
pkgname=python3-virtualenv
|
||||
version=20.21.0
|
||||
version=20.23.1
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
make_check_args="--ignore tests/unit/seed/wheels/test_periodic_update.py
|
||||
--deselect tests/unit/seed/wheels/test_acquire.py::test_get_wheel_download_cached"
|
||||
hostmakedepends="hatchling hatch-vcs"
|
||||
depends="python3-platformdirs python3-distlib python3-filelock"
|
||||
checkdepends="${depends} python3-pytest-mock python3-flaky python3-devel
|
||||
|
@ -13,16 +15,9 @@ 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=f50e3e60f990a0757c9b68333c9fdaa72d7188caa417f96af9e52407831a3b68
|
||||
checksum=8ff19a38c1021c742148edc4f81cb43d7f8c6816d2ede2ab72af5b84c749ade1
|
||||
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
|
||||
|
||||
do_check() {
|
||||
local testdir="tmp/$(date +%s)"
|
||||
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"
|
||||
PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" pytest3 -k "not(${_skip})"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mv $DESTDIR/usr/bin/virtualenv $DESTDIR/usr/bin/virtualenv3
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue