aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-ldaptor/files
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2017-08-19 18:43:06 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:23:23 +0800
commitf8e813d7d82285a3d81819b12dd846eec1415956 (patch)
treec39969cf8feaad3d235301ee23df73d8a1dfb660 /net/py-ldaptor/files
parentdc3a2d7cdcc351502199a326c669c7818b127e6d (diff)
downloadfreebsd-ports-gnome-f8e813d7d82285a3d81819b12dd846eec1415956.tar.gz
freebsd-ports-gnome-f8e813d7d82285a3d81819b12dd846eec1415956.tar.zst
freebsd-ports-gnome-f8e813d7d82285a3d81819b12dd846eec1415956.zip
net/py-ldaptor: Limit to 2.7 (Does not support Python 3.x)
This port depends on Twisted, which supports Python 3.x as of a number of versions ago for some growing number of its components. On initial view, ldaptor appears inconsistent (at least not explicit) in its state of Python 3.x support for its latest version (16.0.0, not this ports version, 0.0.43) - A Python 3 compatible wheel is available on PyPI - Python 3.3-3.5 are included in tox.ini for testing However: - Travis CI configuration only tests with 2.7 - Open "Python3 support #55" upstream issue [1] Additionally, Twisted/Python3 support aside, test builds (without USES=twisted declared), results in a build error at configure time: SyntaxError: invalid syntax This change limits build support to Python 2.7 accordingly. While I'm here: - Pet portlint: LICENSE [2], PLIST_FILES, makepatch. [1] https://github.com/twisted/ldaptor/issues/55 [2] https://github.com/twisted/ldaptor/commit/7e249b1586789a5c588f662ce74ee9f4338666e0 PR: 219323 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) MFH: 2017Q3
Diffstat (limited to 'net/py-ldaptor/files')
-rw-r--r--net/py-ldaptor/files/patch-setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/py-ldaptor/files/patch-setup.py b/net/py-ldaptor/files/patch-setup.py
index 758ad1db1e06..527e1b8cd536 100644
--- a/net/py-ldaptor/files/patch-setup.py
+++ b/net/py-ldaptor/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2013-12-13 13:49:46.929425897 -0200
-+++ setup.py 2013-12-13 13:49:58.999423613 -0200
-@@ -154,7 +154,6 @@
+--- setup.py.orig 2011-06-10 07:02:47 UTC
++++ setup.py
+@@ -154,7 +154,6 @@ from the command line.
'build_locale': build_locale,
'clean': clean,
'clean_locale': clean_locale,