void-packages/srcpkgs/python3-jsonschema/template

28 lines
747 B
Bash
Raw Normal View History

2020-09-20 17:11:32 +02:00
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
reverts="3.0.2_1"
version=2.6.0
revision=6
2020-09-20 17:11:32 +02:00
wrksrc="jsonschema-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/Julian/jsonschema"
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
conflicts="python-jsonschema>=0"
pre_build() {
vsed -i setup.py \
-e '/setup_requires/d' \
-e '/vcversioner/d' \
-e "/name=/a\
version=\"${version}\","
}
post_install() {
vlicense COPYING LICENSE
}