void-packages/srcpkgs/python3-virtualenv/template

26 lines
1.0 KiB
Bash

# Template file for 'python3-virtualenv'
pkgname=python3-virtualenv
version=20.26.3
revision=1
build_style=python3-pep517
make_check_args="--ignore tests/unit/seed/wheels/test_periodic_update.py
--ignore tests/unit/create/via_global_ref/test_build_c_ext.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-xdist python3-pytest-mock python3-flaky python3-devel
python3-pip python3-packaging"
short_desc="Virtual Python environment builder"
maintainer="icp <pangolin@vivaldi.net>"
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=4c43a2a236279d9ea36a0d76f98d84bd6ca94ac4e0f4a3b9d46d05e10fea542a
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
post_install() {
mv $DESTDIR/usr/bin/virtualenv $DESTDIR/usr/bin/virtualenv3
vlicense LICENSE
}