From 3926ccff899d83f0ba77e3e0f617d707acc5b231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 28 Sep 2020 23:41:22 +0700 Subject: [PATCH] python-simplejson: drop package --- srcpkgs/python3-simplejson | 1 - .../template | 24 ++++++------------- 2 files changed, 7 insertions(+), 18 deletions(-) delete mode 120000 srcpkgs/python3-simplejson rename srcpkgs/{python-simplejson => python3-simplejson}/template (58%) diff --git a/srcpkgs/python3-simplejson b/srcpkgs/python3-simplejson deleted file mode 120000 index 50018d41468..00000000000 --- a/srcpkgs/python3-simplejson +++ /dev/null @@ -1 +0,0 @@ -python-simplejson \ No newline at end of file diff --git a/srcpkgs/python-simplejson/template b/srcpkgs/python3-simplejson/template similarity index 58% rename from srcpkgs/python-simplejson/template rename to srcpkgs/python3-simplejson/template index d9975ff9581..93ebf93980f 100644 --- a/srcpkgs/python-simplejson/template +++ b/srcpkgs/python3-simplejson/template @@ -1,13 +1,12 @@ -# Template file for 'python-simplejson' -pkgname=python-simplejson +# Template file for 'python3-simplejson' +pkgname=python3-simplejson version=3.17.0 -revision=2 +revision=3 wrksrc="simplejson-${version}" -build_style=python-module -pycompile_module="simplejson" -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -short_desc="Simple, fast, extensible JSON encoder/decoder for Python2" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +short_desc="Simple, fast, extensible JSON encoder/decoder for Python3" maintainer="Orphaned " license="MIT, AFL-2.1" homepage="https://github.com/simplejson/simplejson" @@ -22,12 +21,3 @@ do_check() { post_install() { vlicense LICENSE.txt LICENSE } - -python3-simplejson_package() { - pycompile_module="simplejson" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.txt LICENSE - } -}