summaryrefslogtreecommitdiff
path: root/dev-python/minify-html
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/minify-html
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/minify-html')
-rw-r--r--dev-python/minify-html/Manifest2
-rw-r--r--dev-python/minify-html/metadata.xml8
-rw-r--r--dev-python/minify-html/minify-html-0.18.1.ebuild47
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/minify-html/Manifest b/dev-python/minify-html/Manifest
new file mode 100644
index 000000000000..60e0bf1d9a3b
--- /dev/null
+++ b/dev-python/minify-html/Manifest
@@ -0,0 +1,2 @@
+DIST minify-html-0.18.1-crates.tar.xz 24178360 BLAKE2B d281c1ee5b76b5a03bcca0f9d51b7fc283384bbb21ad29d2c6facd1721a113c4210ffc148e6976490b8b155c33d5f04a88879fa6ca48a9b52a79dd2321110a42 SHA512 567db0e678a717825a6d2853a92d29ca611c325062ed07a1049d0a297d320a63828fe6ddffe672b622e8f1810b342e81f9b5b8d1f63c4e38fe26c405edead1cc
+DIST minify_html-0.18.1.tar.gz 96577 BLAKE2B 0382c712db11cbcb1d903d8405b2d60093ccabbd15e3160a710747a252deed5df17c0fd490d20a3cabe8da91fddb78eee263b61c29876b1f8bed3da36f8e4337 SHA512 fccec4fecb537a8c9c41ee6326408c414a541e542b13346b49c4c728692edb822f38754baecd9817350caf0cd7e929dccad6c3818646e9fdc8969f54762d9eac
diff --git a/dev-python/minify-html/metadata.xml b/dev-python/minify-html/metadata.xml
new file mode 100644
index 000000000000..988ae9a6a6fe
--- /dev/null
+++ b/dev-python/minify-html/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/minify-html/minify-html-0.18.1.ebuild b/dev-python/minify-html/minify-html-0.18.1.ebuild
new file mode 100644
index 000000000000..caca40bc6ef5
--- /dev/null
+++ b/dev-python/minify-html/minify-html-0.18.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{13..14} )
+
+CRATES=""
+RUST_MIN_VER="1.88.0"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="Extremely fast and smart HTML + JS + CSS minifier"
+HOMEPAGE="
+ https://github.com/wilsonzlin/minify-html/
+ https://pypi.org/project/minify-html/
+"
+SRC_URI+="
+ https://github.com/gentoo-crate-dist/minify-html/releases/download/v${PV}/${P}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0
+ Unicode-3.0
+"
+# ring crate
+LICENSE+=" openssl"
+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
+ # upstream is adding Cargo.lock into wheels, but we don't have it
+ # for crate dists, so we end up using newer versions
+ rm Cargo.lock || die
+ distutils-r1_src_prepare
+}
+
+python_test_all() {
+ cargo_src_test
+}