From 3e66a79a59b96b0b4c945f58718b0bf45ec96d35 Mon Sep 17 00:00:00 2001 From: Pulux Date: Thu, 23 Apr 2020 18:02:24 +0200 Subject: [PATCH] python-serpent: update to 1.30.2. python2 support is dropped after 1.28 --- srcpkgs/python-serpent/template | 31 ------------------------------- srcpkgs/python3-serpent | 1 - srcpkgs/python3-serpent/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-serpent/template delete mode 120000 srcpkgs/python3-serpent create mode 100644 srcpkgs/python3-serpent/template diff --git a/srcpkgs/python-serpent/template b/srcpkgs/python-serpent/template deleted file mode 100644 index a40f0d44515..00000000000 --- a/srcpkgs/python-serpent/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-serpent' -pkgname=python-serpent -version=1.28 -revision=2 -archs=noarch -wrksrc="${pkgname#*-}-${version}" -build_style=python-module -pycompile_module="serpent.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Serialization library based on ast.literal_eval (Python2)" -maintainer="pulux " -license="MIT" -homepage="https://pypi.org/project/serpent/" -distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz" -checksum=f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab - -post_install() { - vlicense LICENSE -} - -python3-serpent_package() { - archs=noarch - depends="python3" - pycompile="serpent.py" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-serpent b/srcpkgs/python3-serpent deleted file mode 120000 index 4e38db55ecb..00000000000 --- a/srcpkgs/python3-serpent +++ /dev/null @@ -1 +0,0 @@ -python-serpent \ No newline at end of file diff --git a/srcpkgs/python3-serpent/template b/srcpkgs/python3-serpent/template new file mode 100644 index 00000000000..6cee2477bc8 --- /dev/null +++ b/srcpkgs/python3-serpent/template @@ -0,0 +1,19 @@ +# Template file for 'python3-serpent' +pkgname=python3-serpent +version=1.30.2 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Serialization library based on ast.literal_eval" +maintainer="pulux " +license="MIT" +homepage="https://pypi.org/project/serpent/" +distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz" +checksum=72753820246a7d8486e8b385353e3bbf769abfceec2e850fa527a288b084ff7a + +post_install() { + vlicense LICENSE +}