mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
python-virtualenv: drop package
This commit is contained in:
parent
5493a84cc3
commit
30ae2cce6e
3 changed files with 22 additions and 33 deletions
|
@ -1,32 +0,0 @@
|
||||||
# Template file for 'python-virtualenv'
|
|
||||||
pkgname=python-virtualenv
|
|
||||||
version=20.0.20
|
|
||||||
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=fd0e54dec8ac96c1c7c87daba85f0a59a7c37fe38748e154306ca21c73244637
|
|
||||||
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv2"
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-virtualenv_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3-setuptools python3-appdirs python3-distlib python3-filelock python3-six"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/virtualenv3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-virtualenv
|
|
22
srcpkgs/python3-virtualenv/template
Normal file
22
srcpkgs/python3-virtualenv/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'python3-virtualenv'
|
||||||
|
pkgname=python3-virtualenv
|
||||||
|
version=20.0.20
|
||||||
|
revision=2
|
||||||
|
archs=noarch
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue