summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStar Brilliant2015-12-24 15:59:48 +0800
committerStar Brilliant2015-12-24 15:59:48 +0800
commit5c26bd1a05b228ca13261bf0778f6d5ec1899a03 (patch)
tree6266b285f0900ded67dfcfdf558789fb2af20414
downloadaur-5c26bd1a05b228ca13261bf0778f6d5ec1899a03.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD29
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8338aad0a7a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Dec 24 07:59:35 UTC 2015
+pkgbase = python2-pybrain
+ pkgdesc = A modular Machine Learning Library for Python
+ pkgver = 0
+ pkgrel = 1
+ url = http://pybrain.org/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = python2-setuptools
+ makedepends = git
+ depends = python2
+ source = git+https://github.com/pybrain/pybrain.git
+ sha512sums = SKIP
+
+pkgname = python2-pybrain
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fa9a78d642d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Star Brilliant <echo bTEzMjUzQGhvdG1haWwuY29tCg== | base64 -d>
+
+pkgname=('python2-pybrain')
+pkgver=0
+pkgrel=1
+pkgdesc='A modular Machine Learning Library for Python'
+arch=('i686' 'x86_64')
+url='http://pybrain.org/'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools' 'git')
+source=("git+https://github.com/pybrain/pybrain.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd pybrain
+ git describe --always | sed 's|-|.|g'
+
+}
+
+build() {
+ cd pybrain
+ python2 setup.py build
+}
+
+package() {
+ cd pybrain
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}