From a23287ea695e8b486879f61c066701cfbb73b90e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 8 Nov 2024 18:02:48 +0000 Subject: [PATCH] extra/python-jsonpatch to 1.33-3 --- extra/python-jsonpatch/.SRCINFO | 3 +-- extra/python-jsonpatch/.nvchecker.toml | 4 ++++ extra/python-jsonpatch/PKGBUILD | 5 ++--- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 extra/python-jsonpatch/.nvchecker.toml diff --git a/extra/python-jsonpatch/.SRCINFO b/extra/python-jsonpatch/.SRCINFO index c73dc1b5e..cec6a2ddd 100644 --- a/extra/python-jsonpatch/.SRCINFO +++ b/extra/python-jsonpatch/.SRCINFO @@ -1,11 +1,10 @@ pkgbase = python-jsonpatch pkgdesc = An implementation of the JSON Patch format pkgver = 1.33 - pkgrel = 2 + pkgrel = 3 url = https://github.com/stefankoegl/python-json-patch arch = any license = BSD - checkdepends = python-coverage makedepends = python-setuptools makedepends = python-pypandoc depends = python-jsonpointer diff --git a/extra/python-jsonpatch/.nvchecker.toml b/extra/python-jsonpatch/.nvchecker.toml new file mode 100644 index 000000000..4918c96a1 --- /dev/null +++ b/extra/python-jsonpatch/.nvchecker.toml @@ -0,0 +1,4 @@ +[python-jsonpatch] +source = "git" +git = "https://github.com/stefankoegl/python-json-patch.git" +prefix = "v" diff --git a/extra/python-jsonpatch/PKGBUILD b/extra/python-jsonpatch/PKGBUILD index 966c02e9e..7c2324fc7 100644 --- a/extra/python-jsonpatch/PKGBUILD +++ b/extra/python-jsonpatch/PKGBUILD @@ -7,14 +7,13 @@ pkgname=python-jsonpatch pkgver=1.33 -pkgrel=2 +pkgrel=3 pkgdesc="An implementation of the JSON Patch format" arch=("any") url="https://github.com/stefankoegl/python-json-patch" license=("BSD") depends=("python-jsonpointer") makedepends=("python-setuptools") -checkdepends=('python-coverage') source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz") sha512sums=('0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2') @@ -25,7 +24,7 @@ build() { check() { cd python-json-patch-$pkgver - coverage run --source=jsonpatch tests.py + PYTHONPATH=. python -m unittest discover -vs . } package() {