blob: e2aafa5e2a6311a60995f8e9ac531435212efb47 (
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
|
# Maintainer: Jingbei Li <i@jingbei.li>
# Contributer: Jose Riha <jose1711 gmail com>
pkgname=python-librosa
_pkgname=librosa
pkgver=0.10.2.post1
pkgrel=1
pkgdesc="Python library for music and audio analysis"
arch=('any')
url="https://librosa.org"
license=('ISC')
depends=(
'python-audioread'
'python-decorator'
'python-joblib'
'python-lazy-loader'
'python-matplotlib'
'python-numba'
'python-numpy'
'python-pooch'
'python-resampy'
'python-scikit-learn'
'python-scipy'
'python-six'
'python-soundfile'
'python-soxr'
)
makedepends=('python-setuptools')
source=("https://github.com/librosa/librosa/archive/${pkgver}.tar.gz")
md5sums=('1a2887782ce0db1468b9a2b51d409e81')
build() {
cd "$srcdir/${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "$srcdir/${_pkgname}-${pkgver}"
python setup.py install --root="$pkgdir"/ --optimize=1
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
|