diff options
author | Oliver Harley | 2018-08-09 02:30:00 +0200 |
---|---|---|
committer | Oliver Harley | 2018-08-09 02:30:00 +0200 |
commit | 1a79935eb269d04e5e2ebd99eff806bf0b64d8e7 (patch) | |
tree | 46ba629af4cd8b385a2d7031980f334f1ab9fae0 | |
parent | 93029ab9483d2f1b90abbae076d1ec4d9ea950ac (diff) | |
download | aur-1a79935eb269d04e5e2ebd99eff806bf0b64d8e7.tar.gz |
Fix for python2 package generation
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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|" \ |