python3-virtualenv-clone: update to 0.5.4

Drop Python 2 version.
This commit is contained in:
Đoàn Trần Công Danh 2020-08-13 09:11:25 +07:00
parent 5f6ddc8147
commit 5f02a78a9b
3 changed files with 25 additions and 35 deletions

View file

@ -1,34 +0,0 @@
# Template file for 'python-virtualenv-clone'
pkgname=python-virtualenv-clone
version=0.4.0
revision=2
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="clonevirtualenv.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Script to clone virtualenvs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/edwardgeorge/virtualenv-clone"
license="MIT"
distfiles="${PYPI_SITE}/v/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=06c5a8bc77f3ed0ad130a690e623e27e07b6599dbdbf83e089cc3a2c6b191da0
alternatives="virtualenv-clone:virtualenv-clone:/usr/bin/virtualenv-clone2"
post_install() {
vlicense LICENSE
}
python3-virtualenv-clone_package() {
archs=noarch
depends="python3-setuptools"
pycompile_module="clonevirtualenv.py"
short_desc="${short_desc/Python2/Python3}"
alternatives="virtualenv-clone:virtualenv-clone:/usr/bin/virtualenv-clone3"
pkg_install() {
vmove usr/bin/virtualenv-clone3
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-virtualenv-clone

View file

@ -0,0 +1,25 @@
# Template file for 'python3-virtualenv-clone'
pkgname=python3-virtualenv-clone
version=0.5.4
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Script to clone Python virtualenvs"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://github.com/edwardgeorge/virtualenv-clone"
license="MIT"
distfiles="${PYPI_SITE}/v/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=665e48dd54c84b98b71a657acb49104c54e7652bce9c1c4f6c6976ed4c827a29
alternatives="virtualenv-clone:virtualenv-clone:/usr/bin/virtualenv-clone3"
do_check() {
:
}
post_install() {
mv $DESTDIR/usr/bin/virtualenv-clone $DESTDIR/usr/bin/virtualenv-clone3
vlicense LICENSE
}