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

Bug 909861

Summary: app-admin/setools: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: SE Linux Bugs <selinux>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=911277
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:45:06 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:53 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-27 07:07:42 UTC
The bug has been closed via the following commit(s):

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

commit ae4506888d372bd15e01b089467efdc4e31386a1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-27 06:53:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-27 06:53:44 +0000

    app-admin/setools: add 4.4.2
    
    Closes: https://bugs.gentoo.org/909861
    Closes: https://bugs.gentoo.org/911277
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/setools/Manifest                         |  1 +
 .../setools/files/setools-4.4.2-remove-gui.patch   | 18 +++++++
 app-admin/setools/setools-4.4.2.ebuild             | 61 ++++++++++++++++++++++
 app-admin/setools/setools-9999.ebuild              | 24 ++++-----
 4 files changed, 91 insertions(+), 13 deletions(-)