diff options
Diffstat (limited to 'textproc/py-rouge-score/Makefile')
-rw-r--r-- | textproc/py-rouge-score/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/textproc/py-rouge-score/Makefile b/textproc/py-rouge-score/Makefile new file mode 100644 index 000000000000..24bd3bd8b072 --- /dev/null +++ b/textproc/py-rouge-score/Makefile @@ -0,0 +1,26 @@ +PORTNAME= rouge-score +DISTVERSION= 0.1.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Package for text analysis and normalization +WWW= https://github.com/google-research/google-research/tree/master/rouge + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}absl-py>=0:devel/py-absl-py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nltk>=0:textproc/py-nltk@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest + +NO_ARCH= yes + +# tests fail because of missing testdata folder + +.include <bsd.port.mk> |