From 6b01763859d7847956bb96eef869557ac6fbcae1 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Sun, 10 Nov 2024 17:58:22 +0100 Subject: [PATCH] New package: python3-jsonpatch-1.33 --- srcpkgs/python3-jsonpatch/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-jsonpatch/template 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 +}