Skip to content

Commit

Permalink
app-text/htmlmin: Remove unused cgi import
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Aug 20, 2024
1 parent 5dcef28 commit 5269405
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 5269405

Please sign in to comment.