Updated to python 3.6. [ebuild R ] net-firewall/ufw-0.35 PYTHON_TARGETS="-python3_4*"
If you edit the ebuild to accept python-3.6, does ufw then actually work when python-3.6 is used as your interpreter?
I created a local overlay. And added, PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) ebuild N ] net-firewall/ufw-0.35 USE="ipv6 -examples" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" Ufw build and running fine like before.
(In reply to fhede from comment #2) > I created a local overlay. And added, > PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) > > ebuild N ] net-firewall/ufw-0.35 USE="ipv6 -examples" > PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" > > Ufw build and running fine like before. But are you sure it's using 3.6 and not 2.7? ;-) BTW you can use PYTHON_COMPAT_OVERRIDE='python3_6' to not have to copy the ebuild. It will just override whatever's in the ebuild (and USE).
As in: PYTHON_COMPAT_OVERRIDE='python3_6' emerge -1v ufw
No im not sure i was using python 3.6 ;-) I have this output after i tried you command. * WARNING: PYTHON_COMPAT_OVERRIDE in effect. The following Python * implementations will be enabled: * * python3_6 * * Dependencies won't be satisfied, and PYTHON_TARGETS will be ignored. Ufw build and run fine.
what could possibly go wrong =) commit c97417799ea3291668efb15897c783c73c12a0d2 Author: Michael Orlitzky <mjo@gentoo.org> Date: Thu May 11 18:37:52 2017 -0400 net-firewall/ufw: new revision with python-3.6 support. Gentoo-Bug: 616942 Package-Manager: Portage-2.3.3, Repoman-2.3.1