Bug 265764 - [NEW PORT] textproc/py-RTFDE: Library for extracting HTML content from RTF encapsulated HTML
Summary: [NEW PORT] textproc/py-RTFDE: Library for extracting HTML content from RTF en...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL: https://github.com/seamustuohy/RTFDE
Keywords:
Depends on: 265724
Blocks: 265765
  Show dependency treegraph
 
Reported: 2022-08-10 17:47 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2022-10-25 18:21 UTC (History)
2 users (show)

See Also:


Attachments
textproc-py-RTFDE-0.0.2.patch (10.71 KB, patch)
2022-08-10 17:47 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
Update port maintainer (10.75 KB, patch)
2022-09-01 21:46 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
RTFDE-0.0.2 (10.81 KB, patch)
2022-09-23 17:58 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-08-10 17:47:10 UTC
Created attachment 235830 [details]
textproc-py-RTFDE-0.0.2.patch

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

portlint: looks fine.
poudriere: testport is ok.

This library requires py-oletools >= 0.56 [1]

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265724
Comment 1 Jesús Daniel Colmenares Oviedo 2022-09-01 21:46:18 UTC
Created attachment 236298 [details]
Update port maintainer

Reason:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266157
Comment 2 Jesús Daniel Colmenares Oviedo 2022-09-23 17:58:14 UTC
Created attachment 236771 [details]
RTFDE-0.0.2

Description:

* move WWW from pkg-descr to Makefile

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.1, amd64)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-25 18:20:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f6c58e87095071d9ddd83df70090cd561be7ab9a

commit f6c58e87095071d9ddd83df70090cd561be7ab9a
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-09-23 17:54:09 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
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 (new)  | 25 +++++++++++++++++++++++++
 textproc/py-RTFDE/distinfo (new)  |  3 +++
 textproc/py-RTFDE/pkg-descr (new) |  8 ++++++++
 4 files changed, 37 insertions(+)
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2022-10-25 18:21:04 UTC
New port added, thanks!

I removed the license file since it's just an unmodified LGPLv3 text and we already annotated in the port.