extract_msg extracts emails and attachments saved in Microsoft
Outlook's .msg files. It automates the extraction of key email data
(from, to, cc, date, subject, body) and the email's attachments.
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
textproc/py-extract-msg: Update 0.48.5 → 0.48.7
Changelog:
v0.48.7
[TeamMsgExtractor #420] Fixed typo introduced in last version.
v0.48.6
[TeamMsgExtractor #417] Fixed issues with openMsg where some
corrupted MSG files could end up throwing an uncaught exception
and leaving the file handle open.
https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.48.7/CHANGELOG.md
PR: 280907
textproc/py-extract-msg: Update version 0.45.0=>0.46.2
* Adjusted typing information on regular expressions. They were using a
subscript that was added in Python 3.9 (apparently that is something
the type checker doesn't check for), which made the module incompatible
with Python 3.8. If you are using Python 3.9 or higher a version check
will switch to the more specific typing.
ChangeLog:
https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.46.2/CHANGELOG.md
PR: 275202
Approved by: submitter is maintainer
textproc/py-extract-msg: Update to 0.45.0
* Add devel/py-red-black-tree-mod dependency.
ChangeLog:
https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.45.0/CHANGELOG.md
* BREAKING: Changed parsing of string multiple properties to remove the trailing
null byte. This *will* cause the output of parsing them to differ.
* Updated typing information for some functions and classes.
* Fixed a bug with `MessageSignedBase.attachments` that would cause it to return
None instead of an empty list if the number of normal attachments was 0 was
the error behavior was set to ignore violations of the standard.
* Updated `MessageSignedBase.attachments` to use `functools.cached_property`
instead of `property`.
(Only the first 15 lines of the commit message are shown above )
textproc/py-extract-msg: Update to 0.44.0
ChangeLog:
https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.44.0/CHANGELOG.md
* Fixed a bug that caused MessageBase.headerInit to always return False after
the 0.42.0 update.
* Changed MessageBase.headerInit to a property.
* Fixed extract_msg.utils.__all__.
* Minor regoanization within extract_msg/utils.py.
* Minor changes to docstrings.
* Minor README updates.
* Fix issue with folded header fields decoding incorrectly when given to
extract_msg.utils.decodeRfc2047.
PR: 273062
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
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: 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: Update to 0.39.2
ChangeLog:
https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.39.2/CHANGELOG.md
* Fixed issues with AttachmentBase.name that could cause it to generate
wrong.
* Added convenience function MSGFile.exportBytes which returns the
exported version from MSGFile.export as bytes instead of writing
it to a file or file-like object.
PR: 269975
Add textproc/py-extract-msg: Extracts emails and attachments saved in MS
Outlook's .msg files
msg-extract extracts emails and attachments saved in Microsoft
Outlook's .msg files. It automates the extraction of key email data
(from, to, cc, date, subject, body) and the email's attachments.
WWW: https://github.com/TeamMsgExtractor/msg-extractor
PR: 265765