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

Bug 731308

Summary: x11-misc/fbpanel - add python3 support
Product: Gentoo Linux Reporter: Alexey Mishustin <halcon>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD, PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fbpanel-7.0-r2.ebuild
fbpanel-7.0-shebangs.patch

Description Alexey Mishustin 2020-07-07 20:01:47 UTC
This ebuild get rid of python2. With this, fbpanel will depend on python3.

Due to the fact that fbpanel uses python only for the configure script, the changes are trivial: 
- calling 2to3
- changing PYTHON COMPAT
- changing shebangs patch

Thanks to Ionen from the Gentoo Forum!

Attachments:
fbpanel-7.0-r2.ebuild (new)
fbpanel-7.0-shebangs.patch (modified)
Comment 1 Alexey Mishustin 2020-07-07 20:02:51 UTC
Created attachment 648284 [details]
fbpanel-7.0-r2.ebuild
Comment 2 Alexey Mishustin 2020-07-07 20:03:43 UTC
Created attachment 648286 [details, diff]
fbpanel-7.0-shebangs.patch
Comment 3 Larry the Git Cow gentoo-dev 2020-07-09 10:14:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377404e63724561b7fe5b7b559a16893d8468bec

commit 377404e63724561b7fe5b7b559a16893d8468bec
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-07-09 10:12:54 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-07-09 10:14:28 +0000

    x11-misc/fbpanel: Add python3 support, drop python2 support
    
    - Convert build system to python3 thanks to Alexey Mishustin
    - Set BDEPEND
    
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Closes: https://bugs.gentoo.org/731308
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 x11-misc/fbpanel/fbpanel-7.0-r2.ebuild             |  65 +++++++++++
 .../files/fbpanel-7.0-python3-shebangs.patch       | 120 +++++++++++++++++++++
 2 files changed, 185 insertions(+)