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


Commits:
f40fa8e4 by loqs at 2026-03-04T18:22:08+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
=====================================
@@ -18,7 +18,10 @@ pkgbase = python-deepdiff
        checkdepends = python-pydantic
        checkdepends = python-pandas
        checkdepends = python-polars
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        makedepends = git
        depends = python-orderly-set
        optdepends = python-click: for cli


=====================================
PKGBUILD
=====================================
@@ -13,7 +13,7 @@ optdepends=('python-click: for cli'
             'python-yaml: for YAML support'
             'python-clevercsv: for more robust CSV parsing'
             'python-orjson: for speed and memory optimized parsing')
-makedepends=('python-setuptools' 'git')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel' 'git')
 checkdepends=('python-pytest' 'python-pytest-benchmark' 'python-clevercsv' 
'python-click' 'python-dateutil'
               'python-jsonpickle' 'python-numpy' 'python-tomli-w' 
'python-yaml' 'python-orjson'
              'python-pydantic' 'python-pandas' 'python-polars')
@@ -22,7 +22,7 @@ 
sha512sums=('733ed89dc51469067d849fb9ef04ef50af27ec37a7add7120731aa259aa1de0e708
 
 build() {
   cd deepdiff
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -35,7 +35,7 @@ check() {
 
 package() {
   cd deepdiff
-  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-deepdiff/-/commit/f40fa8e4c897cf0c5114efe9935e7bb4f2e600be

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-deepdiff/-/commit/f40fa8e4c897cf0c5114efe9935e7bb4f2e600be
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to