summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Gjengset2015-11-05 12:52:54 -0500
committerJon Gjengset2015-11-05 12:52:54 -0500
commit80483042159f08d9aa353d91db086b0aec595ac2 (patch)
tree15bcde0b53dbb990b09947fed431efec931cae12
parent89ca386e2ce1e46beee75163a53b5e1346a70e37 (diff)
downloadaur-80483042159f08d9aa353d91db086b0aec595ac2.tar.gz
Fix version number
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67b73f612b89..af1053771848 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-theano-git
pkgdesc = Definition and optimized evaluation of mathematical expressions on Numpy arrays.
- pkgver = rel.0.7.1a1.r1287.4260bbf
+ pkgver = 0.7.1a1.r1287.4260bbf
pkgrel = 1
url = http://www.deeplearning.net/software/theano/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index eb1939199013..dbb2bf45fc05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase="python-theano-git"
pkgname=("python-theano-git" "python2-theano-git")
_pkgname="Theano"
-pkgver=rel.0.7.1a1.r1287.4260bbf
+pkgver=0.7.1a1.r1287.4260bbf
pkgrel=1
pkgdesc='Definition and optimized evaluation of mathematical expressions on Numpy arrays.'
arch=('any')
@@ -23,7 +23,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgbase%-git}"
- printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^rel\.//')"
}