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


Commits:
a1736278 by loqs at 2026-02-11T21:32:56+00:00
SPDX license identifier

https://github.com/wbolster/jsonlines/blob/4.0.0/LICENSE.rst

- - - - -
e80d7b75 by loqs at 2026-02-11T21:34:10+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-jsonlines
        pkgrel = 5
        url = https://github.com/wbolster/jsonlines
        arch = any
-       license = BSD
+       license = BSD-3-Clause
        checkdepends = python-pytest
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python-attrs
        source = 
https://github.com/wbolster/jsonlines/archive/4.0.0/python-jsonlines-4.0.0.tar.gz
        sha512sums = 
d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275


=====================================
PKGBUILD
=====================================
@@ -5,17 +5,17 @@ pkgver=4.0.0
 pkgrel=5
 pkgdesc="Library with helpers for the jsonlines file format"
 url="https://github.com/wbolster/jsonlines";
-license=('BSD')
+license=('BSD-3-Clause')
 arch=('any')
 depends=('python-attrs')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest')
 
source=("https://github.com/wbolster/jsonlines/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
 
sha512sums=('d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275')
 
 build() {
   cd jsonlines-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -25,6 +25,6 @@ check() {
 
 package() {
   cd jsonlines-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonlines/-/compare/0de952b4e9e477d95bc45b7ea40c5c8baf35e187...e80d7b75f180b7df8dd3afc9bbd49ad9f9c7573e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonlines/-/compare/0de952b4e9e477d95bc45b7ea40c5c8baf35e187...e80d7b75f180b7df8dd3afc9bbd49ad9f9c7573e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to