summaryrefslogtreecommitdiff
path: root/dev-python/html5-parser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /dev-python/html5-parser
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
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.10.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/html5-parser/Manifest b/dev-python/html5-parser/Manifest
index 93ec5dadb78d..5d0483b00a1c 100644
--- a/dev-python/html5-parser/Manifest
+++ b/dev-python/html5-parser/Manifest
@@ -1,3 +1,5 @@
+DIST html5-parser-0.4.10.tar.gz 272814 BLAKE2B 5759c872e65080ea059b81e632ed70a94e6677ef01af1e50ab1822128cc75ccbd3361c9d4e5e94fc4cc78996b3dbde97ffe435f083c492df2815c67d929cabc7 SHA512 45accb891261e1b82185de1cb0e06915e0ff487fe2cfc81b79f5653c8e9d7b9848349ab94657f8fb5eb116311b1d2b0d19f504f841ee8af0cf4a23601a5000aa
DIST html5-parser-0.4.9.tar.gz 274597 BLAKE2B 7744798d74db1d591490c75eabae5333e90f053a8ba1c5517f08c1b9c253042796e42618ae0a674e1b1cfa97390448ffc595e861234f5b980a1f7c0b9056cc88 SHA512 0fce4b1a18b29a9fa94e3769e2443601a502158056be1c93c1c1ddd5fe84d11d5d6dcae6338ac0a21aae7972625f28c0ba66099fc51081f504cb596626de990e
+EBUILD html5-parser-0.4.10.ebuild 828 BLAKE2B f0020c6115dfb5d6ce009f2e5a0358889ca5ef3acc0fd26c386b873f8a642ffe91fdb6577aded53e07992ea1c80cf4e2cb90ba7eedefee95d654b7a47f286c99 SHA512 644f079a2f949c5e6da97a43ce42761445e2419e0110f092dfd3302f1206d273cad03772301004e42fd3ef0aa2e3051e0d79a525b30bc19f7e4e520c7ac70600
EBUILD html5-parser-0.4.9.ebuild 823 BLAKE2B 86454568f2efd4bd74b952b91a287fe90636469b4eb5b7fa54b95134aef4b07bd07cd7d565386c34f446b088c5df83f65a5a7f2b5070996f39b8c1fb561cac9b SHA512 de290fc47bcd52954e9c3fa1db1541f58cc56a78d1c9a752c36276920147b36098e573d6ed6a45043e6acac9f9752af632ebe7bb7e4769cc263b6233b1ac148b
MISC metadata.xml 357 BLAKE2B 38bab117178aaaad1f63bd54054fa936d888f533dc4c7b0c765ec5549ae6daf7637d33d7b6f6b68272f48b566c33c07655f76eefad12650900276d6eec4bf1c7 SHA512 9dfba23fc0aeca1ddaa1cae84a40b552671c517d8901661dead4f5b1e48f6394322718dcabcac9be06414d291332e7f78be173df1894eb26416c87522f40ded6
diff --git a/dev-python/html5-parser/html5-parser-0.4.10.ebuild b/dev-python/html5-parser/html5-parser-0.4.10.ebuild
new file mode 100644
index 000000000000..b51af758c589
--- /dev/null
+++ b/dev-python/html5-parser/html5-parser-0.4.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="Fast C based HTML 5 parsing for python"
+HOMEPAGE="https://github.com/kovidgoyal/html5-parser/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="dev-libs/libxml2:="
+RDEPEND="${DEPEND}
+ dev-python/chardet[${PYTHON_USEDEP}]
+ >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]"
+
+distutils_enable_tests setup.py
+
+src_prepare() {
+ # Soup is not used when lxml is available.
+ rm test/soup.py || die
+ sed -i -e 's:-O3::' setup.py build.py || die
+ distutils-r1_src_prepare
+}
+
+src_configure() {
+ export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
+}