svn commit: r560873 - in head/mail/py-python-slimta: . files

Neel Chauhan nc at FreeBSD.org
Sat Jan 9 16:20:26 UTC 2021


Author: nc
Date: Sat Jan  9 16:20:25 2021
New Revision: 560873
URL: https://svnweb.freebsd.org/changeset/ports/560873

Log:
  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

Added:
  head/mail/py-python-slimta/files/
  head/mail/py-python-slimta/files/patch-setup.py   (contents, props changed)
Modified:
  head/mail/py-python-slimta/Makefile

Modified: head/mail/py-python-slimta/Makefile
==============================================================================
--- head/mail/py-python-slimta/Makefile	Sat Jan  9 16:00:21 2021	(r560872)
+++ head/mail/py-python-slimta/Makefile	Sat Jan  9 16:20:25 2021	(r560873)
@@ -2,6 +2,7 @@
 
 PORTNAME=	python-slimta
 PORTVERSION=	4.1.1
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Added: head/mail/py-python-slimta/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-python-slimta/files/patch-setup.py	Sat Jan  9 16:20:25 2021	(r560873)
@@ -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"',


More information about the svn-ports-all mailing list