Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910031 - sys-apps/gcp: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: sys-apps/gcp: needs to use PEP517 build (DistutilsNonPEP517Build)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:58 UTC by Michał Górny
Modified: 2023-08-23 12:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:58:30 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-22 15:35:25 UTC
The bug has been referenced in the following commit(s):

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

commit fdc648cd4196c078d13a0c76c89402b16a08ac2e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-07-22 15:35:18 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-07-22 15:35:18 +0000

    package.mask: Last rite dev-python/progressbar, sys-apps/gcp
    
    Bug: https://bugs.gentoo.org/909929
    Bug: https://bugs.gentoo.org/910031
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-08-23 12:27:43 UTC
The bug has been closed via the following commit(s):

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

commit 82c9cf90d189a2751144c0f6744e4cd44ebf83aa
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-08-23 12:27:29 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-08-23 12:27:29 +0000

    sys-apps/gcp: treeclean
    
    Closes: https://bugs.gentoo.org/910031
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask                         |  1 -
 sys-apps/gcp/Manifest                         |  1 -
 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 ----------
 sys-apps/gcp/gcp-0.2.1.ebuild                 | 35 ---------------------------
 sys-apps/gcp/metadata.xml                     |  8 ------
 5 files changed, 58 deletions(-)