Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/html5-parser/
Date: Sun, 12 Jan 2020 01:16:11
Message-Id: 1578791758.60e29d5f1bb45c09836b176a5ae25f981a6a1232.zmedico@gentoo
1 commit: 60e29d5f1bb45c09836b176a5ae25f981a6a1232
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 01:10:58 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 01:15:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e29d5f
7
8 dev-python/html5-parser: Bump to version 0.4.9
9
10 Reported-by: rayslava <AT> gmail.com
11 Closes: https://bugs.gentoo.org/705090
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
14
15 dev-python/html5-parser/Manifest | 1 +
16 dev-python/html5-parser/html5-parser-0.4.9.ebuild | 36 +++++++++++++++++++++++
17 2 files changed, 37 insertions(+)
18
19 diff --git a/dev-python/html5-parser/Manifest b/dev-python/html5-parser/Manifest
20 index 091d7c86375..a98b88e0766 100644
21 --- a/dev-python/html5-parser/Manifest
22 +++ b/dev-python/html5-parser/Manifest
23 @@ -1,2 +1,3 @@
24 DIST html5-parser-0.4.4.tar.gz 267787 BLAKE2B 9fcaec9faa906914d43f2b19381fe3095d4cd009bfb534537d2eabb420195276b3690d760c1defc92ad00e4965b3eb34ce4700d54f4f0291dff88026d890c90d SHA512 3aaeb32f360d2c131ecbe11fa1dcd3dfcd62c9ca046fce7dd4ff8127d0e62216f666e83bb20c7809c6adc591e1fb2798e382e78a1cf6129b1f0a09a71377f8d4
25 DIST html5-parser-0.4.5.tar.gz 275587 BLAKE2B e26db3b6c55d43e26eb08076c59012814c2dd8739d6cba591e34cf8e304aa78bdf3440405668875acece2c21425f26ed9a0edbc5bb1da55da09c17eb52fa74aa SHA512 3c0421dd228ba5f3544f188fde5391d6be0fe92b879cf1e7697b5e5612a9e5bf08863bcb76f4297a59bfbfc69010a95f5d97fff78a7e6d26c889e173b07e4ae5
26 +DIST html5-parser-0.4.9.tar.gz 274597 BLAKE2B 7744798d74db1d591490c75eabae5333e90f053a8ba1c5517f08c1b9c253042796e42618ae0a674e1b1cfa97390448ffc595e861234f5b980a1f7c0b9056cc88 SHA512 0fce4b1a18b29a9fa94e3769e2443601a502158056be1c93c1c1ddd5fe84d11d5d6dcae6338ac0a21aae7972625f28c0ba66099fc51081f504cb596626de990e
27
28 diff --git a/dev-python/html5-parser/html5-parser-0.4.9.ebuild b/dev-python/html5-parser/html5-parser-0.4.9.ebuild
29 new file mode 100644
30 index 00000000000..2d5a044bb63
31 --- /dev/null
32 +++ b/dev-python/html5-parser/html5-parser-0.4.9.ebuild
33 @@ -0,0 +1,36 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
39 +
40 +inherit distutils-r1 toolchain-funcs
41 +
42 +DESCRIPTION="Fast C based HTML 5 parsing for python"
43 +HOMEPAGE="https://github.com/kovidgoyal/html5-parser/"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~x86"
49 +IUSE=""
50 +
51 +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
52 +DEPEND="dev-libs/libxml2:="
53 +RDEPEND="${DEPEND}
54 + dev-python/chardet[${PYTHON_USEDEP}]
55 + >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]"
56 +
57 +src_prepare() {
58 + # Soup is not used when lxml is available.
59 + rm test/soup.py || die
60 + distutils-r1_src_prepare
61 +}
62 +
63 +src_configure() {
64 + export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
65 +}
66 +
67 +python_test() {
68 + esetup.py test || die "Tests failed under ${EPYTHON}"
69 +}