[arch-commits] Commit in (4 files)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Thu Aug 26 12:55:29 UTC 2021
Date: Thursday, August 26, 2021 @ 12:55:29
Author: kgizdov
Revision: 1006076
initial release
Added:
python-keras/
python-keras/repos/
python-keras/trunk/
python-keras/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Added: python-keras/trunk/PKGBUILD
===================================================================
--- python-keras/trunk/PKGBUILD (rev 0)
+++ python-keras/trunk/PKGBUILD 2021-08-26 12:55:29 UTC (rev 1006076)
@@ -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"
+}
More information about the arch-commits
mailing list