Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 888561 Details for
Bug 927818
distutils-r1.eclass: defang pip uninstall by removing RECORD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
distutils-r1.eclass: get rid of setuptools egg files as well
0001-distutils-r1.eclass-get-rid-of-setuptools-egg-files-.patch (text/plain), 1.25 KB, created by
Eli Schwartz
on 2024-03-25 17:16:17 UTC
(
hide
)
Description:
distutils-r1.eclass: get rid of setuptools egg files as well
Filename:
MIME Type:
Creator:
Eli Schwartz
Created:
2024-03-25 17:16:17 UTC
Size:
1.25 KB
patch
obsolete
>From 918a156f55009985b852fa4edd96e531b79048eb Mon Sep 17 00:00:00 2001 >From: Eli Schwartz <eschwartz93@gmail.com> >Date: Mon, 25 Mar 2024 13:13:46 -0400 >Subject: [PATCH] distutils-r1.eclass: get rid of setuptools egg files as well > >These aren't used by anything anymore, and back when they were used, >they were used by easy_install when installing a .egg file, not used in >site-packages itself. > >Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> >--- > eclass/distutils-r1.eclass | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass >index 37274ca7102d..8b03633cd82f 100644 >--- a/eclass/distutils-r1.eclass >+++ b/eclass/distutils-r1.eclass >@@ -1338,6 +1338,8 @@ distutils_wheel_install() { > # - licenses > # - RECORD, used solely by pip to know how to uninstall it > # behind our back >+ # - zip-safe / not-zip-safe, created by setuptools eggs as >+ # legacy tech > find "${root}$(python_get_sitedir)" -depth \ > \( -path '*.dist-info/COPYING*' \ > -o -path '*.dist-info/LICENSE*' \ >@@ -1346,6 +1348,7 @@ distutils_wheel_install() { > -o -path '*.dist-info/licenses/*' \ > -o -path '*.dist-info/licenses' \ > -o -path '*.dist-info/RECORD' \ >+ -o -path '*.dist-info/*zip-safe' \ > \) -delete || die > } > >-- >2.43.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 927818
:
888550
| 888561