Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731308 - x11-misc/fbpanel - add python3 support
Summary: x11-misc/fbpanel - add python3 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2020-07-07 20:01 UTC by Alexey Mishustin
Modified: 2020-07-09 10:14 UTC (History)
0 users

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


Attachments
fbpanel-7.0-r2.ebuild (fbpanel-7.0-r2.ebuild,1.48 KB, text/plain)
2020-07-07 20:02 UTC, Alexey Mishustin
Details
fbpanel-7.0-shebangs.patch (fbpanel-7.0-shebangs.patch,2.29 KB, patch)
2020-07-07 20:03 UTC, Alexey Mishustin
Details | Diff

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