parent
238741f561
commit
11545efb61
1 changed files with 7 additions and 6 deletions
|
@ -1,23 +1,24 @@
|
||||||
# Template file for 'python-jsonschema'
|
# Template file for 'python-jsonschema'
|
||||||
pkgname=python-jsonschema
|
pkgname=python-jsonschema
|
||||||
version=3.0.2
|
reverts="3.0.2_1"
|
||||||
revision=1
|
version=2.6.0
|
||||||
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="jsonschema-${version}"
|
wrksrc="jsonschema-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="jsonschema"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-setuptools python-functools32"
|
depends="python-setuptools python-functools32"
|
||||||
|
pycompile_module="jsonschema"
|
||||||
short_desc="Implementation of JSON Schema for Python2"
|
short_desc="Implementation of JSON Schema for Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
license="MIT"
|
|
||||||
homepage="https://github.com/Julian/jsonschema"
|
homepage="https://github.com/Julian/jsonschema"
|
||||||
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
|
||||||
checksum=8d4a2b7b6c2237e0199c8ea1a6d3e05bf118e289ae2b9d7ba444182a2959560d
|
checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
|
||||||
alternatives="jsonschema:jsonschema:/usr/bin/jsonschema2"
|
alternatives="jsonschema:jsonschema:/usr/bin/jsonschema2"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i setup.py \
|
vsed -i setup.py \
|
||||||
-e '/setup_requires/d' \
|
-e '/setup_requires/d' \
|
||||||
-e '/vcversioner/d' \
|
-e '/vcversioner/d' \
|
||||||
-e "/name=/a\
|
-e "/name=/a\
|
||||||
|
|
Loading…
Reference in a new issue