Date: Thursday, April 6, 2023 @ 17:02:25
  Author: felixonmars
Revision: 1439877

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

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

Copied: python-keras-preprocessing/repos/community-staging-any/PKGBUILD (from 
rev 1439874, python-keras-preprocessing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 17:02:25 UTC (rev 1439877)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Oliver Harley <oliver.r.harley+aur (at) gmail.com>
+_pkgname=Keras_Preprocessing
+pkgname=python-keras-preprocessing
+pkgver=1.1.2
+pkgrel=7
+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
+}

Reply via email to