From 221a9ed6e95f2197d6c672fd1ba769d2902e47a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:39:43 +0700 Subject: [PATCH] python-envdir: drop package --- srcpkgs/python-envdir/template | 38 --------------------------------- srcpkgs/python3-envdir | 1 - srcpkgs/python3-envdir/template | 19 +++++++++++++++++ 3 files changed, 19 insertions(+), 39 deletions(-) delete mode 100644 srcpkgs/python-envdir/template delete mode 120000 srcpkgs/python3-envdir create mode 100644 srcpkgs/python3-envdir/template diff --git a/srcpkgs/python-envdir/template b/srcpkgs/python-envdir/template deleted file mode 100644 index b8cccad60ac..00000000000 --- a/srcpkgs/python-envdir/template +++ /dev/null @@ -1,38 +0,0 @@ -# Template file for 'python-envdir' -pkgname=python-envdir -version=1.0.1 -revision=3 -archs=noarch -wrksrc="${pkgname/python-//}-${version}" -build_style=python-module -pycompile_module="envdir" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="Python2 port of daemontools' envdir" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/jezdez/envdir" -distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz" -checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95 -alternatives=" - envdir:envdir:/usr/bin/envdir2 - envdir:envshell:/usr/bin/envshell2" - -post_install() { - vlicense LICENSE -} - -python3-envdir_package() { - alternatives=" - envdir:envdir:/usr/bin/envdir3 - envdir:envshell:/usr/bin/envshell3" - archs=noarch - pycompile_module="envdir" - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-envdir b/srcpkgs/python3-envdir deleted file mode 120000 index c07d3a24f31..00000000000 --- a/srcpkgs/python3-envdir +++ /dev/null @@ -1 +0,0 @@ -python-envdir \ No newline at end of file diff --git a/srcpkgs/python3-envdir/template b/srcpkgs/python3-envdir/template new file mode 100644 index 00000000000..65975f4a61c --- /dev/null +++ b/srcpkgs/python3-envdir/template @@ -0,0 +1,19 @@ +# Template file for 'python3-envdir' +pkgname=python3-envdir +version=1.0.1 +revision=4 +wrksrc="envdir-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Python3 port of daemontools' envdir" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/jezdez/envdir" +distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz" +checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95 +conflicts="python-envdir>=0" + +post_install() { + vlicense LICENSE +}