Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-jsonpatch


Commits:
26e62044 by loqs at 2026-02-11T21:41:02+00:00
SPDX license identifier

https://github.com/stefankoegl/python-json-patch/blob/v1.33/LICENSE

- - - - -
8b14bd4c by loqs at 2026-02-11T21:41:53+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -4,9 +4,12 @@ pkgbase = python-jsonpatch
        pkgrel = 5
        url = https://github.com/stefankoegl/python-json-patch
        arch = any
-       license = BSD
-       makedepends = python-setuptools
+       license = BSD-3-Clause
+       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


=====================================
PKGBUILD
=====================================
@@ -8,15 +8,15 @@ pkgrel=5
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch";
-license=("BSD")
+license=("BSD-3-Clause")
 depends=("python-jsonpointer")
-makedepends=("python-setuptools" "python-pypandoc")
+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')
 
 build() {
   cd python-json-patch-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -26,7 +26,7 @@ check() {
 
 package() {
   cd python-json-patch-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir"
+  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/-/compare/995cedc35fd04917bf31b5a32a53aa2f11d5f371...8b14bd4c8c0d65c95b190667073bb55cb7846165

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonpatch/-/compare/995cedc35fd04917bf31b5a32a53aa2f11d5f371...8b14bd4c8c0d65c95b190667073bb55cb7846165
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to