commit: dea1fc1d94032b82230e3b727d9d4d046e26ee39
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Apr 26 06:03:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 12:48:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea1fc1d
dev-python/lxml-html-clean: new package, add 0.1.1
lxml split out this module, which other packages use and now don't have.
Reinstate it as the standalone package.
Fixes: 66f637a3d5bc5ece3837cd5c4ecafd3ced606e16
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/lxml-html-clean/Manifest | 1 +
.../lxml-html-clean/lxml-html-clean-0.1.1.ebuild | 24 ++++++++++++++++++++++
dev-python/lxml-html-clean/metadata.xml | 16 +++++++++++++++
3 files changed, 41 insertions(+)
diff --git a/dev-python/lxml-html-clean/Manifest
b/dev-python/lxml-html-clean/Manifest
new file mode 100644
index 000000000000..377c78223a4e
--- /dev/null
+++ b/dev-python/lxml-html-clean/Manifest
@@ -0,0 +1 @@
+DIST lxml_html_clean-0.1.1.tar.gz 14086 BLAKE2B
5ff4c01847298fc7c63b3243805ae9cd9013a4bc0b263d3235344cb6a46b4e09d4f2c5d559e4fb311f7dc1c92262feaa53caa3562dff1e65b302af65abbd025a
SHA512
f297a17f84cec472026d12246f95013bf6c0cab932dccb6432a1140503d62255a3a9357798047044175ce8f9d1d86d3ea9a73a732ec299d65263ccf637315e95
diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild
b/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild
new file mode 100644
index 000000000000..e7eb732479fc
--- /dev/null
+++ b/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Separate project for HTML cleaning functionalities copied from
lxml.html.clean"
+HOMEPAGE="
+ https://pypi.org/project/lxml-html-clean/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/lxml-html-clean/metadata.xml
b/dev-python/lxml-html-clean/metadata.xml
new file mode 100644
index 000000000000..fb6f3eebe669
--- /dev/null
+++ b/dev-python/lxml-html-clean/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>[email protected]</email>
+ <name>Eli Schwartz</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">lxml-html-clean</remote-id>
+ <remote-id
type="github">fedora-python/lxml_html_clean</remote-id>
+ </upstream>
+</pkgmetadata>