summaryrefslogtreecommitdiff
path: root/dev-python/html5-parser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-19 23:08:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-19 23:08:59 +0000
commita29a0019eaf0bf87941bdc1d9cd53937685852ee (patch)
tree64c0a3ecbbede7a93bb6625c84b70668941be13a /dev-python/html5-parser
parent5a31d854eec302fd1efb1466af757e520ae4e1dc (diff)
gentoo auto-resync : 19:11:2023 - 23:08:59
Diffstat (limited to 'dev-python/html5-parser')
-rw-r--r--dev-python/html5-parser/Manifest2
-rw-r--r--dev-python/html5-parser/html5-parser-0.4.12.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/html5-parser/Manifest b/dev-python/html5-parser/Manifest
index fbac4a21955c..c3e331124af6 100644
--- a/dev-python/html5-parser/Manifest
+++ b/dev-python/html5-parser/Manifest
@@ -1,3 +1,5 @@
DIST html5-parser-0.4.11.tar.gz 270735 BLAKE2B a2c1037b5bf6dcb8e69f18b3404273993ee325f05a0c5e194ace3f68e0034fa1ac119bb3dde4c4f26dea62928b4dfda9ed1453760a5bb5f8faa9397fb0276a1a SHA512 07123f0851e195e72c16ecdc97336c08278c8cdd10e89251c2ca80d8d90fc63ddd2a13d5a7b2bce430b6124e774fa236788b8eb0d03d6ed4c706d91e6bc4aa4a
+DIST html5-parser-0.4.12.tar.gz 270861 BLAKE2B 34cd247004956205c8aa67b6863a16950b28b92274feb4ddf1fe5ab177bd6e58d2835775a6e12cb6ee56a9bfcf3ad40f5c645fc380be1364acb8cfbfd6eabb3e SHA512 5dc45c54c53fc6492b645977940ebaf4bc4fee141767d9d6066ecc1c8547a2343f29c39c65f97d827863c499d48f54fae9309b8b25aa636ae3e4e42e97ec1f17
EBUILD html5-parser-0.4.11.ebuild 979 BLAKE2B 534936cac2d8cfd71f3f4701d897cb43e033729983d006da6c47d6e01ca55034bb86139a322516afc306235467a5721ad3f00894180fe0dd5cb5d5bd46042d31 SHA512 0ba6dd3a9dabbd8e76f144110c42e2f54cd6983a5d20a3151bdebf865e3d3881faf0ad2aea8d0d0809d8c45245f3ba9b8abaa9b705b50b2e13b07e13f817fe9e
+EBUILD html5-parser-0.4.12.ebuild 863 BLAKE2B 91597cc028893b5c77c86d910d9352977bcdbad73096b9cbb3c157122f475ee95e90efe6910907181b85e5d5d33be90c897aa6a8cbec1396f3c29aa14b3e78c8 SHA512 9833994f0a6e791f793ad0acfd3fa3cef57e87a0133af3d99b897668d201bbc34b66d1d287758a3553a14fd98d0911e8650a0c38d9a4ccc265a573602656b963
MISC metadata.xml 458 BLAKE2B 368218d3f5b16284b8d0bc3447efae89d833b7ac206f9b0719f88078f8e472a7b362a0843211189da3f273e0e689a40b5cda5d457ff4dedc51dc74b74960ec3e SHA512 40b3f0e265ac93e827eadc79a57f9b05a7b5adf9fb88d729613a7f2844fabc38e47d39843e039e27a412fd2d1aa1cc38345027a3c31c952873c5e38e899112b0
diff --git a/dev-python/html5-parser/html5-parser-0.4.12.ebuild b/dev-python/html5-parser/html5-parser-0.4.12.ebuild
new file mode 100644
index 000000000000..8dbd7222e8aa
--- /dev/null
+++ b/dev-python/html5-parser/html5-parser-0.4.12.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi toolchain-funcs
+
+DESCRIPTION="Fast C based HTML 5 parsing for python"
+HOMEPAGE="
+ https://github.com/kovidgoyal/html5-parser/
+ https://pypi.org/project/html5-parser/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-libs/libxml2:=
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/chardet[${PYTHON_USEDEP}]
+ >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ ${RDEPEND}
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ )
+"
+
+src_configure() {
+ export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
+}
+
+python_test() {
+ "${EPYTHON}" run_tests.py || die
+}