summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-20 12:23:54 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-20 12:26:00 +0200
commit5269405bac2cba7aa8d467a2da0a950771321999 (patch)
tree508bf6ffcfcbaf136b2bad5edc0d2d24e87ed80a /app-text/htmlmin
parentdev-python/numpy: Bump to 2.1.0 (diff)
downloadgentoo-5269405bac2cba7aa8d467a2da0a950771321999.tar.gz
gentoo-5269405bac2cba7aa8d467a2da0a950771321999.tar.bz2
gentoo-5269405bac2cba7aa8d467a2da0a950771321999.zip
app-text/htmlmin: Remove unused cgi import
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-text/htmlmin')
-rw-r--r--app-text/htmlmin/htmlmin-0.1.12-r3.ebuild (renamed from app-text/htmlmin/htmlmin-0.1.12-r2.ebuild)11
1 files changed, 4 insertions, 7 deletions
diff --git a/app-text/htmlmin/htmlmin-0.1.12-r2.ebuild b/app-text/htmlmin/htmlmin-0.1.12-r3.ebuild
index a70d4399962c..bee49ec88566 100644
--- a/app-text/htmlmin/htmlmin-0.1.12-r2.ebuild
+++ b/app-text/htmlmin/htmlmin-0.1.12-r3.ebuild
@@ -21,15 +21,12 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86"
-RDEPEND="
- $(python_gen_cond_dep '
- dev-python/legacy-cgi[${PYTHON_USEDEP}]
- ' 3.13)
-"
-
distutils_enable_tests setup.py
src_prepare() {
- sed '/prune/d' -i MANIFEST.in || die
distutils-r1_src_prepare
+
+ sed -i -e '/prune/d' MANIFEST.in || die
+ # unused import
+ sed -i -e '/cgi/d' htmlmin/main.py || die
}