From d2a17ea794448f904f304e940ff5d11c123e8e07 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 22:15:44 +0700 Subject: [PATCH] python-jsonpointer: drop package --- srcpkgs/python-jsonpointer/template | 34 ---------------------------- srcpkgs/python3-jsonpointer | 1 - srcpkgs/python3-jsonpointer/template | 19 ++++++++++++++++ 3 files changed, 19 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-jsonpointer/template delete mode 120000 srcpkgs/python3-jsonpointer create mode 100644 srcpkgs/python3-jsonpointer/template diff --git a/srcpkgs/python-jsonpointer/template b/srcpkgs/python-jsonpointer/template deleted file mode 100644 index fd103d123aa..00000000000 --- a/srcpkgs/python-jsonpointer/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-jsonpointer' -pkgname=python-jsonpointer -version=2.0 -revision=2 -archs=noarch -wrksrc="jsonpointer-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -pycompile_module="jsonpointer.py" -short_desc="Resolve JSON Pointers according to RFC 6901 (Python2)" -maintainer="Alessio Sergi " -homepage="https://github.com/stefankoegl/python-json-pointer" -license="3-clause-BSD" -distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz" -checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362 -alternatives="jsonpointer:jsonpointer:/usr/bin/jsonpointer2" - -post_install() { - vlicense LICENSE.txt LICENSE -} - -python3-jsonpointer_package() { - archs=noarch - depends="python3" - pycompile_module="jsonpointer.py" - short_desc="${short_desc/Python2/Python3}" - alternatives="jsonpointer:jsonpointer:/usr/bin/jsonpointer3" - pkg_install() { - vmove usr/bin/jsonpointer3 - vmove usr/lib/python3* - vlicense LICENSE.txt LICENSE - } -} diff --git a/srcpkgs/python3-jsonpointer b/srcpkgs/python3-jsonpointer deleted file mode 120000 index af23236e7d6..00000000000 --- a/srcpkgs/python3-jsonpointer +++ /dev/null @@ -1 +0,0 @@ -python-jsonpointer \ No newline at end of file diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template new file mode 100644 index 00000000000..f8d27a50d6d --- /dev/null +++ b/srcpkgs/python3-jsonpointer/template @@ -0,0 +1,19 @@ +# Template file for 'python3-jsonpointer' +pkgname=python3-jsonpointer +version=2.0 +revision=3 +wrksrc="jsonpointer-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)" +maintainer="Orphaned " +license="BSD-3-Clause" +homepage="https://github.com/stefankoegl/python-json-pointer" +distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz" +checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362 +conflicts="python-jsonpointer>=0" + +post_install() { + vlicense LICENSE.txt LICENSE +}