From 5f02a78a9b6d4b2ea41958f417a3c1409b6b7edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 13 Aug 2020 09:11:25 +0700 Subject: [PATCH] python3-virtualenv-clone: update to 0.5.4 Drop Python 2 version. --- srcpkgs/python-virtualenv-clone/template | 34 ----------------------- srcpkgs/python3-virtualenv-clone | 1 - srcpkgs/python3-virtualenv-clone/template | 25 +++++++++++++++++ 3 files changed, 25 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-virtualenv-clone/template delete mode 120000 srcpkgs/python3-virtualenv-clone create mode 100644 srcpkgs/python3-virtualenv-clone/template diff --git a/srcpkgs/python-virtualenv-clone/template b/srcpkgs/python-virtualenv-clone/template deleted file mode 100644 index 273b9ddf6d..0000000000 --- a/srcpkgs/python-virtualenv-clone/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-virtualenv-clone b/srcpkgs/python3-virtualenv-clone deleted file mode 120000 index 284592e238..0000000000 --- a/srcpkgs/python3-virtualenv-clone +++ /dev/null @@ -1 +0,0 @@ -python-virtualenv-clone \ No newline at end of file diff --git a/srcpkgs/python3-virtualenv-clone/template b/srcpkgs/python3-virtualenv-clone/template new file mode 100644 index 0000000000..508e855b9c --- /dev/null +++ b/srcpkgs/python3-virtualenv-clone/template @@ -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 " +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 +}