summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Giniewicz2016-07-30 19:09:34 +0200
committerAndrzej Giniewicz2016-07-30 19:09:34 +0200
commit0a4cae3f45de2e0d767dfa27349e86011b8c9c3b (patch)
tree8c9d251cc5e3188c1a7dff5521adc80751310471
parent534fa8d42bcf72305ae47d449e31e6350deff74d (diff)
downloadaur-python2-mdp.tar.gz
python2-mdp: new upstream release
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82b02c98b7e..51843b24fd9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Jul 30 17:09:22 UTC 2016
pkgbase = python2-mdp
pkgdesc = Modular toolkit for Data Processing
- pkgver = 3.3
+ pkgver = 3.5
pkgrel = 1
url = http://mdp-toolkit.sourceforge.net/index.html
arch = any
@@ -11,10 +13,10 @@ pkgbase = python2-mdp
optdepends = shogun: for Shogun SVM classifier
optdepends = libsvm: for libSVM SVM classifier
optdepends = python2-joblib: for caching extension and caching context manager
- optdepends = scikits-learn: for scikits-learn algorithms wrappers
+ optdepends = python2-scikit-learn: for scikits-learn algorithms wrappers
options = !emptydirs
- source = http://downloads.sourceforge.net/project/mdp-toolkit/mdp-toolkit/3.3/MDP-3.3.tar.gz
- md5sums = 5956284a419a431a980129485f111602
+ source = http://downloads.sourceforge.net/project/mdp-toolkit/mdp-toolkit/3.5/MDP-3.5.tar.gz
+ md5sums = b8cba6097c932e77cf15f012ebc6d4be
pkgname = python2-mdp
diff --git a/PKGBUILD b/PKGBUILD
index 58d453b87cb..18f9bf702e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python2-mdp
-pkgver=3.3
+pkgver=3.5
pkgrel=1
pkgdesc="Modular toolkit for Data Processing"
arch=('any')
@@ -12,16 +12,19 @@ optdepends=('python2-scipy: for faster eigensolver, FFT and convolution routines
'shogun: for Shogun SVM classifier'
'libsvm: for libSVM SVM classifier'
'python2-joblib: for caching extension and caching context manager'
- 'scikits-learn: for scikits-learn algorithms wrappers')
+ 'python2-scikit-learn: for scikits-learn algorithms wrappers')
options=(!emptydirs)
source=("http://downloads.sourceforge.net/project/mdp-toolkit/mdp-toolkit/$pkgver/MDP-$pkgver.tar.gz")
-md5sums=('5956284a419a431a980129485f111602')
+md5sums=('b8cba6097c932e77cf15f012ebc6d4be')
build() {
cd "$srcdir/MDP-$pkgver"
+ sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find -name '*.py')
+
python2 setup.py build
}
@@ -29,8 +32,5 @@ package() {
cd "$srcdir/MDP-$pkgver"
python2 setup.py install --root="$pkgdir"/ --optimize=1
-
- sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find "${pkgdir}" -name '*.py')
}