mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-15 23:15:10 +02:00
32 lines
903 B
Bash
32 lines
903 B
Bash
# Template file for 'python-virtualenv'
|
|
pkgname=python-virtualenv
|
|
version=20.0.9
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="virtualenv-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-setuptools"
|
|
short_desc="Virtual Python2 environment builder"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://virtualenv.pypa.io/"
|
|
distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
|
|
checksum=5eba85dfa176fde0425b9b3042ed83f05a1b6309a616b8a3e2a9a94f4bfa27b7
|
|
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-virtualenv_package() {
|
|
archs=noarch
|
|
depends="python3-setuptools"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
|
|
pkg_install() {
|
|
vmove usr/bin/virtualenv3
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|