void-packages/srcpkgs/python3-virtualenv/template

25 lines
989 B
Bash

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