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

Bug 706216

Summary: app-portage/metagen is python2 only
Product: Portage Development Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: ToolsAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal CC: dev
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694800    

Description Alessandro Barbieri 2020-01-24 02:34:13 UTC
Looking at the code here
https://cgit.gentoo.org/proj/metagen.git/tree/metagen/main.py#n180
you can see that uses print the python2 way
Comment 1 Larry the Git Cow gentoo-dev 2020-01-25 22:58:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22252f649823860fb39b9eb3dbae098b1f3f247e

commit 22252f649823860fb39b9eb3dbae098b1f3f247e
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-01-25 22:56:55 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-01-25 22:57:46 +0000

    app-portage/metagen: 0.7.0 + EAPI 7 + Python 3 + sync 9999
    
    Closes: https://bugs.gentoo.org/706216
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-portage/metagen/Manifest             |  1 +
 app-portage/metagen/metagen-0.7.0.ebuild | 30 ++++++++++++++++++++++++++++++
 app-portage/metagen/metagen-9999.ebuild  | 24 +++++++++++++-----------
 3 files changed, 44 insertions(+), 11 deletions(-)
Comment 2 Sebastian Pipping gentoo-dev 2020-01-25 23:04:17 UTC
Adding support for Python 3 needed a re-write of some parts, e.g. to get the XML writer off dead jaxml.  Please report any bugs if 0.7.0 turns out to be less stable than previous release.  Thank you!

Recent changes:
https://gitweb.gentoo.org/proj/metagen.git/log/