summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de07f9e6ceffda339e99103c113764c8d24850d9 (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
#Automatically generated by pip2arch on 2016-02-09
#Maintainer: Daichi Shinozaki <dsdseg@gmail.com>
pkgbase='python-common-ta-lib'
pkgname=("python-ta-lib" "python2-ta-lib")
pkgver=0.4.17
pkgrel=1
pkgdesc="Python wrapper for TA-Lib"
url="http://github.com/mrjbq7/ta-lib"
depends_python=('python' 'python-numpy' 'ta-lib')
depends_python2=('python2' 'python2-numpy' 'ta-lib')
makedepends_python=('python3' 'python-numpy')
makedepends_python2=('python2' 'python2-numpy')
optdepends=('cython')
license=('BSD')
arch=('any')
source=("https://pypi.python.org/packages/source/T/TA-Lib/TA-Lib-$pkgver.tar.gz")
md5sums=('6153596d425a5f961fed2861ebc949e0')

build_python() {
    cd $srcdir/TA-Lib-$pkgver
    python setup.py build
}

build_python2() {
    cd $srcdir/TA-Lib-$pkgver
    python2 setup.py build
}

package_python-ta-lib() {
    cd $srcdir/TA-Lib-$pkgver
    python setup.py install --root="$pkgdir" --optimize=1 
}

package_python2-ta-lib() {
    cd $srcdir/TA-Lib-$pkgver
    python2 setup.py install --root="$pkgdir" --optimize=1 
}