Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735324 - dev-util/gtk-builder-convert: need py3 port
Summary: dev-util/gtk-builder-convert: need py3 port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-26
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://trac.macports.org/browser/tru...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: py3-tracker, python-3-incompatible 741408 741410 741412
  Show dependency tree
 
Reported: 2020-08-02 14:18 UTC by Michał Górny
Modified: 2020-09-27 15:52 UTC (History)
3 users (show)

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


Attachments
changed python2_7 to python3_7 and added patch file (gtk-builder-convert-2.24.32-r1.ebuild,1.16 KB, text/plain)
2020-09-27 15:06 UTC, devfx11
Details
patch for new ebuild (make-it-work-with-python3.patch,2.04 KB, patch)
2020-09-27 15:08 UTC, devfx11
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)