Date: Thursday, August 26, 2021 @ 12:55:37 Author: kgizdov Revision: 1006077
archrelease: copy trunk to community-any Added: python-keras/repos/community-any/ python-keras/repos/community-any/PKGBUILD (from rev 1006076, python-keras/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: python-keras/repos/community-any/PKGBUILD (from rev 1006076, python-keras/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2021-08-26 12:55:37 UTC (rev 1006077) @@ -0,0 +1,23 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> + +_pkgbase='keras' +pkgbase="python-${_pkgbase}" +pkgname=("${pkgbase}") +pkgdesc='A deep learning API written in Python, running on top of the machine learning platform TensorFlow' +url='https://keras.io/' +license=('Apache') +pkgver=2.6.0 +pkgrel=1 +arch=('any') +source=("https://files.pythonhosted.org/packages/py2.py3/${_pkgbase::1}/${_pkgbase}/${_pkgbase//-/_}-${pkgver}-py2.py3-none-any.whl" + "${_pkgbase}-${pkgver}-LICENSE::https://raw.githubusercontent.com/keras-team/${_pkgbase}/v${pkgver}/LICENSE") +makedepends=('python-pip') +depends=('absl-py' 'python' 'python-h5py' 'python-keras-preprocessing' 'python-numpy' 'python-pandas' 'python-pillow' + 'python-pydot' 'python-scipy' 'python-six' 'python-tensorflow' 'python-yaml' 'tensorboard') +sha256sums=('504af5656a9829fe803ce48a8580ef16916e89906aceddad9e098614269437e7' + 'ebc07b279109d4bd5e58fe06f54e8f8aee8ba1024b77b222bc04214ae6f56348') + +package () { + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl + install -Dm 644 "${_pkgbase}-${pkgver}-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}