View | Details | Raw Unified | Return to bug 265356 | Differences between
and this patch

Collapse All | Expand All

(-)b/mail/py-mailsuite/Makefile (-1 / +4 lines)
Lines 1-5 Link Here
1
PORTNAME=	mailsuite
1
PORTNAME=	mailsuite
2
DISTVERSION=	1.7.3
2
DISTVERSION=	1.9.9
3
CATEGORIES=	mail python
3
CATEGORIES=	mail python
4
MASTER_SITES=	CHEESESHOP
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 21-24 USE_PYTHON= autoplist concurrent distutils Link Here
21
21
22
NO_ARCH=	yes
22
NO_ARCH=	yes
23
23
24
post-patch:
25
	${RM} ${WRKSRC}/pyproject.toml
26
24
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)b/mail/py-mailsuite/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1656949682
1
TIMESTAMP = 1664710367
2
SHA256 (mailsuite-1.7.3.tar.gz) = d959f77ef62e93eb9419b2ca07f082d17ff0bd304023d3ba28f02984c6f0ab98
2
SHA256 (mailsuite-1.9.9.tar.gz) = e3d58f8c82d560cd43468937d0dfa250f1359dc126974c7f9ff9e7b4d0043e76
3
SIZE (mailsuite-1.7.3.tar.gz) = 15758
3
SIZE (mailsuite-1.9.9.tar.gz) = 16574
(-)b/mail/py-mailsuite/files/patch-setup.py (-1 / +79 lines)
Added Link Here
0
- 
1
--- setup.py.orig	2022-07-21 12:47:45 UTC
2
+++ setup.py
3
@@ -0,0 +1,76 @@
4
+#!/usr/bin/env python3
5
+# -*- coding: utf-8 -*-
6
+
7
+"""A setuptools based setup module.
8
+See:
9
+https://packaging.python.org/en/latest/distributing.html
10
+https://github.com/pypa/sampleproject
11
+"""
12
+
13
+
14
+# To use a consistent encoding
15
+from codecs import open
16
+from os import path
17
+
18
+# Always prefer setuptools over distutils
19
+from setuptools import setup
20
+
21
+description = (
22
+    "A Python package for retrieving, parsing, scanning, and " "sending emails"
23
+)
24
+here = path.abspath(path.dirname(__file__))
25
+
26
+# Get the long description from the README file
27
+with open(path.join(here, "README.md"), encoding="utf-8") as f:
28
+    long_description = f.read()
29
+
30
+setup(
31
+    name="mailsuite",
32
+    # Versions should comply with PEP440.  For a discussion on single-sourcing
33
+    # the version across setup.py and the project code, see
34
+    # https://packaging.python.org/en/latest/single_source_version.html
35
+    version="1.9.9",
36
+    description=description,
37
+    long_description=long_description,
38
+    # The project's main homepage.
39
+    url="https://seanthegeek.github.io/mailsuite/",
40
+    # Author details
41
+    author="Sean Whalen",
42
+    author_email="whalenster@gmail.com",
43
+    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
44
+    classifiers=[
45
+        # How mature is this project? Common values are
46
+        #   3 - Alpha
47
+        #   4 - Beta
48
+        #   5 - Production/Stable
49
+        "Development Status :: 5 - Production/Stable",
50
+        # Indicate who your project is intended for
51
+        "Intended Audience :: Developers",
52
+        "Intended Audience :: Information Technology",
53
+        "Operating System :: OS Independent",
54
+        # Specify the Python versions you support here. In particular, ensure
55
+        # that you indicate whether you support Python 2, Python 3 or both.
56
+        "Programming Language :: Python :: 3",
57
+    ],
58
+    # What does your project relate to?
59
+    keywords="email,SMTP,IMAP, YARA",
60
+    # You can just specify the packages manually here if your project is
61
+    # simple. Or you can use find_packages().
62
+    packages=["mailsuite"],
63
+    # Alternatively, if you want to distribute just a my_module.py, uncomment
64
+    # this:
65
+    # py_modules=["mailsuite"],
66
+    # List run-time dependencies here.  These will be installed by pip when
67
+    # your project is installed. For an analysis of "install_requires" vs pip's
68
+    # requirements files see:
69
+    # https://packaging.python.org/en/latest/requirements.html
70
+    install_requires=[
71
+        "IMAPClient>=2.1.0",
72
+        "mail-parser>=3.14.0",
73
+        "dnspython>=2.0.0",
74
+        "html2text>=2020.1.16",
75
+        "publicsuffix2>=2.20190812",
76
+        "expiringdict==1.2.2",
77
+        "yara-python>=4.2.0",
78
+    ],
79
+)

Return to bug 265356