From nobody Tue Oct 25 18:19:46 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MxgFv23fVz4gY90; Tue, 25 Oct 2022 18:19:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MxgFv1X3Fz3KXq; Tue, 25 Oct 2022 18:19:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666721987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E7RV0/fZZ++pw8m7HTNq5fOAFSSRPrLkODpMUj5Uhto=; b=D3BndzeabuAiX5iyih3lIUzTr6NwG8q3cI4G3Sl8f/y2jwGuafpOb6CnRy0/cSKWf7YbfA 5vw4ATAp9JyH8oBPjCHb8HPt1MvpqVNUsigcZs2Emnnbps2KecHUrExfo6DtQ6tdrXhd+7 33jKp9/lS77JLPU6Cbedrm6Gi4reloPDKDWbf8Dvim7mJptsD7jkqnlUBGHKubCQVXpKol ip+Y3+q2bfhFVNEfN4Lp47I3XzovMLwRONi5WWQGzmSArC30npZNCwqfSpF9h6mDiN4mGr t91uaejOPaZT7pFr6yy7uF3lR2+gp7WjoL55c9/Y8mvb7TOlafOfsmqtyomWCw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MxgFv0XqrznC3; Tue, 25 Oct 2022 18:19:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29PIJkQN079267; Tue, 25 Oct 2022 18:19:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29PIJkrm079266; Tue, 25 Oct 2022 18:19:46 GMT (envelope-from git) Date: Tue, 25 Oct 2022 18:19:46 GMT Message-Id: <202210251819.29PIJkrm079266@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: f6c58e870950 - main - Add textproc/py-RTFDE: Library for extracting HTML content from RTF encapsulated HTML List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6c58e87095071d9ddd83df70090cd561be7ab9a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666721987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E7RV0/fZZ++pw8m7HTNq5fOAFSSRPrLkODpMUj5Uhto=; b=aYDmx5x/pK0UsNRWOOPdNBi1/xCxwN8hL5HM0WppvT/Ki3TUddxCNOVoGmXMWqPTMwmwSE ixfi4uSbN83EhhKW0DgRIDTLEfaRBUPoiO4Mp/Bu6nbrV6FikhCEA4c6rtPx3KGbv5JPla cA7jTIVBO9OnIgYERieKHODCfz3/oQVwb26lUpuIdxsgCThaNf3Wx6DktmIFcbjjHx+Hwa XnO8mYX+zcFyFmmbMcmwyX4mfXyUzZdC543Bz8LBWOdl6BOu1gsxPXwuXK/xWJreON4rAn Brz95h5IBvSQtwnO109FTWI4cRWt9evx85AruN/iyfd+W/62nvWDi3BTp8L+Ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666721987; a=rsa-sha256; cv=none; b=OpWMt28IsW8NL6Yk7xlqE6WPF2/mjEEU4fzuALrO5rFCGnt5aWeRjvr84j3rXWTybUtvN3 GEbaNpKsK/LnuvWqca6FsfmVSOclNCdhNIiD9zBSnFrQLzt2On/NLccU8HsMvbEETAa+9T 2WDGuYR3sFsCZR9NXyiiWp0ZVYzP1gNlPt/10i8L8o5sJBlJRrJ2rd9X0zJMrg9MiHcJ9b NcMyoX8mZgJ/+V0cdTQ82CUq3w4F5BOxGAnPYoSDFhsu3S+eE1VHx6pQZuiieEhqXoxZnw yAf/1Og1itMRihbIFR6RnXd1N1eD01zsLlbbhv+o8xmNEHj0/NP/71zCUsZBoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6c58e87095071d9ddd83df70090cd561be7ab9a commit f6c58e87095071d9ddd83df70090cd561be7ab9a Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2022-09-23 17:54:09 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-25 18:19:01 +0000 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 --- textproc/Makefile | 1 + textproc/py-RTFDE/Makefile | 25 +++++++++++++++++++++++++ textproc/py-RTFDE/distinfo | 3 +++ textproc/py-RTFDE/pkg-descr | 8 ++++++++ 4 files changed, 37 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 941814c52f1a..0fb79b908615 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1272,6 +1272,7 @@ SUBDIR += py-CommonMark SUBDIR += py-Morfessor SUBDIR += py-QDarkStyle + SUBDIR += py-RTFDE SUBDIR += py-Tempita SUBDIR += py-acora SUBDIR += py-aeidon diff --git a/textproc/py-RTFDE/Makefile b/textproc/py-RTFDE/Makefile new file mode 100644 index 000000000000..314c22f2e1dc --- /dev/null +++ b/textproc/py-RTFDE/Makefile @@ -0,0 +1,25 @@ +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 diff --git a/textproc/py-RTFDE/distinfo b/textproc/py-RTFDE/distinfo new file mode 100644 index 000000000000..388e1d5c0995 --- /dev/null +++ b/textproc/py-RTFDE/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659984075 +SHA256 (RTFDE-0.0.2.tar.gz) = b86b5d734950fe8745a5b89133f50554252dbd67c6d1b9265e23ee140e7ea8a2 +SIZE (RTFDE-0.0.2.tar.gz) = 18891 diff --git a/textproc/py-RTFDE/pkg-descr b/textproc/py-RTFDE/pkg-descr new file mode 100644 index 000000000000..a5947fc01470 --- /dev/null +++ b/textproc/py-RTFDE/pkg-descr @@ -0,0 +1,8 @@ +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.