diff options
Diffstat (limited to 'textproc/py-html-text/Makefile')
-rw-r--r-- | textproc/py-html-text/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/textproc/py-html-text/Makefile b/textproc/py-html-text/Makefile new file mode 100644 index 000000000000..8abdc85e2e2a --- /dev/null +++ b/textproc/py-html-text/Makefile @@ -0,0 +1,26 @@ +PORTNAME= html-text +DISTVERSION= 0.7.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Extract text from HTML +WWW= https://github.com/zytedata/html-text + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml-html-clean>0:devel/py-lxml-html-clean@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +NO_ARCH= yes + +# tests as of 0.7.1: 58 passed, 4 skipped, 1 xfailed, 5 errors in 4.68s + +.include <bsd.port.mk> |