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


Commits:
f69aa4ff by George Hu at 2026-01-28T19:48:34+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-netease
        license = GPL3
        checkdepends = python-pytest
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
        depends = feeluown
        depends = python-beautifulsoup4


=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@ url="https://github.com/feeluown/feeluown-netease";
 license=('GPL3')
 depends=('feeluown' 'python-beautifulsoup4' 'python-pycryptodome' 
'python-marshmallow'
          'python-requests' 'python-mutagen')
-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-netease.git#tag=v$pkgver";)
@@ -18,7 +18,7 @@ 
sha512sums=('5756dcc164c8861d9838ef5e7b6505283bbd4bbf60d3afb57bb9f909b4471fe6be7
 
 build() {
   cd feeluown-netease
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -28,5 +28,5 @@ check() {
 
 package() {
   cd feeluown-netease
-  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-netease/-/commit/f69aa4ff1fa920d2391af18e6482b361de38261a

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


Reply via email to