freebsd-ports/misc/py-gluonnlp/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

27 lines
662 B
Makefile

PORTNAME= gluonnlp
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.0
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:3.6+ 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 <bsd.port.mk>