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


Commits:
810f279e by loqs at 2024-03-11T02:49:27+00:00
Change to a PEP 517 based workflow

- - - - -
4cfabfee by loqs at 2024-03-11T02:51:24+00:00
Change to SPDX license identifier

https://github.com/jsonpickle/jsonpickle/blob/7ceb2e7b61a24cb6ec0fb48a34943e802de019f8/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -7,11 +7,11 @@ pkgrel=1
 arch=('any')
 pkgdesc="Python library for serializing any arbitrary object graph into JSON"
 url="https://jsonpickle.github.io/";
-license=('BSD')
+license=('BSD-3-Clause')
 depends=('python')
 optdepends=("python-numpy: for serializing sklearn models, numpy arrays, and 
other numpy-based data"
             "python-gmpy2: for serializing ecdsa module's keys")
-makedepends=('git' 'python-setuptools-scm')
+makedepends=('git' 'python-setuptools-scm' 'python-setuptools' 'python-build' 
'python-installer' 'python-wheel')
 checkdepends=('python-numpy' 'python-feedparser' 'python-simplejson' 
'python-gmpy2'
               'python-pymongo' 'python-ujson' 'python-pandas' 'python-pytest')
 source=("git+https://github.com/jsonpickle/jsonpickle.git#commit=$_commit";)
@@ -25,7 +25,7 @@ prepare() {
 
 build() {
   cd jsonpickle
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -35,6 +35,6 @@ check() {
 
 package() {
   cd jsonpickle
-  python setup.py install --root="$pkgdir" --optimize=1
+  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-jsonpickle/-/compare/a63f76c757c8805c075d3c950f60b88f74edbf07...4cfabfee0c6ac7f970f398aeb8ba973da77283ec

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonpickle/-/compare/a63f76c757c8805c075d3c950f60b88f74edbf07...4cfabfee0c6ac7f970f398aeb8ba973da77283ec
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to