extra/python-jsonpatch to 1.33-3

This commit is contained in:
Kevin Mihelich 2024-11-08 18:02:48 +00:00
parent 8c446a514a
commit a23287ea69
3 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -0,0 +1,4 @@
[python-jsonpatch]
source = "git"
git = "https://github.com/stefankoegl/python-json-patch.git"
prefix = "v"

View file

@ -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() {