freebsd-ports/textproc/py-RTFDE/Makefile
Jesús Daniel Colmenares Oviedo f6c58e8709
Add textproc/py-RTFDE: Library for extracting HTML content from RTF encapsulated HTML
RTFDE is a python3 library for extracting encapsulated HTML & plain
text content from the RTF bodies of .msg files.

De-encapsulation enables previously encapsulated HTML and plain
text content to be extracted and rendered as HTML and plain text
instead of the encapsulating RTF content. After de-encapsulation,
the HTML and plain text should differ only minimally from the
original HTML or plain text content.

WWW: https://github.com/seamustuohy/RTFDE

PR:		265764
2022-10-26 02:19:01 +08:00

25 lines
679 B
Makefile

PORTNAME= RTFDE
PORTVERSION= 0.0.2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= DtxdF@disroot.org
COMMENT= Library for extracting HTML content from RTF encapsulated HTML
WWW= https://github.com/seamustuohy/RTFDE
LICENSE= LGPL3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lark>=0.11:devel/py-lark@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oletools>=0.56:devel/py-oletools@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= LXML
LXML_DESC= Pythonic binding for the libxml2 and libxslt libraries
LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.6:devel/py-lxml@${PY_FLAVOR}
.include <bsd.port.mk>