setconf uses the encoding kwarg to open(), which isn't supported in Python 2. It should probably depend on dev-lang/python:3 and have the #! line fixed for those with python 2 as their system default. There is a quick workaround if you wish to support 2 & 3, as codecs.open does support the encoding kwarg. [Perhaps there are other Python 3 things that would need patching, I didn't look beyond that.] Thanks, James Reproducible: Always
bumped to 0.6.2 and made it use /usr/bin/python3 and if eg. Python 3.5 gets released in future that breaks this, then I'll deal with it again, but for now, allow all 3.x
Python team officially condemns you for using 'python3'. This is completely disallowed in ways involving the Spanish Inquisition.
(In reply to Michał Górny from comment #2) > Python team officially condemns you for using 'python3'. This is completely > disallowed in ways involving the Spanish Inquisition. why?
what should I be calling for 'any python 3.x', the future, and the present?
(In reply to Samuli Suominen from comment #4) > what should I be calling for 'any python 3.x', the future, and the present? You are not. You are likely looking for python-single-r1.
(In reply to Michał Górny from comment #5) > (In reply to Samuli Suominen from comment #4) > > what should I be calling for 'any python 3.x', the future, and the present? > > You are not. You are likely looking for python-single-r1. I don't like it, but it's done... http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild?r1=1.1&r2=1.2
It seems that upstream has adjusted it for python2/3 compatibility in the 0.6.2 release. https://github.com/xyproto/setconf/commit/fc6ec960aeaa9c1f246016728f3f7cd7ae999cfc