aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-audioread/APKBUILD
blob: a4cbe1c8f9547cb3201fb7ebf985abe11a8b2434 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=py3-audioread
_pkgname=audioread
pkgver=2.1.9
pkgrel=1
pkgdesc="Multi-library, cross-platform audio decoding"
url="https://github.com/sampsyo/audioread"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check"  # upstream provides no testsuite
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-audioread" # Backwards compatibility
provides="py-audioread=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="ad2260b6931cfeebb815d48221366a2a5d8095965ff18e94c5eb0809d9a1b02e650a62ad5e895b7f1e003771fa3babf56f59ce4538aca78b678566fd28327290  audioread-2.1.9.tar.gz"