python-jmespath: drop package
This commit is contained in:
parent
ecb1ab62b2
commit
6f21f3ec6a
3 changed files with 19 additions and 33 deletions
|
@ -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 <pierre.bourgin@free.fr>"
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-jmespath
|
|
19
srcpkgs/python3-jmespath/template
Normal file
19
srcpkgs/python3-jmespath/template
Normal file
|
@ -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 <pierre.bourgin@free.fr>"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue