void-packages/srcpkgs/python3-virtualenv/template

22 lines
748 B
Bash

# Template file for 'python3-virtualenv'
pkgname=python3-virtualenv
version=20.0.20
revision=3
wrksrc="virtualenv-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
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=fd0e54dec8ac96c1c7c87daba85f0a59a7c37fe38748e154306ca21c73244637
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
post_install() {
mv $DESTDIR/usr/bin/virtualenv $DESTDIR/usr/bin/virtualenv3
vlicense LICENSE
}