From nobody Tue Oct 25 18:41:58 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MxglV4cslz4gbY5; Tue, 25 Oct 2022 18:41:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MxglV4B8kz3NH4; Tue, 25 Oct 2022 18:41:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666723318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K2eRBYqdHoanxbDjaZaVciWP+goKXvFCXVI5vmJDU+U=; b=q4no/nkF9D8r8V4du3zMB0lqu29NQtllDtGGzn1c3tcJvb30KIPGz4DfY1rJMWpkP+GBcG g89EPEt4tIh1YPy4QIDIUNaJhDMmci8huXBiGo9ieFPbwk6E05Q/mYmbNG1pZbQVPhuYs6 GtkB2yko5zfEVKpow4QMgIsP/FRnUoRX4GFKytS11Ty6NnMtILaqltEZ0hA4725vFX1/H1 zei1tS/RikgSGRJJLDLQgIXR79O80czbY9UcNVG9ZYXF1DecYI+yyBd/tMiM58JAcBk0r4 p7CrLYKng7VUXqfZQ4VgJ1ktOBIcsdzu2fu5ULxbyEB/InsaGCi0Sb5hBqwXlg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MxglV3F6GznK4; Tue, 25 Oct 2022 18:41:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29PIfw2E020413; Tue, 25 Oct 2022 18:41:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29PIfw9u020412; Tue, 25 Oct 2022 18:41:58 GMT (envelope-from git) Date: Tue, 25 Oct 2022 18:41:58 GMT Message-Id: <202210251841.29PIfw9u020412@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 01e61056c897 - main - Add textproc/py-extract-msg: Extracts emails and attachments saved in MS Outlook's .msg files List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 01e61056c897d9d905c7510a689e45613d12dc6b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666723318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K2eRBYqdHoanxbDjaZaVciWP+goKXvFCXVI5vmJDU+U=; b=oLZbdt0h1tUbtFEZjm0Nm+3hrCq38u+cNfHFOdunmwMEYRG8tz70rCpIkgfxZSez+Os+n9 nkKJ0nwab2+gUxd8zhm6zumTmuCx/LDtdm1PpPg2rAGiW4qHs9/8bRarx1wwOP+7X8Cbx4 8rn8Et5IbaBKB0SCRuIV3C6d0/rvRGG/V+/Mae2IxU1R8i0s4FMynjlFUfG1hbgOvnaXPD BbtIX5O6A2MXI2dzaLX62Lxw0ynEYPmjI4OO0DlkpI7BxJ2u7AQpaLS635he05yuopsKGO N4R3ly3XqjahfI8yQLGpp9NTGj4k7FbwJjZm8YAjME9/N6d4SzXPfjsABg1X+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666723318; a=rsa-sha256; cv=none; b=de5T93lvbSuVy15og5zkaQglda7KR3qRI84uQputn4EBR05Vhp6X5lkXEFrOXmkFm2d7Gf Yl7tHsuZ3+zplW53uk2J7suh535Deowy51M/5m48Y9icV7pfv5UkOUp9x93Dd6kNc3XTRt LgpdsjalRaYr5QbaY5hErOciPfsAYqqTE5MqOEcnWuZ2zXyyYxVvddlC9wOZAxcWJ/0wZo +9X0fvJnkPEl2YrHMwuvU3I7va2rxpHkA8ylR2lvaq7/r5NhoUPnW2eMEhbXMjy3e7Xj27 lqjRycY4LyZo+M1aOE7l/2mQr/TG8u82Aw6Zyj876LxyWKj/p4EdWTIOpVb7Xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=01e61056c897d9d905c7510a689e45613d12dc6b commit 01e61056c897d9d905c7510a689e45613d12dc6b Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2022-09-23 16:41:06 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-25 18:41:38 +0000 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 --- textproc/Makefile | 1 + textproc/py-extract-msg/Makefile | 28 ++++++++++++++++++++++++++++ textproc/py-extract-msg/distinfo | 3 +++ textproc/py-extract-msg/pkg-descr | 3 +++ 4 files changed, 35 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 9d4557912f45..5b5097135fcb 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1327,6 +1327,7 @@ SUBDIR += py-enchant SUBDIR += py-enrich SUBDIR += py-et_xmlfile + SUBDIR += py-extract-msg SUBDIR += py-fastavro SUBDIR += py-feedparser SUBDIR += py-fingerprints diff --git a/textproc/py-extract-msg/Makefile b/textproc/py-extract-msg/Makefile new file mode 100644 index 000000000000..8b0c4160a51b --- /dev/null +++ b/textproc/py-extract-msg/Makefile @@ -0,0 +1,28 @@ +PORTNAME= extract-msg +PORTVERSION= 0.36.3 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= extract_msg-${PORTVERSION} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Extracts emails and attachments saved in MS Outlook's .msg files +WWW= https://github.com/TeamMsgExtractor/msg-extractor + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.11.1:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}chardet>=4.0.0:textproc/py-chardet@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}compressed-rtf>=1.0.6:archivers/py-compressed-rtf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ebcdic>=1.1.1:textproc/py-ebcdic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}imapclient>=2.1.0:mail/py-imapclient@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}olefile>=0.46:devel/py-olefile@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz-deprecation-shim>0:devel/py-pytz-deprecation-shim@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}RTFDE>=0.0.2:textproc/py-RTFDE@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>=4.2:devel/py-tzlocal@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +.include diff --git a/textproc/py-extract-msg/distinfo b/textproc/py-extract-msg/distinfo new file mode 100644 index 000000000000..2bfb37556748 --- /dev/null +++ b/textproc/py-extract-msg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1662216238 +SHA256 (extract_msg-0.36.3.tar.gz) = eb5726ecf9f482aec2323dd06250d76dc514c8dc6f87804fb835bd0106e221c8 +SIZE (extract_msg-0.36.3.tar.gz) = 158680 diff --git a/textproc/py-extract-msg/pkg-descr b/textproc/py-extract-msg/pkg-descr new file mode 100644 index 000000000000..8faa87ebb2e1 --- /dev/null +++ b/textproc/py-extract-msg/pkg-descr @@ -0,0 +1,3 @@ +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.