void-packages/srcpkgs/python3-virtualenv/template

26 lines
1.0 KiB
Bash

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