summaryrefslogtreecommitdiff
path: root/dev-python/minify-html
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-15 06:57:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-15 06:57:53 +0000
commitc88f588c1c12b6fe438575fc0c21d8b89a361f73 (patch)
treefaf15828c899ecb7c156c37bf365a6f881862b10 /dev-python/minify-html
parent00278f6cc9e8280380a376f72ec209c3efc960a4 (diff)
downloadbaldeagleos-repo-c88f588c1c12b6fe438575fc0c21d8b89a361f73.tar.gz
baldeagleos-repo-c88f588c1c12b6fe438575fc0c21d8b89a361f73.tar.xz
baldeagleos-repo-c88f588c1c12b6fe438575fc0c21d8b89a361f73.zip
Adding metadata
Diffstat (limited to 'dev-python/minify-html')
-rw-r--r--dev-python/minify-html/minify-html-0.16.4.ebuild15
1 files changed, 4 insertions, 11 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 6cd42595f6b2..a188e3633df5 100644
--- a/dev-python/minify-html/minify-html-0.16.4.ebuild
+++ b/dev-python/minify-html/minify-html-0.16.4.ebuild
@@ -7,9 +7,7 @@ DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
-CRATES="
-"
-
+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