void-packages/srcpkgs/python3-virtualenv/template

22 lines
751 B
Bash

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