Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 735324

Summary: dev-util/gtk-builder-convert: need py3 port
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: kfm, sam, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://trac.macports.org/browser/trunk/dports/x11/gtk2/files?rev=50710
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694800, 741408, 741410, 741412    
Deadline: 2020-10-26   
Attachments: changed python2_7 to python3_7 and added patch file
patch for new ebuild

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-02 14:18:51 UTC
Please port to py3.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-01 10:04:21 UTC
ping.
Comment 2 kfm 2020-09-27 14:14:18 UTC
This issue arose a long time ago in the MacPorts project. It seems that there is little that needs to be done other than to replace some offending print statements.

https://trac.macports.org/export/50710/trunk/dports/x11/gtk2/files/patch-gtk-builder-convert.diff

This might be worth doing, especially as sys-apps/gsmartcontrol is popular.
Comment 3 devfx11 2020-09-27 15:06:54 UTC
Created attachment 662671 [details]
changed python2_7 to python3_7 and added patch file
Comment 4 devfx11 2020-09-27 15:08:18 UTC
Created attachment 662677 [details, diff]
patch for new ebuild
Comment 5 devfx11 2020-09-27 15:08:34 UTC
I have created a new ebuild for dev-util/gtk-builder-convert, changed python2_7 to python3_7, added your patch.
Unmasked dev-util/gtk-builder-convert sys-apps/gsmartcontrol
Then built gsmartcontrol with FEATURES="test"
Gsmartcontrol 1.1.3 is working fine now.
If possible we should keep this package.
Thanks.
Comment 6 Larry the Git Cow gentoo-dev 2020-09-27 15:52:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4192a8a2ac751d40de78a84c7ffdc272f5cfeb71

commit 4192a8a2ac751d40de78a84c7ffdc272f5cfeb71
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-27 15:47:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-27 15:52:26 +0000

    dev-util/gtk-builder-convert: add Python 3 patch
    
    Closes: https://bugs.gentoo.org/741410
    Closes: https://bugs.gentoo.org/741412
    Closes: https://bugs.gentoo.org/741408
    Closes: https://bugs.gentoo.org/735324
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gtk-builder-convert-2.24.32-python3.patch      | 56 ++++++++++++++++++++++
 ...build => gtk-builder-convert-2.24.32-r1.ebuild} | 12 +++--
 profiles/package.mask                              |  4 --
 3 files changed, 63 insertions(+), 9 deletions(-)