blob: 7f23e32c383cf507566f4dfef442fa66581028b6 (
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
|
# Maintainer: Jingbei Li <i@jingbei.li>
# Contributer: Jose Riha <jose1711 gmail com>
pkgname=python-resampy
_pkgname=resampy
pkgver=0.4.3
pkgrel=1
pkgdesc="Efficient sample rate conversion in python"
arch=('any')
url="https://github.com/bmcfee/resampy"
license=('ISC')
depends=('python-numba' 'python-numpy')
makedepends=('python-setuptools')
#checkdepends=('python-scipy')
source=("$url/archive/${pkgver}.tar.gz")
md5sums=('07c2d3f5e57035b329fa9b58da346e3d')
build() {
cd "$srcdir/${_pkgname}-${pkgver}"
python setup.py build_ext -i
}
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:
|