Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616942 - net-firewall/ufw: Add support for python 3.6
Summary: net-firewall/ufw: Add support for python 3.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 06:36 UTC by fhede
Modified: 2017-05-11 22:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fhede 2017-04-29 06:36:01 UTC
Updated to python 3.6.

[ebuild   R    ] net-firewall/ufw-0.35  PYTHON_TARGETS="-python3_4*"
Comment 1 Michael Orlitzky gentoo-dev 2017-05-07 00:05:23 UTC
If you edit the ebuild to accept python-3.6, does ufw then actually work when python-3.6 is used as your interpreter?
Comment 2 fhede 2017-05-07 09:13:46 UTC
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.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-07 10:01:41 UTC
(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).
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-07 10:02:05 UTC
As in:

PYTHON_COMPAT_OVERRIDE='python3_6' emerge -1v ufw
Comment 5 fhede 2017-05-07 14:57:54 UTC
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.
Comment 6 Michael Orlitzky gentoo-dev 2017-05-11 22:41:58 UTC
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