From f28a8958d003153bbce433a94f65230295e4ecc5 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:00:43 +0200 Subject: [PATCH] python-pathlib2: remove package --- srcpkgs/python-pathlib2/template | 29 ----------------------------- srcpkgs/python3-pathlib2 | 1 - srcpkgs/python3-pathlib2/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/python-pathlib2/template delete mode 120000 srcpkgs/python3-pathlib2 create mode 100644 srcpkgs/python3-pathlib2/template diff --git a/srcpkgs/python-pathlib2/template b/srcpkgs/python-pathlib2/template deleted file mode 100644 index fc4b7a31fc5..00000000000 --- a/srcpkgs/python-pathlib2/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-pathlib2' -pkgname=python-pathlib2 -version=2.3.4 -revision=6 -wrksrc="pathlib2-${version}" -build_style=python-module -pycompile_module="pathlib2" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-six python-scandir" -short_desc="Object-oriented filesystem paths (Python2)" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://github.com/mcmtroffaes/pathlib2" -distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz" -checksum=446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8 - -python3-pathlib2_package() { - depends="python3-six python3-scandir" - pycompile_module="pathlib2" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.rst - } -} - -post_install() { - vlicense LICENSE.rst -} diff --git a/srcpkgs/python3-pathlib2 b/srcpkgs/python3-pathlib2 deleted file mode 120000 index bb0f70e054c..00000000000 --- a/srcpkgs/python3-pathlib2 +++ /dev/null @@ -1 +0,0 @@ -python-pathlib2 \ No newline at end of file diff --git a/srcpkgs/python3-pathlib2/template b/srcpkgs/python3-pathlib2/template new file mode 100644 index 00000000000..9f284c9cd9b --- /dev/null +++ b/srcpkgs/python3-pathlib2/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pathlib2' +pkgname=python3-pathlib2 +version=2.3.4 +revision=8 +wrksrc="pathlib2-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-six" +checkdepends="${depends}" +short_desc="Object-oriented filesystem paths (Python3)" +maintainer="Alessio Sergi " +license="MIT" +homepage="https://github.com/mcmtroffaes/pathlib2" +distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz" +checksum=446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8 + +post_install() { + vlicense LICENSE.rst +}