summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/py-keras-preprocessing/Makefile24
-rw-r--r--math/py-keras-preprocessing/distinfo3
-rw-r--r--math/py-keras-preprocessing/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index aa048025456e..6012f6415ea6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -720,6 +720,7 @@
SUBDIR += py-intspan
SUBDIR += py-keras
SUBDIR += py-keras-applications
+ SUBDIR += py-keras-preprocessing
SUBDIR += py-levmar
SUBDIR += py-libpoly
SUBDIR += py-luminol
diff --git a/math/py-keras-preprocessing/Makefile b/math/py-keras-preprocessing/Makefile
new file mode 100644
index 000000000000..2e0a569d83b5
--- /dev/null
+++ b/math/py-keras-preprocessing/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= keras-preprocessing
+DISTVERSION= 1.0.9
+CATEGORIES= math python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rm@FreeBSD.org
+COMMENT= Easy data preprocessing and data augmentation for DL models
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= keras-team
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-keras-preprocessing/distinfo b/math/py-keras-preprocessing/distinfo
new file mode 100644
index 000000000000..700e57791e14
--- /dev/null
+++ b/math/py-keras-preprocessing/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1549711988
+SHA256 (keras-team-keras-preprocessing-1.0.9_GH0.tar.gz) = 045a9b3faf4f6d63493cc3ca396659cc0395727b280c988fb9b6c7ff8157f09b
+SIZE (keras-team-keras-preprocessing-1.0.9_GH0.tar.gz) = 46476
diff --git a/math/py-keras-preprocessing/pkg-descr b/math/py-keras-preprocessing/pkg-descr
new file mode 100644
index 000000000000..2b61ec7a4599
--- /dev/null
+++ b/math/py-keras-preprocessing/pkg-descr
@@ -0,0 +1,5 @@
+Keras Preprocessing is the data preprocessing and data augmentation module of
+the Keras deep learning library. It provides utilities for working with image
+data, text data, and sequence data.
+
+WWW: https://github.com/keras-team/keras-preprocessing