From 2ddd9a264c3cc83cf3eca0fdc0fecbfd7b881a1f Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Mon, 16 Dec 2019 06:58:50 +0000 Subject: New port: misc/py-gluonnlp: MXNet-based toolkit to enable easy text, datasets preprocessing --- misc/py-gluonnlp/Makefile | 30 ++++++++++++++++++++++++++++++ misc/py-gluonnlp/distinfo | 3 +++ misc/py-gluonnlp/pkg-descr | 5 +++++ 3 files changed, 38 insertions(+) create mode 100644 misc/py-gluonnlp/Makefile create mode 100644 misc/py-gluonnlp/distinfo create mode 100644 misc/py-gluonnlp/pkg-descr (limited to 'misc/py-gluonnlp') diff --git a/misc/py-gluonnlp/Makefile b/misc/py-gluonnlp/Makefile new file mode 100644 index 000000000000..f3c43f821c2e --- /dev/null +++ b/misc/py-gluonnlp/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= gluonnlp +DISTVERSIONPREFIX= v +DISTVERSION= 0.6.0-217 +DISTVERSIONSUFFIX= -g394e69a +CATEGORIES= misc # machine-learning +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= MXNet-based toolkit to enable easy text, datasets preprocessing + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python localbase +USE_GITHUB= yes +GH_ACCOUNT= dmlc +GH_PROJECT= gluon-nlp +USE_PYTHON= distutils cython autoplist + +post-install: + @${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} + +.include diff --git a/misc/py-gluonnlp/distinfo b/misc/py-gluonnlp/distinfo new file mode 100644 index 000000000000..5379cfb725c3 --- /dev/null +++ b/misc/py-gluonnlp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1576478814 +SHA256 (dmlc-gluon-nlp-v0.6.0-217-g394e69a_GH0.tar.gz) = 3de2969dfe8060d18b5cdf58d56e6fd83d1b1fd2ad725a2e2551bb3af0cecb7e +SIZE (dmlc-gluon-nlp-v0.6.0-217-g394e69a_GH0.tar.gz) = 2449993 diff --git a/misc/py-gluonnlp/pkg-descr b/misc/py-gluonnlp/pkg-descr new file mode 100644 index 000000000000..b5fa107cbcaf --- /dev/null +++ b/misc/py-gluonnlp/pkg-descr @@ -0,0 +1,5 @@ +GluonNLP is a toolkit that enables easy text preprocessing, datasets loading and +neural models building to help you speed up your Natural Language Processing +(NLP) research. + +WWW: https://gluon-nlp.mxnet.io/ -- cgit v1.2.3