From nobody Fri Oct 7 18:53:13 2022 X-Original-To: dev-commits-ports-all@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 4Mkcrn52VYz4dcnw; Fri, 7 Oct 2022 18:53:13 +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 4Mkcrn4RV2z3RZr; Fri, 7 Oct 2022 18:53:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665168793; 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=qIKRraPmIWOTO5E+3pIJmYNNSTK2ck2R+MVPYOJXjG8=; b=d/HCpjQOBJ9IDX+Do5DJcNOvgMEKuJ2wwfRH+VxMLBz//wLAxbltQwHC9JP0uvWd3SoL/o BRG6xmhF/DHW6df30a/Kdwd8yh1+lzd2muSCMnKTfpIfFGVkS1DuCobeBgcEV3Fb0fYI9A lF+g14BlV56KSerg6daATLMaMQhtT+ACwJE0dS4vLQRO87FHxDSQJ3MmzHi/e89y8PMcUH l99zCVDzOa2wG35fcfvD9Ehty4hfnN7elPR9yoZntftIsELJrLEVDuUb8pxaFrvsn+Nvce GxThya+v6UZ0CwivyP/cl76pIBlNHOGhWUsbT60N63lUT9/IcZ0d6C31yK4WaA== 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 4Mkcrn3TwjzhP7; Fri, 7 Oct 2022 18:53:13 +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 297IrD8p010839; Fri, 7 Oct 2022 18:53:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 297IrD3u010838; Fri, 7 Oct 2022 18:53:13 GMT (envelope-from git) Date: Fri, 7 Oct 2022 18:53:13 GMT Message-Id: <202210071853.297IrD3u010838@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 0f25b4b3355d - main - mail/py-mailsuite: Update to 1.9.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f25b4b3355d6e8288bf7aec4fb335c3ee909449 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665168793; 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=qIKRraPmIWOTO5E+3pIJmYNNSTK2ck2R+MVPYOJXjG8=; b=QTETw6aWYRRPjTsaUAuTJ5Woe+z5d67wVJ+Af9QDJzd2+Ds8Y4CzEgGgyWJUpnHL1VQW88 8P0ZzUpCozU5j4B/+221yS65poRcC/BBGcoU9tgYgg6BP+qA7klAVRetOLkouhUM2fUmhu QTH+8bOrsYQlPLmPR0DR4fePvCqoAtieVyARC0W0AGyGGCvqdd1dEjII9qQKduFw769Tcc dHV7g2UHzqMF4J9ePoc9SMci2gqAfD6gOO9DxemBtKiMYhnvxDUtS0yzetw8cpZiPcEba2 24aB24pt+GnqiYZ56mC+MGHrbW7dYTvyrBKZfndb1kvihIJvy8i752mk9uj31w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665168793; a=rsa-sha256; cv=none; b=Nbl4d3c55OjRtuPydOnrwY+F4fwfMS17PU+/1N3ABSO6KztErCwt9CqlKX2+tGnAFb5yQb kg6J+Ddu8JORx17Mw0XHfJEq128nfapBMWNRER1BTMgLM+dM2KYNQs18+1MmbXHYMWH0SY XWHR1J5JCk+Hl685ZgsGmNlUni09z33oX6JmLlVnbdggM44E249ZTg2GV/C/OC2sqe3xxs vZTP0xdYR+ckoLo8ffTeIQo/8Mjj59H5FWHXnYvMiybb4ep5FFDyn7A3CFu+FZivBLoYdl y1tTt50Ge7pgSqxiXeLqHMhVq2Tu8WqgkGI+jyCfkIoeYTN3lbjUsYGgpe3Gfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f25b4b3355d6e8288bf7aec4fb335c3ee909449 commit 0f25b4b3355d6e8288bf7aec4fb335c3ee909449 Author: Goran Mekić AuthorDate: 2022-10-07 18:51:03 +0000 Commit: Nuno Teixeira CommitDate: 2022-10-07 18:53:02 +0000 mail/py-mailsuite: Update to 1.9.9 As pyproject.toml support is going to take a while, I think it's better to update the port somehow then leave it with the way too old version. Once we as Python FreeBSD resolve how to build PEP-517 ports, I will change this port accordingly. ChangeLog: https://github.com/seanthegeek/mailsuite/blob/master/CHANGELOG.md#199 PR: 265356 --- mail/py-mailsuite/Makefile | 5 ++- mail/py-mailsuite/distinfo | 6 +-- mail/py-mailsuite/files/patch-setup.py | 79 ++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 4 deletions(-) diff --git a/mail/py-mailsuite/Makefile b/mail/py-mailsuite/Makefile index 3448b1c3f9da..2fadd2536877 100644 --- a/mail/py-mailsuite/Makefile +++ b/mail/py-mailsuite/Makefile @@ -1,5 +1,5 @@ PORTNAME= mailsuite -DISTVERSION= 1.7.3 +DISTVERSION= 1.9.9 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,4 +21,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + ${RM} ${WRKSRC}/pyproject.toml + .include diff --git a/mail/py-mailsuite/distinfo b/mail/py-mailsuite/distinfo index 3f1e94359d35..b9924cf3d966 100644 --- a/mail/py-mailsuite/distinfo +++ b/mail/py-mailsuite/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1656949682 -SHA256 (mailsuite-1.7.3.tar.gz) = d959f77ef62e93eb9419b2ca07f082d17ff0bd304023d3ba28f02984c6f0ab98 -SIZE (mailsuite-1.7.3.tar.gz) = 15758 +TIMESTAMP = 1664710367 +SHA256 (mailsuite-1.9.9.tar.gz) = e3d58f8c82d560cd43468937d0dfa250f1359dc126974c7f9ff9e7b4d0043e76 +SIZE (mailsuite-1.9.9.tar.gz) = 16574 diff --git a/mail/py-mailsuite/files/patch-setup.py b/mail/py-mailsuite/files/patch-setup.py new file mode 100644 index 000000000000..386b312356da --- /dev/null +++ b/mail/py-mailsuite/files/patch-setup.py @@ -0,0 +1,79 @@ +--- setup.py.orig 2022-07-21 12:47:45 UTC ++++ setup.py +@@ -0,0 +1,76 @@ ++#!/usr/bin/env python3 ++# -*- coding: utf-8 -*- ++ ++"""A setuptools based setup module. ++See: ++https://packaging.python.org/en/latest/distributing.html ++https://github.com/pypa/sampleproject ++""" ++ ++ ++# To use a consistent encoding ++from codecs import open ++from os import path ++ ++# Always prefer setuptools over distutils ++from setuptools import setup ++ ++description = ( ++ "A Python package for retrieving, parsing, scanning, and " "sending emails" ++) ++here = path.abspath(path.dirname(__file__)) ++ ++# Get the long description from the README file ++with open(path.join(here, "README.md"), encoding="utf-8") as f: ++ long_description = f.read() ++ ++setup( ++ name="mailsuite", ++ # Versions should comply with PEP440. For a discussion on single-sourcing ++ # the version across setup.py and the project code, see ++ # https://packaging.python.org/en/latest/single_source_version.html ++ version="1.9.9", ++ description=description, ++ long_description=long_description, ++ # The project's main homepage. ++ url="https://seanthegeek.github.io/mailsuite/", ++ # Author details ++ author="Sean Whalen", ++ author_email="whalenster@gmail.com", ++ # See https://pypi.python.org/pypi?%3Aaction=list_classifiers ++ classifiers=[ ++ # How mature is this project? Common values are ++ # 3 - Alpha ++ # 4 - Beta ++ # 5 - Production/Stable ++ "Development Status :: 5 - Production/Stable", ++ # Indicate who your project is intended for ++ "Intended Audience :: Developers", ++ "Intended Audience :: Information Technology", ++ "Operating System :: OS Independent", ++ # Specify the Python versions you support here. In particular, ensure ++ # that you indicate whether you support Python 2, Python 3 or both. ++ "Programming Language :: Python :: 3", ++ ], ++ # What does your project relate to? ++ keywords="email,SMTP,IMAP, YARA", ++ # You can just specify the packages manually here if your project is ++ # simple. Or you can use find_packages(). ++ packages=["mailsuite"], ++ # Alternatively, if you want to distribute just a my_module.py, uncomment ++ # this: ++ # py_modules=["mailsuite"], ++ # List run-time dependencies here. These will be installed by pip when ++ # your project is installed. For an analysis of "install_requires" vs pip's ++ # requirements files see: ++ # https://packaging.python.org/en/latest/requirements.html ++ install_requires=[ ++ "IMAPClient>=2.1.0", ++ "mail-parser>=3.14.0", ++ "dnspython>=2.0.0", ++ "html2text>=2020.1.16", ++ "publicsuffix2>=2.20190812", ++ "expiringdict==1.2.2", ++ "yara-python>=4.2.0", ++ ], ++)