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

Bug 910047

Summary: x11-wm/herbstluftwm: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Florian Schmaus <flow>
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:58:50 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:52 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-16 16:40:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b70343fefee4dd870f4365591c60f98aa299f35

commit 1b70343fefee4dd870f4365591c60f98aa299f35
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-07-16 16:31:44 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-07-16 16:31:57 +0000

    x11-wm/herbstluftwm: switch to DISTUTILS_USE_PEP517
    
    Bug: https://bugs.gentoo.org/910047
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild | 147 +++++++++++++++++++++++
 x11-wm/herbstluftwm/herbstluftwm-9999.ebuild     |   3 +-
 2 files changed, 149 insertions(+), 1 deletion(-)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-29 14:01:48 UTC
There's a PEP517 ebuild now.