George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-discogs-client


Commits:
11e93ab6 by loqs at 2026-02-01T17:10:44+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
=====================================
@@ -6,7 +6,10 @@ pkgbase = python-discogs-client
        arch = any
        license = BSD-2-Clause
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        depends = python-dateutil
        depends = python-requests


=====================================
PKGBUILD
=====================================
@@ -19,7 +19,10 @@ depends=(
 )
 makedepends=(
   git
+  python-build
+  python-installer
   python-setuptools
+  python-wheel
 )
 _tag=4320f830f85a66278046b35e65ebc3fa85c7556c
 source=(git+https://github.com/joalla/discogs_client.git#tag=${_tag})
@@ -32,12 +35,12 @@ pkgver() {
 
 build() {
   cd discogs_client
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd discogs_client
-  python setup.py install --root=$pkgdir --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm 644 LICENSE -t 
"${pkgdir}"/usr/share/licenses/python-discogs-client
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-discogs-client/-/commit/11e93ab639bdc3c3095e2c166287122b4f75e4e6

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


Reply via email to