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

Bug 909862

Summary: app-admin/webapp-config: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/gentoo/gentoo/pull/30041
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:07 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 Larry the Git Cow gentoo-dev 2023-07-08 07:45:57 UTC
The bug has been closed via the following commit(s):

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

commit af245d8864b6b5954b911a94dae3adcc178df684
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2023-03-10 11:07:37 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-07-08 07:44:11 +0000

    app-admin/webapp-config: EAPI 7 -> 8
    
    Bump to EAPI 8
    Switch to PEP517 build mode
    Fix SRC_URI (upload tarball from cache to devspace)
    Sync (and fix) live
    
    Closes: https://bugs.gentoo.org/711750
    Closes: https://bugs.gentoo.org/909862
    Closes: https://github.com/gentoo/gentoo/pull/30041
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../webapp-config/webapp-config-1.55-r3.ebuild     | 87 ++++++++++++++++++++++
 app-admin/webapp-config/webapp-config-9999.ebuild  | 27 +++++--
 2 files changed, 108 insertions(+), 6 deletions(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 20:40:56 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.