Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704760 - sys-apps/tuned - add python3 support
Summary: sys-apps/tuned - 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: Yixun Lan
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-01-04 13:13 UTC by Ewoud Kohl van Wijngaarden
Modified: 2020-01-22 06:43 UTC (History)
2 users (show)

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


Attachments
tuned-2.13.0.ebuild (tuned-2.13.0.ebuild,1.19 KB, text/plain)
2020-01-05 10:20 UTC, charles17
Details

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