summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c1cfa55854b707f996bdc9933570df9c7f2f19ad (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: Ashley Whetter <(firstname) @ awhetter.co.uk>

pkgbase=python-seqlearn-git
pkgname=('python-seqlearn-git' 'python2-seqlearn-git')
pkgver=20141124
pkgrel=1
pkgdesc="A sequence classification toolkit for Python."
arch=('i686' 'x86_64')
url="http://larsmans.github.io/seqlearn/"
license=('custom: Copyright 2013-2014 Lars Buitinck / University of Amsterdam and contributors')
makedepends=('git')
options=(!emptydirs)
source=(git://github.com/larsmans/seqlearn.git)
md5sums=("SKIP")

package_python-seqlearn-git() {
  depends=('python' 'python-numpy>=1.6' 'python-scipy>=0.11' 'cython>=0.20.2')
  cd "$srcdir/seqlearn"
  python setup.py install --root="$pkgdir/" --optimize=1
}

package_python2-seqlearn-git() {
  depends=('python2' 'python2-numpy>=1.6' 'python2-scipy>=0.11' 'cython2>=0.20.2')
  cd "$srcdir/seqlearn"
  python2 setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: