diff --git a/srcpkgs/python-jmespath/template b/srcpkgs/python-jmespath/template deleted file mode 100644 index 6f1dfcecf0f..00000000000 --- a/srcpkgs/python-jmespath/template +++ /dev/null @@ -1,32 +0,0 @@ -# Template file for 'python-jmespath' -pkgname=python-jmespath -version=0.10.0 -revision=1 -archs=noarch -wrksrc="jmespath.py-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="JSON Query language for Python2" -maintainer="yopito " -license="MIT" -homepage="http://jmespath.org" -distfiles="https://github.com/jmespath/jmespath.py/archive/${version}.tar.gz" -checksum=999b0ef13b798cf04de5451a51201d63a6feaf07c3fdcfbab4e5bca2b4ac653e -alternatives="jmespath:jp.py:/usr/bin/jp.py2" - -post_install() { - vlicense LICENSE.txt -} - -python3-jmespath_package() { - archs=noarch - depends="python3" - short_desc="${short_desc/Python2/Python3}" - alternatives="jmespath:jp.py:/usr/bin/jp.py3" - pkg_install() { - vlicense LICENSE.txt - vmove usr/lib/python3* - vmove usr/bin/*3 - } -} diff --git a/srcpkgs/python3-jmespath b/srcpkgs/python3-jmespath deleted file mode 120000 index a0dad3f3662..00000000000 --- a/srcpkgs/python3-jmespath +++ /dev/null @@ -1 +0,0 @@ -python-jmespath \ No newline at end of file diff --git a/srcpkgs/python3-jmespath/template b/srcpkgs/python3-jmespath/template new file mode 100644 index 00000000000..0bcd20e6b28 --- /dev/null +++ b/srcpkgs/python3-jmespath/template @@ -0,0 +1,19 @@ +# Template file for 'python3-jmespath' +pkgname=python3-jmespath +version=0.10.0 +revision=2 +wrksrc="jmespath.py-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="JSON Query language for Python3" +maintainer="yopito " +license="MIT" +homepage="http://jmespath.org" +distfiles="https://github.com/jmespath/jmespath.py/archive/${version}.tar.gz" +checksum=999b0ef13b798cf04de5451a51201d63a6feaf07c3fdcfbab4e5bca2b4ac653e +conflicts="python-jmespath>=0" + +post_install() { + vlicense LICENSE.txt +}