summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavierCLL2015-06-13 00:30:35 -0500
committerXavierCLL2015-06-13 00:30:35 -0500
commit7c4e9751f5c68a61e3677c64580fc90722f548d5 (patch)
tree35afb00a9c27919282110a73640b023c456288d7
downloadaur-7c4e9751f5c68a61e3677c64580fc90722f548d5.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD17
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7038ed6fb97
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python2-deap
+ pkgdesc = Distributed Evolutionary Algorithms in Python
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://github.com/DEAP/deap
+ arch = any
+ license = LGPL
+ depends = python2
+ depends = python2-pysqlite
+ optdepends = python2-numpy: for CMA-ES
+ optdepends = python2-matplotlib: for visualization
+ optdepends = python2-scoop: for computation distribution
+ source = https://pypi.python.org/packages/source/d/deap/deap-1.0.2.post2.tar.gz
+ md5sums = ccf5ed7562e4d6236c9416e3b5a9d941
+
+pkgname = python2-deap
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..803e21af7d0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+pkgname=python2-deap
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Distributed Evolutionary Algorithms in Python"
+arch=('any')
+url="https://github.com/DEAP/deap"
+license=('LGPL')
+depends=('python2' 'python2-pysqlite')
+optdepends=("python2-numpy: for CMA-ES" "python2-matplotlib: for visualization" "python2-scoop: for computation distribution")
+source=("https://pypi.python.org/packages/source/d/deap/deap-$pkgver.post2.tar.gz")
+md5sums=('ccf5ed7562e4d6236c9416e3b5a9d941')
+
+package() {
+ cd "$srcdir/deap-$pkgver"
+ find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \;
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}