Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909895 - app-shells/powerline: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: app-shells/powerline: 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: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:46 UTC by Michał Górny
Modified: 2024-03-12 05:16 UTC (History)
0 users

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:46:28 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-06 15:30:20 UTC
Final ping.  Please note that we will not hesitate to last rite low profile packages over this.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-08 04:23:07 UTC
The bug has been closed via the following commit(s):

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

commit 6faa61c59e55bf56acb8fddbbea8f820a22a1c56
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2024-03-08 04:21:38 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2024-03-08 04:21:38 +0000

    app-shells/powerline: add pep517
    
    Closes: https://bugs.gentoo.org/909895
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 app-shells/powerline/powerline-2.7-r2.ebuild | 3 ++-
 app-shells/powerline/powerline-9999.ebuild   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-03-12 05:16:25 UTC
The bug has been referenced in the following commit(s):

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

commit ec6777d0e9c682d1c3902c7a56a5c7cad8ec591c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-12 04:47:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-12 05:15:35 +0000

    app-shells/powerline: revbump for PEP517 change
    
    diff is OK:
    ```
     * CMP: =app-shells/powerline-2.7-r2 with app-shells/powerline-2.7-r2/image
     *  FILES:-usr/lib/python3.10/site-packages/powerline_status-*-py3.10.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.10/site-packages/powerline_status-*-py3.10.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.10/site-packages/powerline_status-*-py3.10.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.10/site-packages/powerline_status-*-py3.10.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.10/site-packages/powerline_status-*-py3.10.egg-info/requires.txt
     *  FILES:-usr/lib/python3.10/site-packages/powerline_status-*-py3.10.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.10/site-packages/powerline_status-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.10/site-packages/powerline_status-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.10/site-packages/powerline_status-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.10/site-packages/powerline_status-*.dist-info/top_level.txt
     *  FILES:-usr/lib/python3.11/site-packages/powerline_status-*-py3.11.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.11/site-packages/powerline_status-*-py3.11.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.11/site-packages/powerline_status-*-py3.11.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.11/site-packages/powerline_status-*-py3.11.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.11/site-packages/powerline_status-*-py3.11.egg-info/requires.txt
     *  FILES:-usr/lib/python3.11/site-packages/powerline_status-*-py3.11.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.11/site-packages/powerline_status-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.11/site-packages/powerline_status-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.11/site-packages/powerline_status-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.11/site-packages/powerline_status-*.dist-info/top_level.txt
     * ------> FILES(+8,-12)
    ```
    
    Fixes: 6faa61c59e55bf56acb8fddbbea8f820a22a1c56
    Bug: https://bugs.gentoo.org/909895
    Signed-off-by: Sam James <sam@gentoo.org>

 app-shells/powerline/{powerline-2.7-r2.ebuild => powerline-2.7-r3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)