[arch-commits] Commit in python-keras/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 11:14:33 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:14:33
Author: felixonmars
Revision: 1059121
archrelease: copy trunk to community-staging-any
Added:
python-keras/repos/community-staging-any/
python-keras/repos/community-staging-any/PKGBUILD
(from rev 1059120, python-keras/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-keras/repos/community-staging-any/PKGBUILD (from rev 1059120, python-keras/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:14:33 UTC (rev 1059121)
@@ -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.7.0
+pkgrel=2
+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=('0c33ae1f728064ca0d35dfba999e9c316f03623bf5688c82fb83cc74a80ea248'
+ '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