Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910034 - sys-apps/openrazer: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: sys-apps/openrazer: 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: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:58 UTC by Michał Górny
Modified: 2023-07-08 21:28 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:58:33 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 21:26:10 UTC

The bug has been closed via the following commit(s):

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

commit 641f4641b6556dd36545a11f20b460b3ddb35084
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-07-08 19:32:13 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-07-08 21:22:16 +0000

    sys-apps/openrazer: port to DISTUTILS_USE_PEP517
    
    Closes: https://bugs.gentoo.org/10034
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 ...r-3.6.1-r1.ebuild => openrazer-3.6.1-r2.ebuild} | 43 +++++++++++++---------
 1 file changed, 25 insertions(+), 18 deletions(-)
Comment 3 Maciej Barć gentoo-dev 2023-07-08 21:28:39 UTC
(In reply to Sam James from comment #2)
> 
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=641f4641b6556dd36545a11f20b460b3ddb35084
> 
> commit 641f4641b6556dd36545a11f20b460b3ddb35084
> Author:     Maciej Barć <xgqt@gentoo.org>
> AuthorDate: 2023-07-08 19:32:13 +0000
> Commit:     Maciej Barć <xgqt@gentoo.org>
> CommitDate: 2023-07-08 21:22:16 +0000
> 
>     sys-apps/openrazer: port to DISTUTILS_USE_PEP517
>     
>     Closes: https://bugs.gentoo.org/10034
>     Signed-off-by: Maciej Barć <xgqt@gentoo.org>
> 
>  ...r-3.6.1-r1.ebuild => openrazer-3.6.1-r2.ebuild} | 43
> +++++++++++++---------
>  1 file changed, 25 insertions(+), 18 deletions(-)

> 10034

No idea how I did that.