[arch-commits] Commit in python-keras-preprocessing/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:10:08 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:10:08
  Author: felixonmars
Revision: 748528

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 748527, python-keras-preprocessing/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: python-keras-preprocessing/repos/community-staging-any/PKGBUILD (from rev 748527, python-keras-preprocessing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:10:08 UTC (rev 748528)
@@ -0,0 +1,23 @@
+# 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=2
+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')
+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