summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshley Whetter2015-06-08 12:18:22 +0100
committerAshley Whetter2015-06-08 12:18:22 +0100
commit2158577666b6440cfad82e1e031063a41077a040 (patch)
tree7722e7a88be6b6005571502c282718facee97761
parent842cd1c397853bfc1baeae055fcbd7c30f0ecefd (diff)
downloadaur-2158577666b6440cfad82e1e031063a41077a040.tar.gz
Combined python-seqlearn-git and python2-seqlearn-git PKGBUILDs
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
2 files changed, 20 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 474f6294af1..f8e94a6c18c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,13 +7,19 @@ pkgbase = python-seqlearn-git
arch = x86_64
license = custom: Copyright 2013-2014 Lars Buitinck / University of Amsterdam and contributors
makedepends = git
- depends = python
- depends = python-numpy>=1.6
- depends = python-scipy>=0.11
- depends = cython>=0.20.2
options = !emptydirs
source = git://github.com/larsmans/seqlearn.git
md5sums = SKIP
pkgname = python-seqlearn-git
+ depends = python
+ depends = python-numpy>=1.6
+ depends = python-scipy>=0.11
+ depends = cython>=0.20.2
+
+pkgname = python2-seqlearn-git
+ depends = python2
+ depends = python2-numpy>=1.6
+ depends = python2-scipy>=0.11
+ depends = cython2>=0.20.2
diff --git a/PKGBUILD b/PKGBUILD
index f8a8ffb28f9..c1cfa55854b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,28 @@
# Maintainer: Ashley Whetter <(firstname) @ awhetter.co.uk>
-pkgname=python-seqlearn-git
+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')
-groups=()
-depends=('python' 'python-numpy>=1.6' 'python-scipy>=0.11' 'cython>=0.20.2')
makedepends=('git')
-provides=()
-conflicts=()
-replaces=()
-backup=()
options=(!emptydirs)
-install=
source=(git://github.com/larsmans/seqlearn.git)
md5sums=("SKIP")
-package() {
+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: