diff options
author | Neel Chauhan <nc@FreeBSD.org> | 2021-01-09 16:20:25 +0000 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2021-01-09 16:20:25 +0000 |
commit | d65e60464aeaa5ffb730d9c9968d392c067fa3cf (patch) | |
tree | c89d8855afad5a5bbc4d688590736b079ce5de85 | |
parent | Fix typo from r560867 (diff) |
mail/py-python-slimta: Unbreak import with FreeBSD Python
In order to retain compatibility with Python 2, mail/py-python-slimta mandates
an older version of mail/py-pysasl than what is in Ports. However, lang/python27
has expired so there should be no compatibility issues with FreeBSD.
Reviewed by: 0mp (mentor)
Approved by: 0mp (mentor)
Differential Revision: https://reviews.freebsd.org/D28051
Notes
Notes:
svn path=/head/; revision=560873
-rw-r--r-- | mail/py-python-slimta/Makefile | 1 | ||||
-rw-r--r-- | mail/py-python-slimta/files/patch-setup.py | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/py-python-slimta/Makefile b/mail/py-python-slimta/Makefile index e9e7ae5fadc5..1f4dd1d59288 100644 --- a/mail/py-python-slimta/Makefile +++ b/mail/py-python-slimta/Makefile @@ -2,6 +2,7 @@ PORTNAME= python-slimta PORTVERSION= 4.1.1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/mail/py-python-slimta/files/patch-setup.py b/mail/py-python-slimta/files/patch-setup.py new file mode 100644 index 000000000000..869aa9a07fc1 --- /dev/null +++ b/mail/py-python-slimta/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-01-08 23:33:01 UTC ++++ setup.py +@@ -40,7 +40,7 @@ setup(name='python-slimta', + packages=find_packages(), + namespace_packages=['slimta'], + install_requires=['gevent >= 1.1rc', +- 'pysasl >= 0.4.0, < 0.5', ++ 'pysasl >= 0.4.0', + 'pycares < 3.0.0; python_version < "3.0"', + 'pycares >= 1; python_version >= "3.0"'], + extras_require={'spf': ['pyspf', 'py3dns; python_version >= "3.0"', |