From 82f1117b2b827473591f77a13c8ae09e8c8bcaa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 25 Sep 2020 23:27:50 +0700 Subject: [PATCH] python-future: drop package --- srcpkgs/python-future/template | 35 --------------------------------- srcpkgs/python3-future | 1 - srcpkgs/python3-future/template | 20 +++++++++++++++++++ 3 files changed, 20 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/python-future/template delete mode 120000 srcpkgs/python3-future create mode 100644 srcpkgs/python3-future/template diff --git a/srcpkgs/python-future/template b/srcpkgs/python-future/template deleted file mode 100644 index e0d5ac47baa..00000000000 --- a/srcpkgs/python-future/template +++ /dev/null @@ -1,35 +0,0 @@ -# Template file for 'python-future' -pkgname=python-future -version=0.18.2 -revision=2 -wrksrc="future-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="Clean single-source support for Python 3 and 2 (Python2)" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://python-future.org/" -distfiles="${PYPI_SITE}/f/future/future-${version}.tar.gz" -checksum=b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d - -alternatives=" - future:futurize:/usr/bin/futurize2 - future:pasteurize:/usr/bin/pasteurize2" - -post_install() { - vlicense LICENSE.txt -} - -python3-future_package() { - alternatives=" - future:futurize:/usr/bin/futurize3 - future:pasteurize:/usr/bin/pasteurize3" - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE.txt - } -} diff --git a/srcpkgs/python3-future b/srcpkgs/python3-future deleted file mode 120000 index 79c49fec941..00000000000 --- a/srcpkgs/python3-future +++ /dev/null @@ -1 +0,0 @@ -python-future \ No newline at end of file diff --git a/srcpkgs/python3-future/template b/srcpkgs/python3-future/template new file mode 100644 index 00000000000..b51a9e5773a --- /dev/null +++ b/srcpkgs/python3-future/template @@ -0,0 +1,20 @@ +# Template file for 'python3-future' +pkgname=python3-future +version=0.18.2 +revision=3 +wrksrc="future-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Clean single-source support for Python 3 and 2 (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://python-future.org/" +distfiles="${PYPI_SITE}/f/future/future-${version}.tar.gz" +checksum=b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d + +conflicts="python-future>=0" + +post_install() { + vlicense LICENSE.txt +}