commit: 18fd64a46d81908256ddd9d7e471d98a85d8f989
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May 14 20:56:13 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 14 20:59:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fd64a4
dev-python/minify-html: update SRC_URI
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/minify-html/minify-html-0.16.4.ebuild | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/dev-python/minify-html/minify-html-0.16.4.ebuild
b/dev-python/minify-html/minify-html-0.16.4.ebuild
index 03d14e08c6cc..f62fddf6b1d3 100644
--- a/dev-python/minify-html/minify-html-0.16.4.ebuild
+++ b/dev-python/minify-html/minify-html-0.16.4.ebuild
@@ -5,11 +5,9 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
-
-CRATES="
-"
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+CRATES=""
inherit cargo distutils-r1 pypi
DESCRIPTION="Extremely fast and smart HTML + JS + CSS minifier"
@@ -17,14 +15,7 @@ HOMEPAGE="
https://github.com/wilsonzlin/minify-html/
https://pypi.org/project/minify-html/
"
-SRC_URI+="
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
-
https://github.com/gentoo-crate-dist/minify-html/releases/download/v${PV}/${P}-crates.tar.xz
- "
-fi
+SRC_URI+="
https://github.com/gentoo-crate-dist/minify-html/releases/download/v${PV}/${P}-crates.tar.xz"
LICENSE="MIT"
# Dependent crate licenses
@@ -39,6 +30,8 @@ KEYWORDS="~amd64 ~arm64"
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/minify_html/minify_html.*.so"
+export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
+
src_prepare() {
sed -i -e '/strip/d' Cargo.toml || die
distutils-r1_src_prepare