New package: python-jsonpointer-1.7
This commit is contained in:
parent
c138e0c293
commit
54ec1f595c
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'python-jsonpointer'
|
||||
pkgname=python-jsonpointer
|
||||
version=1.7
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="jsonpointer-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
depends="python"
|
||||
pycompile_module="jsonpointer.py"
|
||||
short_desc="Resolve JSON Pointers according to RFC 6901 (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/stefankoegl/python-json-pointer"
|
||||
license="BSD"
|
||||
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
|
||||
checksum=46b2016b5e4f2b5cd2edf07c60ca8fe7dd91204ca848f98964be61b3c4760f5e
|
||||
|
||||
pre_install() {
|
||||
mv build-3.4/scripts-3.4/jsonpointer{,3}
|
||||
}
|
||||
|
||||
python3.4-jsonpointer_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="jsonpointer.py"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/jsonpointer3
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-jsonpointer
|
Loading…
Reference in New Issue