summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Harley2018-08-09 02:30:00 +0200
committerOliver Harley2018-08-09 02:30:00 +0200
commit1a79935eb269d04e5e2ebd99eff806bf0b64d8e7 (patch)
tree46ba629af4cd8b385a2d7031980f334f1ab9fae0
parent93029ab9483d2f1b90abbae076d1ec4d9ea950ac (diff)
downloadaur-1a79935eb269d04e5e2ebd99eff806bf0b64d8e7.tar.gz
Fix for python2 package generation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d23a06c992f..234bab4fc3d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-keras
pkgdesc = Deep Learning library (convnets, recurrent neural networks, and more)
pkgver = 2.2.2
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/fchollet/keras
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index f207771fe0d2..503596a4ed74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase="python-keras"
pkgname=("python-keras" "python2-keras")
_pkgname="keras"
pkgver="2.2.2"
-pkgrel=4
+pkgrel=5
pkgdesc="Deep Learning library (convnets, recurrent neural networks, and more)"
arch=('any')
url="https://github.com/fchollet/keras"
@@ -19,7 +19,7 @@ sha256sums=('76a7110a0f7b6114bfcf9453057a7e3c65e3957791336423b09a7420fc3de3a8')
prepare() {
cd "$srcdir/"
cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"
- cd "${_pkgname}-${pkgver}"
+ cd "${_pkgname}-${pkgver}-py2"
sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \