diff --git a/srcpkgs/python3-jsonpatch/template b/srcpkgs/python3-jsonpatch/template new file mode 100644 index 00000000000..4b8a4cbb4d3 --- /dev/null +++ b/srcpkgs/python3-jsonpatch/template @@ -0,0 +1,22 @@ +# Template file for 'python3-jsonpatch' +pkgname=python3-jsonpatch +version=1.33 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-pypandoc" +depends="python3-jsonpointer" +checkdepends="$depends" +short_desc="Apply JSON Patches according to RFC 6902" +maintainer="Arjan Mossel " +license="BSD-3-Clause" +homepage="https://github.com/stefankoegl/python-json-patch" +distfiles="https://github.com/stefankoegl/python-json-patch/archive/v${version}.tar.gz" +checksum=c0163a2703dd8fa6be9c3018bcff6723bdfb240c8d56fb62d0673043cf647cda + +do_check() { + python -m unittest +} + +post_install() { + vlicense LICENSE +}