From 9737876e741d2b3356f465a6a079ed86195d40dd 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 23:02:48 +0700 Subject: [PATCH] python-construct: drop package --- srcpkgs/python-construct/template | 31 ------------------------------ srcpkgs/python3-construct | 1 - srcpkgs/python3-construct/template | 18 +++++++++++++++++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-construct/template delete mode 120000 srcpkgs/python3-construct create mode 100644 srcpkgs/python3-construct/template diff --git a/srcpkgs/python-construct/template b/srcpkgs/python-construct/template deleted file mode 100644 index d6d0b8010e2..00000000000 --- a/srcpkgs/python-construct/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-construct' -pkgname=python-construct -version=2.9.45 -revision=3 -archs=noarch -wrksrc="construct-${version}" -build_style=python-module -pycompile_module="construct" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Powerful declarative symmetric parser/builder for binary data (Python2)" -maintainer="Enno Boland " -license="MIT" -homepage="https://construct.readthedocs.org/" -distfiles="${PYPI_SITE}/c/construct/construct-${version}.tar.gz" -checksum=2271a0efd0798679dea825ff47e22a4c550456a5db0ba8baa82f7eae0af0118c - -post_install() { - vlicense LICENSE -} - -python3-construct_package() { - archs=noarch - depends="python3" - pycompile_module="construct" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-construct b/srcpkgs/python3-construct deleted file mode 120000 index 1126a969071..00000000000 --- a/srcpkgs/python3-construct +++ /dev/null @@ -1 +0,0 @@ -python-construct \ No newline at end of file diff --git a/srcpkgs/python3-construct/template b/srcpkgs/python3-construct/template new file mode 100644 index 00000000000..3fa3d0018e9 --- /dev/null +++ b/srcpkgs/python3-construct/template @@ -0,0 +1,18 @@ +# Template file for 'python3-construct' +pkgname=python3-construct +version=2.9.45 +revision=4 +wrksrc="construct-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Powerful declarative symmetric parser/builder for binary data (Python3)" +maintainer="Enno Boland " +license="MIT" +homepage="https://construct.readthedocs.org/" +distfiles="${PYPI_SITE}/c/construct/construct-${version}.tar.gz" +checksum=2271a0efd0798679dea825ff47e22a4c550456a5db0ba8baa82f7eae0af0118c + +post_install() { + vlicense LICENSE +}