Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-jsonpatch
Commits:
af1ba749 by Felix Yan at 2026-03-05T01:04:05+08:00
upgpkg: 1.33-6
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = python-jsonpatch
pkgdesc = An implementation of the JSON Patch format
pkgver = 1.33
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/stefankoegl/python-json-patch
arch = any
license = BSD-3-Clause
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-pypandoc
makedepends = python-setuptools
makedepends = python-wheel
depends = python-jsonpointer
- source =
python-jsonpatch-1.33.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v1.33.tar.gz
- sha512sums =
0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2
+ source =
git+https://github.com/stefankoegl/python-json-patch.git#tag=v1.33
+ sha512sums =
c565ef75eb83e2bf6d30c56d4e4a4faee6c21756684468f010c139a8c67d90f1b072565965cca96acabb8fdfe654e8e3ae7477cbe88bde14e87a568dc170a85e
pkgname = python-jsonpatch
=====================================
PKGBUILD
=====================================
@@ -4,28 +4,28 @@
pkgname=python-jsonpatch
pkgver=1.33
-pkgrel=5
+pkgrel=6
pkgdesc="An implementation of the JSON Patch format"
arch=("any")
url="https://github.com/stefankoegl/python-json-patch"
license=("BSD-3-Clause")
depends=("python-jsonpointer")
-makedepends=("python-build" "python-installer" "python-pypandoc"
"python-setuptools" "python-wheel")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz")
-sha512sums=('0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2')
+makedepends=("git" "python-build" "python-installer" "python-pypandoc"
"python-setuptools" "python-wheel")
+source=("git+https://github.com/stefankoegl/python-json-patch.git#tag=v$pkgver")
+sha512sums=('c565ef75eb83e2bf6d30c56d4e4a4faee6c21756684468f010c139a8c67d90f1b072565965cca96acabb8fdfe654e8e3ae7477cbe88bde14e87a568dc170a85e')
build() {
- cd python-json-patch-$pkgver
+ cd python-json-patch
python -m build --wheel --no-isolation
}
check() {
- cd python-json-patch-$pkgver
+ cd python-json-patch
PYTHONPATH=. python -m unittest discover -vs .
}
package() {
- cd python-json-patch-$pkgver
+ cd python-json-patch
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonpatch/-/commit/af1ba749623d1fa628daaecf08ed1867df6099bc
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonpatch/-/commit/af1ba749623d1fa628daaecf08ed1867df6099bc
You're receiving this email because of your account on gitlab.archlinux.org.