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

Bug 704760

Summary: sys-apps/tuned - add python3 support
Product: Gentoo Linux Reporter: Ewoud Kohl van Wijngaarden <ewoud+gentoo>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: RESOLVED FIXED    
Severity: normal CC: dev, ewoud+gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/14248
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694800    
Attachments: tuned-2.13.0.ebuild

Description Ewoud Kohl van Wijngaarden 2020-01-04 13:13:17 UTC
Currently sys-apps/tuned is built with Python 2 which is EOL upstream. Tuned supports Python 3 and is delivered as such in Fedora. It would benefit users who want to unmerge Python 2 if Tuned was built with Python 3.

Reproducible: Always
Comment 1 charles17 2020-01-05 08:32:09 UTC
Version v2.13.0 is out, see https://github.com/redhat-performance/tuned/releases
Comment 2 charles17 2020-01-05 10:20:18 UTC
Created attachment 602588 [details]
tuned-2.13.0.ebuild
Comment 3 Ewoud Kohl van Wijngaarden 2020-01-05 14:10:44 UTC
The attached ebuild is a trivial bump, but doesn't work correctly. There were changes in the source which means the docdir patching needs to be fixed. In https://github.com/gentoo/gentoo/pull/14248 I've fixed those as well as updated some other things, including bumping the required dependency for Python 3 support.
Comment 4 Larry the Git Cow gentoo-dev 2020-01-22 06:43:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=208e6cae7a28c505808777b7d0546aa7a93d9d9a

commit 208e6cae7a28c505808777b7d0546aa7a93d9d9a
Author:     Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
AuthorDate: 2020-01-04 17:40:09 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2020-01-22 06:34:17 +0000

    sys-apps/tuned: Add 2.13.0
    
    * Move from Python 2 to Python 3.
    * Correct DOCDIR patching
    * Optimize Python files
    * Update XDG icon cache
    
    Closes: https://bugs.gentoo.org/704760
    Closes: https://github.com/gentoo/gentoo/pull/14248
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 sys-apps/tuned/Manifest            |  1 +
 sys-apps/tuned/tuned-2.13.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)