commit:     5084c3f60a5d39bf78bf5c4c98a6358850e2187e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 15:18:51 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  6 15:29:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5084c3f6

dev-python/minify-html: Prevent implicit stripping

Closes: https://bugs.gentoo.org/931304
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/minify-html/minify-html-0.15.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild 
b/dev-python/minify-html/minify-html-0.15.0.ebuild
index be94da626d42..cc27edc8ca71 100644
--- a/dev-python/minify-html/minify-html-0.15.0.ebuild
+++ b/dev-python/minify-html/minify-html-0.15.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -38,3 +38,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 
 QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/minify_html/minify_html.*.so"
+
+src_prepare() {
+       sed -i -e '/strip/d' Cargo.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to