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

Bug 909983

Summary: dev-vcs/mercurial: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Cédric Krier <cedk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 909855    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:57:01 UTC
This package still uses the legacy eclass code paths.  These paths are deprecated and pose a significant maintenance cost.  Please update the package to use PEP517 build mode.  For more information, please see the Python Guide, particularly; https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-517-builds
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 20:40:55 UTC
[Adding this comment en-masse, sorry for the noise, but it's important.)

1. Please take particular care to check file diffs before/after, possibly using `iwdevtools`. Keep a particular eye out for e.g. config files now missing from /etc and instead being in /usr/lib/python*/site-packages, etc.

2. Please make sure to do the migration in a new revision in ~arch, partly because of 1.
Comment 2 Larry the Git Cow gentoo-dev 2023-07-15 10:23:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513916cb8f9a595c79c71203744274caed8c2142

commit 513916cb8f9a595c79c71203744274caed8c2142
Author:     Cédric Krier <cedk@gentoo.org>
AuthorDate: 2023-07-15 10:20:30 +0000
Commit:     Cédric Krier <cedk@gentoo.org>
CommitDate: 2023-07-15 10:22:34 +0000

    dev-vcs/mercurial: add 6.5
    
    Use PEP517 and build rhg with rust use.
    
    Closes: https://bugs.gentoo.org/909983
    Signed-off-by: Cédric Krier <cedk@gentoo.org>

 dev-vcs/mercurial/Manifest              |   4 +
 dev-vcs/mercurial/mercurial-6.5.ebuild  | 351 ++++++++++++++++++++++++++++++++
 dev-vcs/mercurial/mercurial-9999.ebuild |  14 +-
 3 files changed, 366 insertions(+), 3 deletions(-)