blob: 6018f808521a356392c88c907858b3e48221d480 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Sašo Živanović <saso.zivanovic@guest.arnes.si>
pkgname=tandamaster
pkgver=0.3.2
pkgrel=1
epoch=
pkgdesc="A music player specialized for playing music at milongas"
arch=('any')
url="https://github.com/sasozivanovic/tandamaster"
license=('GPL')
groups=()
depends=(
'qt5-base'
'python-pyqt5'
'gstreamer'
# 'ipython' # temporary, for debugging purposes
'python-mutagen'
'python-unidecode'
'python-bidict'
'python-systemd'
'python-pydantic'
'libmp3splt'
)
makedepends=(
'python-ctypesgen'
'python-build'
'python-installer'
'python-wheel'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname//-/_}/${pkgname//-/_}-$pkgver.tar.gz")
md5sums=('619437e810a0e15a3f1a33fc5010792d')
validpgpkeys=()
prepare() {
cd $pkgname-$pkgver
ctypesgen -lmp3splt /usr/include/libmp3splt/mp3splt.h -o src/tandamaster/mp3splt_h.py
}
build() {
cd $pkgname-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|