I have Python 3.4 set as the default. Running repcacheman fails with (s)xanthippe# /usr/bin/repcacheman File "/usr/lib/python-exec/python2.7/repcacheman.py", line 33 print"Must be root" ^ SyntaxError: invalid syntax If I patch /usr/bin/repcacheman to execute /usr/bin/repcacheman.py with python2 it works nicely.
The http-replicator does not seem to like the Python 3 default either. It dies with: 28 Sep 2016 20:26:42 STAT: HttpClient 1 bound to 127.0.0.1 28 Sep 2016 20:26:47 ERROR: HttpClient 1 caught an exception in __getattr__: HttpClient instance has no attribute 'data'
Created attachment 448694 [details, diff] Ebuild patch: Install python scripts correctly This ebuild patch should probably fix it. "python_*script" functions arrange to honor PYTHON_COMPAT, while "python_*exe" do not. (Adapted from the changes in the final version attached to bug 442874; only the next-to-final version made into the tree.)
[master 821f1a7] net-proxy/http-replicator: Fix python2 usage when python3 is default interpreter (#595434) 1 file changed, 85 insertions(+) create mode 100644 net-proxy/http-replicator/http-replicator-3.0-r7.ebuild