blob: 57bdf854a57c34394235557c7ddf3933b3dfd20a (
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
56
|
# Maintainer: Alex Palaistras <alex+archlinux@deuill.org>
_pkgname=bandcamp_tagplayer
pkgname=python-bandcamp-tagplayer-git
pkgver=r114.39c969c
pkgrel=1
arch=("any")
pkgdesc="Autoloads an MPD playlist with a Bandcamp genre or user library"
url="https://github.com/greggparrish/bandcamp_tagplayer"
license=("Unlicense")
depends=(
'python'
'python-args'
'python-beautifulsoup4'
'python-blessed'
'python-certifi'
'python-chardet'
'python-clint'
'python-idna'
'python-lxml'
'python-mutagen'
'python-ply'
'python-mpd2'
'python-requests'
'python-six'
'python-soupsieve'
'python-unidecode'
'python-urllib3'
'python-wcwidth'
)
optdepends=(
'mpd: For playing generated playlists'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
source=("$_pkgname::git+https://github.com/greggparrish/bandcamp_tagplayer")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|