notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-mail-parser Wrapper for email standard library
3.15.0_1 mail on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.15.0_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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>)
  • py39: py39-mail-parser
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):
py37-mail-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--3.14.0---3.14.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-mail-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--3.15.0--3.15.03.15.03.15.0
FreeBSD:14:latest--3.15.0--3.15.0-3.15.0
FreeBSD:14:quarterly-----3.15.03.15.03.15.0
FreeBSD:15:latest--n/a-n/a3.15.03.15.03.15.0
 
py311-mail-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.15.0_13.15.0_1-3.15.0_13.15.0_1---
FreeBSD:13:quarterly3.15.0_13.15.0_1-3.15.0_13.15.0_1---
FreeBSD:14:latest3.15.0_13.15.0_1-3.15.0_13.15.0_1---
FreeBSD:14:quarterly3.15.0_13.15.0_1-3.15.0_13.15.0_1---
FreeBSD:15:latest3.15.0_13.15.0_1n/a3.15.0_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=0 : devel/py-setuptools@py39
  2. py39-wheel>=0 : devel/py-wheel@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. msgconvert : mail/p5-Email-Outlook-Message
  2. py39-simplejson>=3.17.0 : devel/py-simplejson@py39
  3. py39-six>=1.14.0 : devel/py-six@py39
  4. python3.9 : lang/python39
This port is required by:
for Run
  1. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/m/mail-parser/
  2. https://pypi.org/packages/source/m/mail-parser/
Collapse this list.

Number of commits found: 22

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.15.0_1
13 May 2024 14:02:08
commit hash: d6b5053fedca33b7c10c23bf9448b4d35b379239commit hash: d6b5053fedca33b7c10c23bf9448b4d35b379239commit hash: d6b5053fedca33b7c10c23bf9448b4d35b379239commit hash: d6b5053fedca33b7c10c23bf9448b4d35b379239 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
mail/py-mail-parser: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
3.15.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
3.15.0
20 Jul 2022 14:22:19
commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
3.15.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.15.0
07 Mar 2021 22:21:18
Revision:567692Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.15.0

Changes:	https://github.com/SpamScope/mail-parser/releases
3.14.0
10 Jan 2021 08:21:39
Revision:560956Original commit files touched by this commit
sunpoet search for other commits by this committer
Clean up RUN_DEPENDS after r559531 (USES=python:3.6+)
3.14.0
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
3.14.0
13 Dec 2020 14:43:09
Revision:557929Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.14.0

Changes:	https://github.com/SpamScope/mail-parser/releases
3.13.0
10 Dec 2020 21:40:50
Revision:557582Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.13.0

Changes:	https://github.com/SpamScope/mail-parser/releases
3.12.0_1
02 Feb 2020 14:24:56
Revision:524958Original commit files touched by this commit
sunpoet search for other commits by this committer
Convert REINPLACE_CMD to patch file
3.12.0_1
02 Feb 2020 11:01:01
Revision:524884Original commit files touched by this commit
sunpoet search for other commits by this committer
Limit ipaddress for Python prior to 3.3

- Bump PORTREVISION for package change
3.12.0
29 Jan 2020 19:15:50
Revision:524581Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove unnecessary requires.txt patch
3.12.0
27 Jan 2020 20:09:01
Revision:524421Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.12.0

Changes:	https://github.com/SpamScope/mail-parser/releases
3.11.0
13 Jan 2020 17:41:41
Revision:522903Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.11.0

Changes:	https://github.com/SpamScope/mail-parser/releases
3.10.0
08 Jan 2020 14:51:04
Revision:522406Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.10.0

Changes:	https://github.com/SpamScope/mail-parser/releases
3.9.3_1
10 Apr 2019 06:18:32
Revision:498530Original commit files touched by this commit
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
3.9.3
23 Mar 2019 12:40:04
Revision:496649Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:492322Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:492091Original commit files touched by this commit
sunpoet search for other commits by this committer
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

Number of commits found: 22