blob: 05b75689478ec19abfc84339318cddcbcff8c2bd (
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
|
pkgbase=('python-gmusicapi-git')
pkgname=('python-gmusicapi-git')
pkgver='11.0.0'
pkgrel=1
pkgdesc="An unofficial api for Google Play Music."
_gitver="$pkgver"
url="https://github.com/simon-weber/gmusicapi"
provides=('python-gmusicapi')
depends=(
'python'
'python-future'
'python-gpsoauth>=0.2.0'
'python-mechanicalsoup>=0.4.0'
'python-mock>=0.7.0'
'python-validictory>=0.8.0'
'python-oauth2client>=1.1'
'python-appdirs>=1.1.0'
'python-requests>=1.1.0'
'python-proboscis>=1.2.5.1'
'python-dateutil>=1.3'
'python-mutagen>=1.34'
'python-six>=1.9.0'
'python-protobuf>=3.0.0'
'python-decorator>=3.3.1'
)
makedepends=('python-setuptools' 'git')
license=('BSD')
arch=('any')
source=("${pkgname}::git+$url#tag=${_gitver}")
sha256sums=('SKIP')
build() {
cd "${pkgname}"
python setup.py build
}
package() {
depends+=()
cd "${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|