summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 9 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0efe362cf6a..7882160e210 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Dec 24 16:18:10 UTC 2015
+# Fri Mar 24 05:42:09 UTC 2017
pkgbase = python2-pybrain
pkgdesc = A modular Machine Learning Library for Python
- pkgver = 0
+ pkgver = 0.3.1
pkgrel = 1
url = http://pybrain.org/
arch = i686
@@ -13,8 +13,8 @@ pkgbase = python2-pybrain
depends = python2
depends = python2-numpy
depends = python2-scipy
- source = git+https://github.com/pybrain/pybrain.git
- sha512sums = SKIP
+ source = pybrain-0.3.1.zip::https://github.com/pybrain/pybrain/zipball/0.3.1
+ sha512sums = eb495b361464226e0c5b167f2edfa4876fc7c81856fdbc1e3069787a453ea345dcf314fd5c09fd694dd9c6ebe5b1d619b48c650b33b86ed9c510ecf8c26d9db0
pkgname = python2-pybrain
diff --git a/PKGBUILD b/PKGBUILD
index 126214ec04a..cc0beaef164 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Star Brilliant <echo bTEzMjUzQGhvdG1haWwuY29tCg== | base64 -d>
pkgname=('python2-pybrain')
-pkgver=0
+pkgver=0.3.1
pkgrel=1
pkgdesc='A modular Machine Learning Library for Python'
arch=('i686' 'x86_64')
@@ -9,21 +9,15 @@ url='http://pybrain.org/'
license=('BSD')
depends=('python2' 'python2-numpy' 'python2-scipy')
makedepends=('python2-setuptools' 'git')
-source=("git+https://github.com/pybrain/pybrain.git")
-sha512sums=('SKIP')
-
-pkgver() {
- cd pybrain
- git describe --always | sed 's|-|.|g'
-
-}
+source=("pybrain-$pkgver.zip::https://github.com/pybrain/pybrain/zipball/$pkgver")
+sha512sums=('eb495b361464226e0c5b167f2edfa4876fc7c81856fdbc1e3069787a453ea345dcf314fd5c09fd694dd9c6ebe5b1d619b48c650b33b86ed9c510ecf8c26d9db0')
build() {
- cd pybrain
+ cd pybrain-pybrain-*
python2 setup.py build
}
package() {
- cd pybrain
+ cd pybrain-pybrain-*
python2 setup.py install --root="${pkgdir}" --optimize=1
}