git: dd0eba71adbe - main - textproc/py-extract-msg: update to 0.40.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 11:31:49 UTC
The branch main has been updated by tagattie:

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(-)

diff --git a/textproc/py-extract-msg/Makefile b/textproc/py-extract-msg/Makefile
index d5eb7d619d30..bb65a29bff11 100644
--- a/textproc/py-extract-msg/Makefile
+++ b/textproc/py-extract-msg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	extract-msg
-DISTVERSION=	0.39.2
+DISTVERSION=	0.40.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/py-extract-msg/distinfo b/textproc/py-extract-msg/distinfo
index 69a7bb9ec69c..7574cbbb223e 100644
--- a/textproc/py-extract-msg/distinfo
+++ b/textproc/py-extract-msg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678019998
-SHA256 (extract_msg-0.39.2.tar.gz) = 87710f998b2c81b4cd8df55bdf8cfd79edb1360110fa468e4dab17f436a3a8af
-SIZE (extract_msg-0.39.2.tar.gz) = 175540
+TIMESTAMP = 1679435028
+SHA256 (extract_msg-0.40.0.tar.gz) = df8c15b1a7be2bf8ad5f71ad0f969e244d1d834445300f3459de683e463d391d
+SIZE (extract_msg-0.40.0.tar.gz) = 181046