1 |
commit: e43d618b843664d9feb49b0437b5e0979ef32ba3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 23 08:22:53 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 23 08:24:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43d618b |
7 |
|
8 |
dev-python/html5-parser: Bump to 0.4.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/html5-parser/Manifest | 1 + |
13 |
dev-python/html5-parser/html5-parser-0.4.10.ebuild | 37 ++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/html5-parser/Manifest b/dev-python/html5-parser/Manifest |
17 |
index 5816d1ff523..38a8fca8294 100644 |
18 |
--- a/dev-python/html5-parser/Manifest |
19 |
+++ b/dev-python/html5-parser/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST html5-parser-0.4.10.tar.gz 272814 BLAKE2B 5759c872e65080ea059b81e632ed70a94e6677ef01af1e50ab1822128cc75ccbd3361c9d4e5e94fc4cc78996b3dbde97ffe435f083c492df2815c67d929cabc7 SHA512 45accb891261e1b82185de1cb0e06915e0ff487fe2cfc81b79f5653c8e9d7b9848349ab94657f8fb5eb116311b1d2b0d19f504f841ee8af0cf4a23601a5000aa |
22 |
DIST html5-parser-0.4.9.tar.gz 274597 BLAKE2B 7744798d74db1d591490c75eabae5333e90f053a8ba1c5517f08c1b9c253042796e42618ae0a674e1b1cfa97390448ffc595e861234f5b980a1f7c0b9056cc88 SHA512 0fce4b1a18b29a9fa94e3769e2443601a502158056be1c93c1c1ddd5fe84d11d5d6dcae6338ac0a21aae7972625f28c0ba66099fc51081f504cb596626de990e |
23 |
|
24 |
diff --git a/dev-python/html5-parser/html5-parser-0.4.10.ebuild b/dev-python/html5-parser/html5-parser-0.4.10.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b51af758c58 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/html5-parser/html5-parser-0.4.10.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+PYTHON_COMPAT=( python3_{8..10} ) |
35 |
+ |
36 |
+inherit distutils-r1 toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Fast C based HTML 5 parsing for python" |
39 |
+HOMEPAGE="https://github.com/kovidgoyal/html5-parser/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+IUSE="" |
46 |
+ |
47 |
+BDEPEND=" |
48 |
+ virtual/pkgconfig |
49 |
+" |
50 |
+DEPEND="dev-libs/libxml2:=" |
51 |
+RDEPEND="${DEPEND} |
52 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]" |
54 |
+ |
55 |
+distutils_enable_tests setup.py |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ # Soup is not used when lxml is available. |
59 |
+ rm test/soup.py || die |
60 |
+ sed -i -e 's:-O3::' setup.py build.py || die |
61 |
+ distutils-r1_src_prepare |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ export PKGCONFIG_EXE=$(tc-getPKG_CONFIG) |
66 |
+} |