George Hu pushed to branch main at Arch Linux / Packaging / Packages / 
feeluown-qqmusic


Commits:
78abc7f6 by George Hu at 2026-01-19T12:09:06+08:00
Change installation method from manual setup.py invocation to PEP 517

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -8,6 +8,8 @@ pkgbase = feeluown-qqmusic
        license = GPL3
        checkdepends = python-pytest
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
        depends = feeluown
        depends = python-marshmallow


=====================================
PKGBUILD
=====================================
@@ -9,7 +9,7 @@ arch=('any')
 url="https://github.com/feeluown/feeluown-qqmusic";
 license=('GPL3')
 depends=('feeluown' 'python-marshmallow' 'python-requests')
-makedepends=('git' 'python-setuptools')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools')
 checkdepends=('python-pytest')
 groups=('feeluown-full')
 source=("git+https://github.com/feeluown/feeluown-qqmusic.git#tag=v$pkgver";)
@@ -17,7 +17,7 @@ 
sha512sums=('9000e009dd30097176c897e41792c712550c4a4204ba2304f3e727ad3edeb18ce94
 
 build() {
   cd feeluown-qqmusic
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -27,5 +27,5 @@ check() {
 
 package() {
   cd feeluown-qqmusic
-  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-qqmusic/-/commit/78abc7f6f9cd1a8bf9bddd0c061b58236deaf99f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-qqmusic/-/commit/78abc7f6f9cd1a8bf9bddd0c061b58236deaf99f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to