git: fb42cc9264c3 - main - textproc/py-extract-msg: Update to 0.41.2

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 01 Jun 2023 22:30:13 UTC
The branch main has been updated by fuz:

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

commit fb42cc9264c3283a5b8f356d85007443296cb67d
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-05-31 16:42:44 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-01 22:29:22 +0000

    textproc/py-extract-msg: Update to 0.41.2
    
    ChangeLog:
    https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.41.2/CHANGELOG.md
    
    * Updated annotations on MessageBase.save.
    * Added new enum BodyTypes.
    * Added property MessageBase.detectedBodies for detecting what bodies have
      been stored (not generated by the module) in the .msg file.
    
    PR:             271753
---
 textproc/py-extract-msg/Makefile | 8 +++++++-
 textproc/py-extract-msg/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/textproc/py-extract-msg/Makefile b/textproc/py-extract-msg/Makefile
index f176743160e6..7c9f2a912158 100644
--- a/textproc/py-extract-msg/Makefile
+++ b/textproc/py-extract-msg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	extract-msg
-DISTVERSION=	0.41.1
+DISTVERSION=	0.41.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -27,4 +27,10 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=		WKHTMLTOPDF
+OPTIONS_DEFAULT=	WKHTMLTOPDF
+
+WKHTMLTOPDF_DESC=		Enable support for converting the body as PDF
+WKHTMLTOPDF_RUN_DEPENDS=	wkhtmltopdf>0:converters/wkhtmltopdf
+
 .include <bsd.port.mk>
diff --git a/textproc/py-extract-msg/distinfo b/textproc/py-extract-msg/distinfo
index aefc4ed713e6..be229f76463d 100644
--- a/textproc/py-extract-msg/distinfo
+++ b/textproc/py-extract-msg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684534956
-SHA256 (extract_msg-0.41.1.tar.gz) = 873d3c4fd9a60a65147a23d40f8bbbe21c4d9b5197dddbf1535a9ef190aa86de
-SIZE (extract_msg-0.41.1.tar.gz) = 180758
+TIMESTAMP = 1685545746
+SHA256 (extract_msg-0.41.2.tar.gz) = ef3b23e22373ed3b1f5ca6b23c1f80d7fe4af42cc015152ebd7e0734ccaa08ee
+SIZE (extract_msg-0.41.2.tar.gz) = 181338