Created attachment 212075 [details] python3 support In getting searx running on python3, I need this to be python 3 compatible, installs fine during testing. So not sure of any downsides to this?
do we need to add a revision line to this for a python version change?
Just stumbled across this as I was about to submit the same thing for getting searx working with python3. I can confirm that this works. Don't see any need to dump port revision. Will automatically get built for 3 when something that needs it for 3 uses it.
Hello, there are problems with making py3 package, see poudriere testport excerpt below [2]. And splinter requires zope.testbrowser >= 5.2.4 according to it's setup.py. New zope.testbrowser 5.2.4 requires WSGIProxy2 [1], that we haven't in ports. So just removing the python limit will not do the thing, imho. [1] https://pypi.org/project/WSGIProxy2/ [2] writing byte-compilation script '/tmp/tmp9039bbav.py' /usr/local/bin/python3.7 /tmp/tmp9039bbav.py File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/browser.py", line 65 def control_form_tuple_repr((ctrl, form)): ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/tests/test_browser.py", line 79 print request_string.replace('\r', '') ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/ftests/wsgitestapp.py", line 51 except Exception, exc: ^ SyntaxError: invalid syntax removing /tmp/tmp9039bbav.py running install_egg_info Copying src/zope.testbrowser.egg-info to /wrkdirs/usr/ports/devel/py-zope.testbrowser/work-py37/stage/usr/local/lib/python3.7/site-packages/zope.testbrowser-4.0.4-py3.7.egg-info Installing /wrkdirs/usr/ports/devel/py-zope.testbrowser/work-py37/stage/usr/local/lib/python3.7/site-packages/zope.testbrowser-4.0.4-py3.7-nspkg.pth running install_scripts writing list of installed files to '/wrkdirs/usr/ports/devel/py-zope.testbrowser/work-py37/.PLIST.pymodtmp' File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/browser.py", line 65 def control_form_tuple_repr((ctrl, form)): ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/tests/test_browser.py", line 79 print request_string.replace('\r', '') ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/ftests/wsgitestapp.py", line 51 except Exception, exc: ^ SyntaxError: invalid syntax
I'll take it.
Hello. AFAIK it was updated to 5.5.1 in r549994