void-packages/srcpkgs/python3-virtualenv/template

26 lines
1.0 KiB
Bash

# Template file for 'python3-virtualenv'
pkgname=python3-virtualenv
version=20.27.1
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=142c6be10212543b32c6c45d3d3893dff89112cc588b7d0879ae5a1ec03a47ba
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
post_install() {
mv $DESTDIR/usr/bin/virtualenv $DESTDIR/usr/bin/virtualenv3
vlicense LICENSE
}