extra/python-jsonpatch to 1.33-1

This commit is contained in:
David Beauchamp 2023-06-19 11:09:11 -04:00
parent 97dc689fa1
commit edcc71c026

View file

@ -6,8 +6,8 @@
# - drop python-pypandoc makedepends
pkgname=python-jsonpatch
pkgver=1.32
pkgrel=4
pkgver=1.33
pkgrel=1
pkgdesc="An implementation of the JSON Patch format"
arch=("any")
url="https://github.com/stefankoegl/python-json-patch"
@ -16,7 +16,7 @@ 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=('4e2978555dd506e09553014d426c4e3a6c6d5c865428f11450952704007c8a0b2060b945cf1fa33a128151427e1c66919891466e095e96fff4316304f0b3ad1d')
sha512sums=('0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2')
build() {
cd python-json-patch-$pkgver
@ -28,9 +28,9 @@ check() {
coverage run --source=jsonpatch tests.py
}
package_python-jsonpatch() {
package() {
cd python-json-patch-$pkgver
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
python setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}