165afb3792
* Remove LXML option (It is a development dependency, so RTFDE does not need it to work properly.) ChangeLog: https://github.com/seamustuohy/RTFDE/commit/66780b8b1bc708f970de497e6e0c73d6f4a1a377 * Updated to only work with bytes. * Added far greater unicode support. * Fixed various whitespace issues. * Added proper htmlrtf support. * Added support for extracting (but not parsing binary data). * Update grammar to be far more explicit when extracting objects. * Fixes to ensure deencapsulation handles whitespace properly. * Adds grammar composer to make grammar modifications more clearly defined. * Adding support for surrogates which use raw unicode instead of 16bit signed encoding. * Added better handling of parsing unicode HH replacement chars. PR: 273063
22 lines
516 B
Makefile
22 lines
516 B
Makefile
PORTNAME= RTFDE
|
|
DISTVERSION= 0.1.0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
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
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|