Bug 270392 - textproc/py-extract-msg: Update to 0.40.0
Summary: textproc/py-extract-msg: Update to 0.40.0
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: Hiroki Tagato
URL: https://github.com/TeamMsgExtractor/m...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 22:36 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-03-27 11:32 UTC (History)
1 user (show)

See Also:


Attachments
py-extract-msg-0.40.0.patch (2.40 KB, patch)
2023-03-21 22:36 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
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 2023-03-21 22:36:50 UTC
Created attachment 241045 [details]
py-extract-msg-0.40.0.patch

Description:

ChangeLog:
https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.40.0/CHANGELOG.md

* Added new code to handle injection of text into
  the RTF body. For many cases, this will be much more effective as it
  relies on ensuring that it is in the main group and past the header
  before injection. It is not currently the first choice as it doesn't
  have proper respect for encapsulated HTML, however it will replace some
  of the old methods entirely. Solving this issue was done through the use
  of a few functions and the internal _rtf module. This module in it's
  entirety is considered to be implementation details, and I give no
  guarantee that it will remain in it's current state even across patch
  versions. As such, it is not recommended to use it outside of the
  module.
* Changed MessageBase.rtfEncapInjectableHeader and
  MessageBase.rtfPlainInjectableHeader from str to bytes. They always get
  encoded anyways, so I don't know why I had them returning as str.
* Updated minimum Python version to 3.8 as 3.6 has reached end of support
  and 3.7 will reach end of support within the year.
* Updated information in README.

QA:

* portlint:
  - WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
* testport: OK (poudriere: 13.1-RELEASE, amd64)
Comment 1 Hiroki Tagato freebsd_committer freebsd_triage 2023-03-27 11:32:12 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-03-27 11:32:31 UTC
A commit in branch main references this bug:

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

commit dd0eba71adbee77bb0e2daa2de929fca9a4127cc
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-03-21 22:21:48 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-03-27 11:31:32 +0000

    textproc/py-extract-msg: update to 0.40.0

    ChangeLog: https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.40.0/CHANGELOG.md

    * Added new code to handle injection of text into the RTF body. For
      many cases, this will be much more effective as it relies on ensuring
      that it is in the main group and past the header before injection. It
      is not currently the first choice as it doesn't have proper respect
      for encapsulated HTML, however it will replace some of the old methods
      entirely. Solving this issue was done through the use of a few
      functions and the internal _rtf module. This module in it's entirety
      is considered to be implementation details, and I give no guarantee
      that it will remain in it's current state even across patch
      versions. As such, it is not recommended to use it outside of the
      module.
    * Changed MessageBase.rtfEncapInjectableHeader and
      MessageBase.rtfPlainInjectableHeader from str to bytes. They always
      get encoded anyways, so I don't know why I had them returning as str.
    * Updated minimum Python version to 3.8 as 3.6 has reached end of
      support and 3.7 will reach end of support within the year.
    * Updated information in README.

    PR:             270392
    Reported by:    Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>

 textproc/py-extract-msg/Makefile | 2 +-
 textproc/py-extract-msg/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)