[arch-commits] Commit in python-keras-preprocessing/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:51:10 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:51:09
Author: foutrelis
Revision: 1059406
archrelease: copy trunk to community-staging-any
Added:
python-keras-preprocessing/repos/community-staging-any/
python-keras-preprocessing/repos/community-staging-any/PKGBUILD
(from rev 1059403, python-keras-preprocessing/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-keras-preprocessing/repos/community-staging-any/PKGBUILD (from rev 1059403, python-keras-preprocessing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:51:09 UTC (rev 1059406)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Oliver Harley <oliver.r.harley+aur (at) gmail.com>
+_pkgname=Keras_Preprocessing
+pkgname=python-keras-preprocessing
+pkgver=1.1.2
+pkgrel=5
+pkgdesc="Preprocessing module of the Keras deep learning library"
+arch=('any')
+url="https://pypi.org/project/Keras-Preprocessing/"
+license=('MIT')
+makedepends=('python-setuptools')
+depends=('python' 'python-numpy')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3')
+
+build() {
+ cd "$srcdir/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/${_pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir"/ --optimize=1
+}
More information about the arch-commits
mailing list