mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
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] 7e249b1586
PR: 219323
Reported by: Johannes Jost Meixner
Approved by: portmgr (blanket)
MFH: 2017Q3
10 lines
359 B
Python
10 lines
359 B
Python
--- 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,
|
|
- 'install': install,
|
|
'install_locale': install_locale,
|
|
},
|
|
|