Systemd has supported Python 3 for some time, but the Gentoo ebuild hasn't been updated to reflect this. This small patch does the trick nicely. --- systemd-208-r2.ebuild 2014-01-15 18:22:58.676353931 +0000 +++ systemd-208-r3.ebuild 2014-01-15 14:51:32.306342634 +0000 @@ -5,7 +5,7 @@ EAPI=5 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python{2_7,3_2,3_3} ) inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \ multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \ user
Seems trivial, is something blocking it?
None of the systemd maintainers have verified that python3 will work. We are not going to enable it without doing so. This is a fairly low priority; the python-devel stuff isn't very useful to most users.
I did some basic testing; mainly reading the journal using the systemd.journal module. + 16 Feb 2014; Mike Gilbert <floppym@gentoo.org> systemd-208-r3.ebuild, + systemd-9999.ebuild: + Enabled python3 support, bug 498190.