Date: Tuesday, October 2, 2018 @ 17:36:55 Author: svenstaro Revision: 389035
Move python-keras-preprocessing from AUR Added: python-keras-preprocessing/ python-keras-preprocessing/repos/ python-keras-preprocessing/trunk/ python-keras-preprocessing/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Added: python-keras-preprocessing/trunk/PKGBUILD =================================================================== --- python-keras-preprocessing/trunk/PKGBUILD (rev 0) +++ python-keras-preprocessing/trunk/PKGBUILD 2018-10-02 17:36:55 UTC (rev 389035) @@ -0,0 +1,23 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: Oliver Harley <oliver.r.harley+aur (at) gmail.com> +_pkgname=Keras_Preprocessing +pkgname=python-keras-preprocessing +pkgver=1.0.5 +pkgrel=1 +pkgdesc="Preprocessing module of the Keras deep learning library" +arch=('any') +url="https://pypi.org/project/Keras-Preprocessing/" +license=('MIT') +depends=('python' 'python-setuptools' 'python-numpy' 'python-keras') +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('02ba0a3b31ed89c4b0c21d55ba7d87529097d56f394e3850b6d3c9e6c63ce7ae') + +build() { + cd "$srcdir/${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "$srcdir/${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir"/ --optimize=1 +}