26 lines
809 B
Bash
26 lines
809 B
Bash
# Template file for 'python3-virtualenv'
|
|
pkgname=python3-virtualenv
|
|
version=20.2.0
|
|
revision=1
|
|
wrksrc="virtualenv-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
depends="python3-setuptools python3-appdirs python3-distlib python3-filelock python3-six"
|
|
checkdepends="tox python3-devel $depends"
|
|
short_desc="Virtual Python environment builder"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://virtualenv.pypa.io/"
|
|
distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
|
|
checksum=fd4147c5ba3f694e2e4fc3c767407dc2226899623bb9b49c2f15637c2ee335b3
|
|
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
|
|
|
|
do_check() {
|
|
tox -e py${py3_ver/./}
|
|
}
|
|
|
|
post_install() {
|
|
mv $DESTDIR/usr/bin/virtualenv $DESTDIR/usr/bin/virtualenv3
|
|
vlicense LICENSE
|
|
}
|