aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pytaglib/APKBUILD
blob: 8348769463ace72cbd71c24ec6910ce22ebcff54 (plain) (blame)
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
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-pytaglib
pkgver=1.4.6
pkgrel=0
pkgdesc="Python bindigs for the TagLib audio metadata library"
url="https://taglib.org"
arch="all"
license="GPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools python3-dev taglib-dev"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/pytaglib/pytaglib-$pkgver.tar.gz"
builddir="$srcdir/pytaglib-$pkgver"

build() {
	python3 setup.py build
}

check() {
	export PYTHONPATH="$(echo $builddir/build/lib.*)"
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="fe70b456a7c68d5ddad3baeb780b32cc1a617b2f259f561755c9ef61009f44addf16f5f08b4710fdfac460e34147d98b7107692095fdb2c968b46739de3e8c4e  pytaglib-1.4.6.tar.gz"