Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
feeluown


Commits:
7331cc4f by Carl Smedstad at 2025-12-29T15:52:23+01:00
upgpkg: 4.1.16-5: Migrate build to PEP 517

https://archlinux.org/todo/use-pep-517-for-building-if-supported/

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = feeluown
        pkgdesc = FeelUOwn Music Player
        pkgver = 4.1.16
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/feeluown/FeelUOwn
        arch = any
        groups = feeluown-full
@@ -14,7 +14,11 @@ pkgbase = feeluown
        checkdepends = xorg-server-xvfb
        checkdepends = yt-dlp
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
+       depends = python
        depends = python-qasync
        depends = python-pyqt5
        depends = mpv


=====================================
PKGBUILD
=====================================
@@ -3,15 +3,15 @@
 
 pkgname=feeluown
 pkgver=4.1.16
-pkgrel=4
+pkgrel=5
 pkgdesc="FeelUOwn Music Player"
 arch=('any')
 url="https://github.com/feeluown/FeelUOwn";
 license=('GPL-3.0-or-later')
-depends=('python-qasync' 'python-pyqt5' 'mpv' 'python-opengl' 'python-janus' 
'python-requests'
-         'python-tomlkit' 'python-packaging' 'python-pydantic' 
'python-mutagen' 'python-openai'
-         'qt5-svg' 'xdg-user-dirs')
-makedepends=('git' 'python-setuptools')
+depends=('python' 'python-qasync' 'python-pyqt5' 'mpv' 'python-opengl' 
'python-janus'
+         'python-requests' 'python-tomlkit' 'python-packaging' 
'python-pydantic'
+         'python-mutagen' 'python-openai' 'qt5-svg' 'xdg-user-dirs')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-mock' 
'python-pytest-qt'
               'python-json-rpc' 'xorg-server-xvfb' 'yt-dlp')
 optdepends=('yt-dlp: browser cookie extraction support'
@@ -27,8 +27,8 @@ groups=('feeluown-full')
 source=(
   "$pkgname::git+https://github.com/feeluown/FeelUOwn.git#tag=v$pkgver";
   "FeelUOwn.desktop"
-       "$pkgname-pytest-skip-benchmark-cov-plugin.patch"
-       "$pkgname-python-3.14-asyncio-future.patch"
+  "$pkgname-pytest-skip-benchmark-cov-plugin.patch"
+  "$pkgname-python-3.14-asyncio-future.patch"
 )
 
sha512sums=('c705c4d50028c5549cc8c90b9e313bd3bda9175e7f5019327dff69e8b7ea363130668dc2dae75bb326457a03af7c934c16bfbf5b80a3a5391c78b95e89337b8c'
             
'48882f7469c22e5db332663bc1aa8b398b0a10a0c929d4d7e3d7b8b91205d7d3070c5fa295cb9a14f8c352bff57978bfaad167343e0ddc51c92417eda07c8087'
@@ -45,7 +45,7 @@ prepare() {
 
 build() {
   cd $pkgname
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -55,7 +55,7 @@ check() {
 
 package() {
   cd $pkgname
-  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 feeluown/gui/assets/icons/feeluown.png -t 
"$pkgdir"/usr/share/icons/hicolor/512x512/apps/
   install -Dm644 "$srcdir"/FeelUOwn.desktop -t 
"$pkgdir"/usr/share/applications/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown/-/commit/7331cc4fa645c7d46f5c42f7216b0982e3ed11ba

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


Reply via email to