Port details |
- py-mail-parser Wrapper for email standard library
- 3.15.0_1 mail =3 3.15.0_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2019-02-04 00:01:36
- Last Update: 2024-05-13 14:02:08
- Commit Hash: d6b5053
- People watching this port, also watch:: nagios-check_hdd_health, nuitka-py311, monit, py39-beautifulsoup, openmdns
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/SpamScope/mail-parser
- Description:
- mail-parser is not only a wrapper for email Python Standard Library. It give you
an easy way to pass from raw mail to Python object that you can use in your
code. It's the key module of SpamScope.
mail-parser can parse Outlook email format (.msg) with msgconvert from
mail/p5-Email-Outlook-Message.
mail-parser takes as input a raw email and generates a parsed object. The
properties of this object are the same name of RFC headers: bcc, cc, date,
delivered_to, from_ (not from because is a keyword of Python), message_id,
received, reply_to, subject, to.
There are other properties to get: body, body html, body plain, headers,
attachments, sender IP address, to domains, timezone.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mail-parser>0:mail/py-mail-parser@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/mail/py-mail-parser/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/py-mail-parser
- pkg install py39-mail-parser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-mail-parser listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-mail-parser
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1614794306
SHA256 (mail-parser-3.15.0.tar.gz) = d66638acf0633dfd8a718e1e3646a6d58f8e9d75080c94638c7b267b4b0d6c86
SIZE (mail-parser-3.15.0.tar.gz) = 18001
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- msgconvert : mail/p5-Email-Outlook-Message
- py39-simplejson>=3.17.0 : devel/py-simplejson@py39
- py39-six>=1.14.0 : devel/py-six@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- mail/py-mailsuite
Configuration Options:
- No options to configure
- Options name:
- mail_py-mail-parser
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.15.0_1 13 May 2024 14:02:08 |
Po-Chuan Hsieh (sunpoet) |
mail/py-mail-parser: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
3.15.0 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
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> |
3.15.0 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
3.15.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
3.15.0 20 Jul 2022 14:22:19 |
Tobias C. Berner (tcberner) |
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net> (Only the first 15 lines of the commit message are shown above ) |
3.15.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
3.15.0 07 Mar 2021 22:21:18 |
sunpoet |
Update to 3.15.0
Changes: https://github.com/SpamScope/mail-parser/releases |
3.14.0 10 Jan 2021 08:21:39 |
sunpoet |
Clean up RUN_DEPENDS after r559531 (USES=python:3.6+) |
3.14.0 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
3.14.0 13 Dec 2020 14:43:09 |
sunpoet |
Update to 3.14.0
Changes: https://github.com/SpamScope/mail-parser/releases |
3.13.0 10 Dec 2020 21:40:50 |
sunpoet |
Update to 3.13.0
Changes: https://github.com/SpamScope/mail-parser/releases |
3.12.0_1 02 Feb 2020 14:24:56 |
sunpoet |
Convert REINPLACE_CMD to patch file |
3.12.0_1 02 Feb 2020 11:01:01 |
sunpoet |
Limit ipaddress for Python prior to 3.3
- Bump PORTREVISION for package change |
3.12.0 29 Jan 2020 19:15:50 |
sunpoet |
Remove unnecessary requires.txt patch |
3.12.0 27 Jan 2020 20:09:01 |
sunpoet |
Update to 3.12.0
Changes: https://github.com/SpamScope/mail-parser/releases |
3.11.0 13 Jan 2020 17:41:41 |
sunpoet |
Update to 3.11.0
Changes: https://github.com/SpamScope/mail-parser/releases |
3.10.0 08 Jan 2020 14:51:04 |
sunpoet |
Update to 3.10.0
Changes: https://github.com/SpamScope/mail-parser/releases |
3.9.3_1 10 Apr 2019 06:18:32 |
antoine |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
3.9.3 23 Mar 2019 12:40:04 |
sunpoet |
Update to 3.9.3
Changes: https://github.com/SpamScope/mail-parser/releases
https://github.com/SpamScope/mail-parser/commits/develop |
3.9.2 06 Feb 2019 20:27:51 |
sunpoet |
Update to 3.9.2
- Add NO_ARCH
Changes: https://github.com/SpamScope/mail-parser/releases
https://github.com/SpamScope/mail-parser/commits/develop |
3.9.1 04 Feb 2019 00:01:11 |
sunpoet |
Add py-mail-parser 3.9.1
mail-parser is not only a wrapper for email Python Standard Library. It give you
an easy way to pass from raw mail to Python object that you can use in your
code. It's the key module of SpamScope.
mail-parser can parse Outlook email format (.msg) with msgconvert from
mail/p5-Email-Outlook-Message.
mail-parser takes as input a raw email and generates a parsed object. The
properties of this object are the same name of RFC headers: bcc, cc, date,
delivered_to, from_ (not from because is a keyword of Python), message_id,
received, reply_to, subject, to.
There are other properties to get: body, body html, body plain, headers,
attachments, sender IP address, to domains, timezone.
WWW: https://github.com/SpamScope/mail-parser |