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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 05:41:02 UTC 2019


    Date: Saturday, October 26, 2019 @ 05:41:01
  Author: felixonmars
Revision: 520163

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

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

Copied: python-keras-preprocessing/repos/community-staging-any/PKGBUILD (from rev 520162, python-keras-preprocessing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 05:41:01 UTC (rev 520163)
@@ -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.0
+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=('5a8debe01d840de93d49e05ccf1c9b81ae30e210d34dacbcc47aeb3049b528e5')
+
+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