blob: 6ee99edfd031885c8e6a84a61cb68e5f7acebc00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: bruceutut
pkgname=python-aionowplaying
_name=aionowplaying
pkgver=0.11.3
pkgrel=1
_src_folder="aionowplaying-$pkgver"
pkgdesc="A cross-platform Now Playing client"
url="https://github.com/BruceZhang1993/aionowplaying"
depends=('python-dbus-fast')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-uv-build')
license=('GPL-3.0-or-later')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('6fd0a4a470b2f3b8602a0a1afcf2e09addf2bd485233ab8fe939146be69104a0')
build() {
cd "${srcdir}/${_src_folder}"
sed -i 's/^requires = .*/requires = ["uv_build"]/' pyproject.toml
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_src_folder}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|