[py3porters-devel] Starting Points!

Alexandre Detiste alexandre.detiste at gmail.com
Thu May 28 15:31:35 UTC 2015


Le jeudi 28 mai 2015, 09:37:55 Paul R. Tagliamonte a écrit :
> Hey Folks!
> 
> What starting points are needed? I'm seeing mails kinda peter out --
> how can I help get tasks ordered for folks?
> 
> Sorry I've been so bad about keeping up here, been busy!
> 
> Much love,
>   Paul
> 
> 

Hi,

On some of my systemds, the _only_ thing
that keep python2 installed is lsb-release;
itself a depedendy of unattended-upgrades,
but also needed by piuparts on the infra servers.

But well, there is already #719063 & #761954...

2to3 says one just needs to remove this single line hereunder;
but then a new /usr/lib/python3.4/dist-packages/lsb_release.py
must too get generated, with the same 1 line removed,
and /usr/lib/python2.7/dist-packages/lsb_release.py remain unchanged.

Alexandre

--- /usr/bin/lsb_release        (original)
+++ /usr/bin/lsb_release        (refactored)
@@ -18,7 +18,7 @@
 #    02110-1301 USA
 
 # Python3-compatible print() function
-from __future__ import print_function
+


----

debian-goodies, as standalone "applications", should be easy too;
2to3 does 99% of the work

file $(dpkg -L debian-goodies | grep bin) | grep Python
/usr/sbin/checkrestart      
/usr/bin/which-pkg-broke
/usr/bin/popbugs



More information about the py3porters-devel mailing list