upgpkg: quodlibet-git r11752.7fbd8ce82-1

PEP 517
This commit is contained in:
Cedric Girard 2024-10-03 10:14:56 +02:00
parent d0ae8e0985
commit d1cd3b3801
2 changed files with 11 additions and 7 deletions

View file

@ -1,10 +1,14 @@
pkgbase = quodlibet-git pkgbase = quodlibet-git
pkgdesc = Music player and music library manager pkgdesc = Music player and music library manager
pkgver = r11444.4aff05b37 pkgver = r11752.7fbd8ce82
pkgrel = 1 pkgrel = 1
url = https://quodlibet.readthedocs.io url = https://quodlibet.readthedocs.io
arch = any arch = any
license = GPL2 license = GPL-2.0-or-later
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
makedepends = gettext makedepends = gettext
makedepends = git makedepends = git
makedepends = python-sphinx_rtd_theme makedepends = python-sphinx_rtd_theme

View file

@ -5,14 +5,14 @@
# Contributor: Christoph Reiter <reiter.christoph@gmail.com> # Contributor: Christoph Reiter <reiter.christoph@gmail.com>
pkgname=quodlibet-git pkgname=quodlibet-git
pkgver=r11444.4aff05b37 pkgver=r11752.7fbd8ce82
pkgrel=1 pkgrel=1
pkgdesc="Music player and music library manager" pkgdesc="Music player and music library manager"
arch=(any) arch=(any)
url="https://quodlibet.readthedocs.io" url="https://quodlibet.readthedocs.io"
license=(GPL2) license=(GPL-2.0-or-later)
depends=(dbus-python gtk3 libsoup3 python-cairo python-feedparser python-gobject python-mutagen) depends=(dbus-python gtk3 libsoup3 python-cairo python-feedparser python-gobject python-mutagen)
makedepends=(gettext git python-sphinx_rtd_theme) makedepends=(python-build python-installer python-setuptools python-wheel gettext git python-sphinx_rtd_theme)
optdepends=('gst-libav: Extra media codecs for the GStreamer backend' optdepends=('gst-libav: Extra media codecs for the GStreamer backend'
'gst-plugins-bad: Extra media codecs for the GStreamer backend; Audio Pitch / Speed, Crossfeed, Submit Acoustic Fingerprints plugins' 'gst-plugins-bad: Extra media codecs for the GStreamer backend; Audio Pitch / Speed, Crossfeed, Submit Acoustic Fingerprints plugins'
'gst-plugins-base: Default audio backend' 'gst-plugins-base: Default audio backend'
@ -47,11 +47,11 @@ prepare() {
build() { build() {
cd ${pkgname} cd ${pkgname}
python setup.py build python -m build --wheel --no-isolation
} }
package() { package() {
cd ${pkgname} cd ${pkgname}
python setup.py install --root="${pkgdir}" --optimize=1 python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm 644 {README,NEWS}.rst -t "${pkgdir}"/usr/share/doc/${pkgname} install -vDm 644 {README,NEWS}.rst -t "${pkgdir}"/usr/share/doc/${pkgname}
} }