summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingbei Li2017-09-11 14:59:07 +0800
committerJingbei Li2017-09-11 14:59:07 +0800
commitc90275126149b2648d21a71a2bdd86e8d06bb24b (patch)
tree2f580e2a887926d0b4dee21a6c03973b7b685f1b
parent2c54f3ebf0f4e64650a73bb894632370c8461e9f (diff)
downloadaur-c90275126149b2648d21a71a2bdd86e8d06bb24b.tar.gz
enable python2
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD5
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d900875c44b..75c7938313f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Aug 21 13:07:47 UTC 2017
+# Mon Sep 11 06:59:03 UTC 2017
pkgbase = python-librosa
pkgdesc = Python library for music and audio analysis
pkgver = 0.5.1
@@ -15,4 +15,12 @@ pkgbase = python-librosa
pkgname = python-librosa
depends = python-joblib
depends = python-matplotlib
+ depends = python-audioread
+ depends = python-resampy
+
+pkgname = python2-librosa
+ depends = python2-joblib
+ depends = python2-matplotlib
+ depends = python2-audioread
+ depends = python2-resampy
diff --git a/PKGBUILD b/PKGBUILD
index 02d43fd6629..38a29651387 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: Jingbei Li <i@jingbei.li>
# Contributer: Jose Riha <jose1711 gmail com>
pkgbase=python-librosa
-#pkgname=(python-librosa python2-librosa)
-pkgname=(python-librosa)
+pkgname=(python-librosa python2-librosa)
_pkgname=librosa
pkgver=0.5.1
pkgrel=1
@@ -42,7 +41,7 @@ package_python2-librosa() {
}
package_python-librosa() {
- depends=('python-joblib' 'python-matplotlib')
+ depends=('python-joblib' 'python-matplotlib' 'python-audioread' 'python-resampy')
cd "$srcdir/${_pkgname}-${pkgver}"
python setup.py install --root="$pkgdir"/ --optimize=1
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"