[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 096bfe3268a87a5fcdacaa0d16dde921422bf1f9 Author: Michał Górny gentoo org> AuthorDate: Thu May 9 19:04:35 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu May 9 19:05:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=096bfe32 dev-python/html5lib: Eliminate dev-python/mock dep Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.1-r2.ebuild | 49 ++ 1 file changed, 49 insertions(+) diff --git a/dev-python/html5lib/html5lib-1.1-r2.ebuild b/dev-python/html5lib/html5lib-1.1-r2.ebuild new file mode 100644 index ..02e9043828bf --- /dev/null +++ b/dev-python/html5lib/html5lib-1.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-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} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE=" + https://github.com/html5lib/html5lib-python/ + https://html5lib.readthedocs.io/ + https://pypi.org/project/html5lib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +PATCHES=( + "${FILESDIR}"/${P}-pytest6.patch +) + +RDEPEND=" + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-expect[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -e 's:from mock:from unittest.mock:' \ + -i html5lib/tests/test_meta.py || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_expect +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 737fee0c6fccdbbc689313fb4060fc5fc7c90812 Author: Michał Górny gentoo org> AuthorDate: Thu May 9 19:05:02 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu May 9 19:05:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737fee0c dev-python/html5lib: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1-r2.ebuild b/dev-python/html5lib/html5lib-1.1-r2.ebuild index 02e9043828bf..494fe520e35f 100644 --- a/dev-python/html5lib/html5lib-1.1-r2.ebuild +++ b/dev-python/html5lib/html5lib-1.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/files/, dev-python/html5lib/
commit: bf771b119c73f49614f9d1aedf1cc5480b79c303 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 24 16:47:14 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 24 16:51:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf771b11 dev-python/html5lib: Backport pytest-7.4 fix Closes: https://bugs.gentoo.org/910475 Signed-off-by: Michał Górny gentoo.org> .../html5lib/files/html5lib-1.1-pytest6.patch | 66 ++ dev-python/html5lib/html5lib-1.1-r1.ebuild | 7 ++- 2 files changed, 37 insertions(+), 36 deletions(-) diff --git a/dev-python/html5lib/files/html5lib-1.1-pytest6.patch b/dev-python/html5lib/files/html5lib-1.1-pytest6.patch index a511b40abeaa..d8df5f2cf2f6 100644 --- a/dev-python/html5lib/files/html5lib-1.1-pytest6.patch +++ b/dev-python/html5lib/files/html5lib-1.1-pytest6.patch @@ -1,41 +1,7 @@ # https://github.com/html5lib/html5lib-python/pull/506 # https://bugs.gentoo.org/754144 -From e6bd99e8f2497194ffd0a06c6954ebb28d7526bb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Sat, 8 Aug 2020 13:39:22 +0200 -Subject: [PATCH] Use Node.from_parent() constructor to support pytest 6 -Add a wrapper not to break pytest 4 (needed for Python 2 support). - -= test session starts == -platform linux -- Python 3.9.0b5, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -rootdir: /builddir/build/BUILD/html5lib-1.1, configfile: pytest.ini -plugins: expect-1.1.0 -collected 0 items / 1 error - - ERRORS - ERROR collecting test session _ -/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__ -return self._hookexec(self, self.get_hookimpls(), kwargs) -/usr/lib/python3.9/site-packages/pluggy/manager.py:93: in _hookexec -return self._inner_hookexec(hook, methods, kwargs) -/usr/lib/python3.9/site-packages/pluggy/manager.py:84: in -self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( -html5lib/tests/conftest.py:105: in pytest_collect_file -return TokenizerFile(path, parent) -/usr/lib/python3.9/site-packages/_pytest/nodes.py:95: in __call__ -warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) -E pytest.PytestDeprecationWarning: Direct construction of TokenizerFile has been deprecated, please use TokenizerFile.from_parent. -E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. - -Fixes https://github.com/html5lib/html5lib-python/issues/505 - html5lib/tests/conftest.py | 15 --- - html5lib/tests/sanitizer.py | 2 +- - html5lib/tests/tokenizer.py | 10 +- - html5lib/tests/tree_construction.py | 20 ++-- - requirements-test.txt | 2 +- - 5 files changed, 29 insertions(+), 20 deletions(-) +and part of 4a87368b71090f1432df6302f178c4babfcec93f diff --git a/html5lib/tests/conftest.py b/html5lib/tests/conftest.py index dad167c5..fffeb50c 100644 @@ -151,3 +117,33 @@ index 1ef6e725..fb0657bf 100644 item.add_marker(pytest.mark.treewalker) yield item +diff --git a/html5lib/tests/tokenizer.py b/html5lib/tests/tokenizer.py +index cc9897a..b49d2e6 100644 +--- a/html5lib/tests/tokenizer.py b/html5lib/tests/tokenizer.py +@@ -246,7 +246,9 @@ class TokenizerTest(pytest.Item): + def repr_failure(self, excinfo): + traceback = excinfo.traceback + ntraceback = traceback.cut(path=__file__) +-excinfo.traceback = ntraceback.filter() ++pytest_ver = getattr(pytest, "version_tuple", ()) ++filter_args = (excinfo,) if pytest_ver >= (7, 4, 0) else () ++excinfo.traceback = ntraceback.filter(*filter_args) + + return excinfo.getrepr(funcargs=True, +showlocals=False, +diff --git a/html5lib/tests/tree_construction.py b/html5lib/tests/tree_construction.py +index fb0657b..363b48c 100644 +--- a/html5lib/tests/tree_construction.py b/html5lib/tests/tree_construction.py +@@ -135,7 +135,9 @@ class ParserTest(pytest.Item): + def repr_failure(self, excinfo): + traceback = excinfo.traceback + ntraceback = traceback.cut(path=__file__) +-excinfo.traceback = ntraceback.filter() ++pytest_ver = getattr(pytest, "version_tuple", ()) ++filter_args = (excinfo,) if pytest_ver >= (7, 4, 0) else () ++excinfo.traceback = ntraceback.filter(*filter_args) + + return excinfo.getrepr(funcargs=True, +showlocals=False, diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild index 7aaf19a606af..85d2d88a1104 100644 ---
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 80eb09dc90827536e40c68e4a908a57c7578c626 Author: Sam James gentoo org> AuthorDate: Wed May 24 08:31:14 2023 + Commit: Sam James gentoo org> CommitDate: Wed May 24 08:36:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80eb09dc dev-python/html5lib: enable py3.12 Signed-off-by: Sam James gentoo.org> dev-python/html5lib/html5lib-1.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild index cbbe19b55953..7aaf19a606af 100644 --- a/dev-python/html5lib/html5lib-1.1-r1.ebuild +++ b/dev-python/html5lib/html5lib-1.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: b577683387e8126791d627419db6fa8606f6fc3c Author: Michał Górny gentoo org> AuthorDate: Wed Mar 15 17:45:50 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 16 03:48:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5776833 dev-python/html5lib: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.1-r1.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild index 9dbcfed268c4..cbbe19b55953 100644 --- a/dev-python/html5lib/html5lib-1.1-r1.ebuild +++ b/dev-python/html5lib/html5lib-1.1-r1.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) PYTHON_REQ_USE="xml(+)" -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="HTML parser based on the HTML5 specification" HOMEPAGE=" @@ -15,7 +15,6 @@ HOMEPAGE=" https://html5lib.readthedocs.io/ https://pypi.org/project/html5lib/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 0b551020277939e340d72a1d6e549f63725ace87 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 12 14:26:43 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 12 14:26:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b551020 dev-python/html5lib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild deleted file mode 100644 index 06de5ac56d59.. --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -PATCHES=( - "${FILESDIR}"/${P}-pytest6.patch -) - -RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/webencodings[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/pytest-expect[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: ea7a34cc2c9ce217d34ff483a916ad95149fe574 Author: Sam James gentoo org> AuthorDate: Sun Jun 12 11:55:04 2022 + Commit: Sam James gentoo org> CommitDate: Sun Jun 12 11:55:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea7a34cc dev-python/html5lib: Stabilize 1.1-r1 ALLARCHES, #851339 Signed-off-by: Sam James gentoo.org> dev-python/html5lib/html5lib-1.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild index aeddc5a97e76..37130736fdb9 100644 --- a/dev-python/html5lib/html5lib-1.1-r1.ebuild +++ b/dev-python/html5lib/html5lib-1.1-r1.ebuild @@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" PATCHES=( "${FILESDIR}"/${P}-pytest6.patch
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 384b0b6feee68868eaba99c2672725d04cc95a55 Author: Michał Górny gentoo org> AuthorDate: Wed May 11 17:40:42 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed May 11 17:54:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384b0b6f dev-python/html5lib: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild index ffec69d22b5f..aeddc5a97e76 100644 --- a/dev-python/html5lib/html5lib-1.1-r1.ebuild +++ b/dev-python/html5lib/html5lib-1.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 09bcc049078f00f1628ef2899ed87bb6dc618f2c Author: Michał Górny gentoo org> AuthorDate: Wed May 11 17:40:35 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed May 11 17:54:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bcc049 dev-python/html5lib: EAPI 8, PEP517 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.1-r1.ebuild | 39 ++ 1 file changed, 39 insertions(+) diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild new file mode 100644 index ..ffec69d22b5f --- /dev/null +++ b/dev-python/html5lib/html5lib-1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE=" + https://github.com/html5lib/html5lib-python/ + https://html5lib.readthedocs.io/ + https://pypi.org/project/html5lib/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +PATCHES=( + "${FILESDIR}"/${P}-pytest6.patch +) + +RDEPEND=" + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-expect[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 9df9d79a705111625f8d8bc0d92b4c775be840d2 Author: James Le Cuirot gentoo org> AuthorDate: Sat Sep 25 21:19:45 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Sep 25 21:27:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df9d79a dev-python/html5lib: Keyword 1.1 for ~m68k The tests pass. Signed-off-by: James Le Cuirot gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index 3fddc154671..18e0d1b351b 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" PATCHES=( "${FILESDIR}"/${P}-pytest6.patch
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/, dev-python/html5lib/files/
commit: 02cc2601e80e203f3f840a26977543674a013555 Author: Jakov Smolic sartura hr> AuthorDate: Thu May 6 23:56:09 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri May 7 11:57:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02cc2601 dev-python/html5lib: Port to python3.10, support pytest-6 Closes: https://bugs.gentoo.org/754144 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Michał Górny gentoo.org> .../html5lib/files/html5lib-1.1-pytest6.patch | 153 + dev-python/html5lib/html5lib-1.1.ebuild| 9 +- 2 files changed, 158 insertions(+), 4 deletions(-) diff --git a/dev-python/html5lib/files/html5lib-1.1-pytest6.patch b/dev-python/html5lib/files/html5lib-1.1-pytest6.patch new file mode 100644 index 000..a511b40abea --- /dev/null +++ b/dev-python/html5lib/files/html5lib-1.1-pytest6.patch @@ -0,0 +1,153 @@ +# https://github.com/html5lib/html5lib-python/pull/506 +# https://bugs.gentoo.org/754144 +From e6bd99e8f2497194ffd0a06c6954ebb28d7526bb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Sat, 8 Aug 2020 13:39:22 +0200 +Subject: [PATCH] Use Node.from_parent() constructor to support pytest 6 + +Add a wrapper not to break pytest 4 (needed for Python 2 support). + += test session starts == +platform linux -- Python 3.9.0b5, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 +rootdir: /builddir/build/BUILD/html5lib-1.1, configfile: pytest.ini +plugins: expect-1.1.0 +collected 0 items / 1 error + + ERRORS + ERROR collecting test session _ +/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__ +return self._hookexec(self, self.get_hookimpls(), kwargs) +/usr/lib/python3.9/site-packages/pluggy/manager.py:93: in _hookexec +return self._inner_hookexec(hook, methods, kwargs) +/usr/lib/python3.9/site-packages/pluggy/manager.py:84: in +self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( +html5lib/tests/conftest.py:105: in pytest_collect_file +return TokenizerFile(path, parent) +/usr/lib/python3.9/site-packages/_pytest/nodes.py:95: in __call__ +warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) +E pytest.PytestDeprecationWarning: Direct construction of TokenizerFile has been deprecated, please use TokenizerFile.from_parent. +E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. + +Fixes https://github.com/html5lib/html5lib-python/issues/505 +--- + html5lib/tests/conftest.py | 15 --- + html5lib/tests/sanitizer.py | 2 +- + html5lib/tests/tokenizer.py | 10 +- + html5lib/tests/tree_construction.py | 20 ++-- + requirements-test.txt | 2 +- + 5 files changed, 29 insertions(+), 20 deletions(-) + +diff --git a/html5lib/tests/conftest.py b/html5lib/tests/conftest.py +index dad167c5..fffeb50c 100644 +--- a/html5lib/tests/conftest.py b/html5lib/tests/conftest.py +@@ -99,10 +99,19 @@ def pytest_collect_file(path, parent): + + if _tree_construction in dir_and_parents: + if path.ext == ".dat": +-return TreeConstructionFile(path, parent) ++return TreeConstructionFile.from_parent(parent, fspath=path) + elif _tokenizer in dir_and_parents: + if path.ext == ".test": +-return TokenizerFile(path, parent) ++return TokenizerFile.from_parent(parent, fspath=path) + elif _sanitizer_testdata in dir_and_parents: + if path.ext == ".dat": +-return SanitizerFile(path, parent) ++return SanitizerFile.from_parent(parent, fspath=path) ++ ++ ++# Tiny wrapper to allow .from_parent constructors on older pytest for PY27 ++if not hasattr(pytest.Item.__base__, "from_parent"): ++@classmethod ++def from_parent(cls, parent, **kwargs): ++return cls(parent=parent, **kwargs) ++ ++pytest.Item.__base__.from_parent = from_parent +diff --git a/html5lib/tests/sanitizer.py b/html5lib/tests/sanitizer.py +index bb483421..16e53868 100644 +--- a/html5lib/tests/sanitizer.py b/html5lib/tests/sanitizer.py +@@ -13,7 +13,7 @@ def collect(self): + with codecs.open(str(self.fspath), "r", encoding="utf-8") as fp: + tests = json.load(fp) + for i, test in enumerate(tests): +-yield SanitizerTest(str(i), self, test=test) ++yield SanitizerTest.from_parent(self, name=str(i), test=test) + + + class SanitizerTest(pytest.Item): +diff --git a/html5lib/tests/tokenizer.py b/html5lib/tests/tokenizer.py +index 47264cc3..cc9897a4 100644 +--- a/html5lib/tests/tokenizer.py b/html5lib/tests/tokenizer.py +@@
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/, dev-python/html5lib/files/
commit: 2df34ea62c58a482f2a85c25acfa8c58f52e9b51 Author: Michał Górny gentoo org> AuthorDate: Thu Oct 8 18:42:20 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Oct 8 18:42:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df34ea6 dev-python/html5lib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/Manifest | 1 - .../files/html5lib-1.0.1-collections-abc.patch | 44 .../html5lib-python-1.0.1-support-pytest4.patch| 270 - dev-python/html5lib/html5lib-1.0.1-r2.ebuild | 37 --- 4 files changed, 352 deletions(-) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 03c605eb9e6..24a9ed5ed3c 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1,2 +1 @@ -DIST html5lib-1.0.1.tar.gz 252959 BLAKE2B d2a9fa19d6a18b9e0c39f737a22ff4d5a6533734843f787c083f9497fd94788dad0e1e96478fe48b262c208370cf58e91ab94cc06a3e2757a40e936363cd3148 SHA512 35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2 DIST html5lib-1.1.tar.gz 272215 BLAKE2B 11a4fc3fb84bf8bab4af5da1de30b0892a9eb454505716b3db391187053c9aac159b1c82ae787896592b8fc850363bba9313b9d7fc617150771c3bfa1aeadefb SHA512 af7c29591007fded99be6c38e3d0ae5a4ac32d71d26046a615918ae732cb1c1ecbf754f47ceca1a53726c3843f3ecea7af87a7362281b45ff3af495815818626 diff --git a/dev-python/html5lib/files/html5lib-1.0.1-collections-abc.patch b/dev-python/html5lib/files/html5lib-1.0.1-collections-abc.patch deleted file mode 100644 index d5a9dcac299..000 --- a/dev-python/html5lib/files/html5lib-1.0.1-collections-abc.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 4f9235752cea29c5a31721440578b430823a1e69 Mon Sep 17 00:00:00 2001 -From: 5j9 <5...@users.noreply.github.com> -Date: Mon, 1 Oct 2018 15:02:33 +0330 -Subject: [PATCH] Try to import MutableMapping from collections.abc (#403) - -Note that collections.abc has been added in Python 3.3. - -Fixes #402 - html5lib/_trie/_base.py | 5 - - html5lib/treebuilders/dom.py | 5 - - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/html5lib/_trie/_base.py b/html5lib/_trie/_base.py -index a1158bbb..6b71975f 100644 a/html5lib/_trie/_base.py -+++ b/html5lib/_trie/_base.py -@@ -1,6 +1,9 @@ - from __future__ import absolute_import, division, unicode_literals - --from collections import Mapping -+try: -+from collections.abc import Mapping -+except ImportError: # Python 2.7 -+from collections import Mapping - - - class Trie(Mapping): -diff --git a/html5lib/treebuilders/dom.py b/html5lib/treebuilders/dom.py -index dcfac220..d8b53004 100644 a/html5lib/treebuilders/dom.py -+++ b/html5lib/treebuilders/dom.py -@@ -1,7 +1,10 @@ - from __future__ import absolute_import, division, unicode_literals - - --from collections import MutableMapping -+try: -+from collections.abc import MutableMapping -+except ImportError: # Python 2.7 -+from collections import MutableMapping - from xml.dom import minidom, Node - import weakref - diff --git a/dev-python/html5lib/files/html5lib-python-1.0.1-support-pytest4.patch b/dev-python/html5lib/files/html5lib-python-1.0.1-support-pytest4.patch deleted file mode 100644 index 98c9fb23fc7..000 --- a/dev-python/html5lib/files/html5lib-python-1.0.1-support-pytest4.patch +++ /dev/null @@ -1,270 +0,0 @@ -From 2699544837e68b12f1740a7eb56882a0dc0a4008 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Thu, 28 Mar 2019 01:45:43 +0100 -Subject: [PATCH 1/4] Support pytest 4 - -Fixes https://github.com/html5lib/html5lib-python/issues/411 - html5lib/tests/test_encoding.py| 4 ++-- - html5lib/tests/test_sanitizer.py | 14 +++--- - html5lib/tests/test_serializer.py | 2 +- - html5lib/tests/test_stream.py | 7 --- - html5lib/tests/test_treewalkers.py | 2 +- - requirements-test.txt | 2 +- - tox.ini| 2 +- - 7 files changed, 17 insertions(+), 16 deletions(-) - -diff --git a/html5lib/tests/test_encoding.py b/html5lib/tests/test_encoding.py -index 9a411c77..97b6ca2a 100644 a/html5lib/tests/test_encoding.py -+++ b/html5lib/tests/test_encoding.py -@@ -99,8 +99,8 @@ def test_encoding(): - for filename in get_data_files("encoding"): - tests = _TestData(filename, b"data", encoding=None) - for test in tests: --yield (runParserEncodingTest, test[b'data'], test[b'encoding']) --yield (runPreScanEncodingTest, test[b'data'], test[b'encoding']) -+runParserEncodingTest(test[b'data'], test[b'encoding']) -+runPreScanEncodingTest(test[b'data'], test[b'encoding']) - - - # pylint:disable=wrong-import-position -diff --git a/html5lib/tests/test_sanitizer.py b/html5lib/tests/test_sanitizer.py -index 45046d57..1b7285fc 100644
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 44900d4c02a1c9ad94a338aa805a0fcbade36569 Author: Sam James gentoo org> AuthorDate: Thu Oct 8 18:36:41 2020 + Commit: Sam James gentoo org> CommitDate: Thu Oct 8 18:36:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44900d4c dev-python/html5lib: Stabilize 1.1 ALLARCHES, #734416 Signed-off-by: Sam James gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index cee55175f43..f4474efcf50 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT+=" !test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 01f845a01b7f6c748b5f3e69cbb2741e41d9e14a Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Aug 30 19:05:56 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Aug 30 19:10:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f845a0 dev-python/html5lib: x86 stable (bug #734416) Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index 939abadef41..32fe89fdf77 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT+=" !test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 9577fc810f902b8e317a7d44538ab351edb7c90a Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Aug 2 11:39:00 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Aug 2 11:39:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9577fc81 dev-python/html5lib: stable 1.1 for hppa stable wrt bug #734416 Package-Manager: Portage-3.0.1, Repoman-2.3.23 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index 777d60a4eec..939abadef41 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~x64-macos" IUSE="test" RESTRICT+=" !test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 680c9f88be8818c40fa7b7f83ce71de8b5d1165a Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 1 09:08:36 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 1 09:14:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680c9f88 dev-python/html5lib: stable 1.1 for sparc stable wrt bug #734416 Package-Manager: Portage-3.0.1, Repoman-2.3.23 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index bfba6fd865e..777d60a4eec 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~x64-macos" IUSE="test" RESTRICT+=" !test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 89a928109287f7bc00a508b8a1f910cea9ca5f96 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 1 08:57:57 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 1 08:57:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a92810 dev-python/html5lib: stable 1.1 for ppc64 stable wrt bug #734416 Package-Manager: Portage-3.0.1, Repoman-2.3.23 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index 5bddebf5342..bfba6fd865e 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" RESTRICT+=" !test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: bd105a9a853a4d33c8c4583d5ab94adc9e48a4b9 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 25 10:31:26 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 27 10:02:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd105a9a dev-python/html5lib: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.0.1-r2.ebuild | 2 +- dev-python/html5lib/html5lib-1.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/html5lib/html5lib-1.0.1-r2.ebuild b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild index b2553ca1f8c..cb7387aff2c 100644 --- a/dev-python/html5lib/html5lib-1.0.1-r2.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index 16f72f8d42f..af1b905d587 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: e843fe9713542edea8c57fb342cfcd9c295da2ed Author: Michał Górny gentoo org> AuthorDate: Tue Jun 23 05:01:10 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 23 06:03:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e843fe97 dev-python/html5lib: Bump to 1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/Manifest| 1 + dev-python/html5lib/html5lib-1.1.ebuild | 30 ++ 2 files changed, 31 insertions(+) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 1746e1bd8d8..03c605eb9e6 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1 +1,2 @@ DIST html5lib-1.0.1.tar.gz 252959 BLAKE2B d2a9fa19d6a18b9e0c39f737a22ff4d5a6533734843f787c083f9497fd94788dad0e1e96478fe48b262c208370cf58e91ab94cc06a3e2757a40e936363cd3148 SHA512 35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2 +DIST html5lib-1.1.tar.gz 272215 BLAKE2B 11a4fc3fb84bf8bab4af5da1de30b0892a9eb454505716b3db391187053c9aac159b1c82ae787896592b8fc850363bba9313b9d7fc617150771c3bfa1aeadefb SHA512 af7c29591007fded99be6c38e3d0ae5a4ac32d71d26046a615918ae732cb1c1ecbf754f47ceca1a53726c3843f3ecea7af87a7362281b45ff3af495815818626 diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild new file mode 100644 index 000..16f72f8d42f --- /dev/null +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT+=" !test? ( test )" + +RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/pytest-expect[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: b71bfcdfd53f3b1377584bf6ffe1b3f9f43d77fb Author: Michał Górny gentoo org> AuthorDate: Tue May 26 16:06:46 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue May 26 16:23:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71bfcdf dev-python/html5lib: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.0.1-r2.ebuild | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-python/html5lib/html5lib-1.0.1-r2.ebuild b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild index 89f23560821..b2553ca1f8c 100644 --- a/dev-python/html5lib/html5lib-1.0.1-r2.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 @@ -16,18 +16,17 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-macos" IUSE="test" +RESTRICT+=" !test? ( test )" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}] dev-python/webencodings[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] +BDEPEND=" test? ( + ${RDEPEND} dev-python/pytest-expect[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )" -RESTRICT+=" !test? ( test )" - PATCHES=( # fix deprecated import "${FILESDIR}/html5lib-1.0.1-collections-abc.patch"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/files/
commit: ab9ade98f4508946e4f9dc0acab4ded74c2362c4 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 4 19:00:13 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 4 19:06:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9ade98 dev-python/html5lib: Commit missing patch Signed-off-by: Michał Górny gentoo.org> .../files/html5lib-1.0.1-collections-abc.patch | 44 ++ 1 file changed, 44 insertions(+) diff --git a/dev-python/html5lib/files/html5lib-1.0.1-collections-abc.patch b/dev-python/html5lib/files/html5lib-1.0.1-collections-abc.patch new file mode 100644 index 000..d5a9dcac299 --- /dev/null +++ b/dev-python/html5lib/files/html5lib-1.0.1-collections-abc.patch @@ -0,0 +1,44 @@ +From 4f9235752cea29c5a31721440578b430823a1e69 Mon Sep 17 00:00:00 2001 +From: 5j9 <5...@users.noreply.github.com> +Date: Mon, 1 Oct 2018 15:02:33 +0330 +Subject: [PATCH] Try to import MutableMapping from collections.abc (#403) + +Note that collections.abc has been added in Python 3.3. + +Fixes #402 +--- + html5lib/_trie/_base.py | 5 - + html5lib/treebuilders/dom.py | 5 - + 2 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/html5lib/_trie/_base.py b/html5lib/_trie/_base.py +index a1158bbb..6b71975f 100644 +--- a/html5lib/_trie/_base.py b/html5lib/_trie/_base.py +@@ -1,6 +1,9 @@ + from __future__ import absolute_import, division, unicode_literals + +-from collections import Mapping ++try: ++from collections.abc import Mapping ++except ImportError: # Python 2.7 ++from collections import Mapping + + + class Trie(Mapping): +diff --git a/html5lib/treebuilders/dom.py b/html5lib/treebuilders/dom.py +index dcfac220..d8b53004 100644 +--- a/html5lib/treebuilders/dom.py b/html5lib/treebuilders/dom.py +@@ -1,7 +1,10 @@ + from __future__ import absolute_import, division, unicode_literals + + +-from collections import MutableMapping ++try: ++from collections.abc import MutableMapping ++except ImportError: # Python 2.7 ++from collections import MutableMapping + from xml.dom import minidom, Node + import weakref +
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: c6bc8f30bc42834627725f9f2a2cb6e8d3107caa Author: Michał Górny gentoo org> AuthorDate: Sat Apr 4 15:01:33 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 4 17:04:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6bc8f30 dev-python/html5lib: Fix deprecated imports Signed-off-by: Michał Górny gentoo.org> .../html5lib/{html5lib-1.0.1-r1.ebuild => html5lib-1.0.1-r2.ebuild} | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/html5lib/html5lib-1.0.1-r1.ebuild b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild similarity index 92% rename from dev-python/html5lib/html5lib-1.0.1-r1.ebuild rename to dev-python/html5lib/html5lib-1.0.1-r2.ebuild index 9622a02f426..89f23560821 100644 --- a/dev-python/html5lib/html5lib-1.0.1-r1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild @@ -29,6 +29,8 @@ BDEPEND="${RDEPEND} RESTRICT+=" !test? ( test )" PATCHES=( + # fix deprecated import + "${FILESDIR}/html5lib-1.0.1-collections-abc.patch" # https://github.com/html5lib/html5lib-python/pull/429 "${FILESDIR}/html5lib-python-1.0.1-support-pytest4.patch" )
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 1a83c346271dc4b81d4185332cfc3b68af4e9021 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 27 11:28:08 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 27 11:35:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a83c346 dev-python/html5lib: Remove redundant versions Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/Manifest| 2 -- dev-python/html5lib/html5lib-0.999.ebuild | 34 - dev-python/html5lib/html5lib-0.9.ebuild | 33 dev-python/html5lib/html5lib-1.0.1.ebuild | 34 - 4 files changed, 103 deletions(-) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 78528b7f681..1746e1bd8d8 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1,3 +1 @@ -DIST html5lib-0.999.tar.gz 889312 BLAKE2B 49cbab503692a1044ef37b11d9b776fb0378c19f1cbe05b259b4653d248e3571e5578d7879ab3ec5df2e750db74c353acc98d1d6e8556949c1b1efb62f38c116 SHA512 1748a1921f4bc93b7f208d89701eeabfe507e40515dd2e88ece239ba7c1704c8ae9dc4eea310164c7b207225dce910f78a8b34f826f4f87a2992365c07089c28 -DIST html5lib-0.9.tar.gz 245488 BLAKE2B 3d2409f18e7ff6b6882e163b782703a7d2b2d42f8c131ab05a51499a4cd23d75ff8d097c1ce87e9f28e8ce649bec8099d364f4d01ee64d0efdfc75fba1d01067 SHA512 b30d9ea74d0ad03e07ebee0d33caefeed717e6084f2ef44559ebf73948563ffd60e40c774e23c8964a32b0f265d1d1f0b98759861acaa208f28e5ab2813c3ca0 DIST html5lib-1.0.1.tar.gz 252959 BLAKE2B d2a9fa19d6a18b9e0c39f737a22ff4d5a6533734843f787c083f9497fd94788dad0e1e96478fe48b262c208370cf58e91ab94cc06a3e2757a40e936363cd3148 SHA512 35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2 diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild deleted file mode 100644 index c3254355ba7..000 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_test() { - # https://github.com/html5lib/html5lib-python/issues/224 - # https://bugs.gentoo.org/show_bug.cgi?id=571644 - has_version =dev-python/lxml-3.5.0 && \ - einfo "test are broken with dev-python/lxml-3.5.0" && \ - einfo "https://github.com/html5lib/html5lib-python/issues/224; && \ - return - nosetests --verbosity=3 || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild deleted file mode 100644 index c9b826117cf..000 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}] - dev-python/webencodings[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-expect[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - )" - -python_test() { - py.test -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild deleted file mode 100644 index e4884a7de3c..000 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 90adedec7c472b2ffb3409a04e01401b79b29144 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 27 11:27:08 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 27 11:35:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90adedec dev-python/html5lib: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/html5lib/metadata.xml b/dev-python/html5lib/metadata.xml index a9695174a87..db9b5eab8d5 100644 --- a/dev-python/html5lib/metadata.xml +++ b/dev-python/html5lib/metadata.xml @@ -10,6 +10,7 @@ to conform to the WHATWG HTML specification, as is implemented by all major web browsers. + html5lib html5lib/html5lib-python
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: bb8d5356940625d8085371b293dd40941d2ec0f5 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 27 11:27:38 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 27 11:35:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8d5356 dev-python/html5lib: Stabilize 1.0.1-r1 ALLARCHES Closes: https://bugs.gentoo.org/714334 Signed-off-by: Michał Górny gentoo.org> dev-python/html5lib/html5lib-1.0.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1-r1.ebuild b/dev-python/html5lib/html5lib-1.0.1-r1.ebuild index 0ad5158f911..5bd33d0fd50 100644 --- a/dev-python/html5lib/html5lib-1.0.1-r1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/, dev-python/html5lib/files/
commit: 861fb47c4f3c853ba2aabc53b0b6acbbeb7ceeaa Author: Patrick McLean sony com> AuthorDate: Tue Nov 26 23:53:34 2019 + Commit: Patrick McLean gentoo org> CommitDate: Wed Nov 27 01:13:37 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861fb47c dev-python/html5lib: revbump, EAPI=7, py38 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean gentoo.org> .../html5lib-python-1.0.1-support-pytest4.patch| 270 + ...l5lib-1.0.1.ebuild => html5lib-1.0.1-r1.ebuild} | 20 +- dev-python/html5lib/html5lib-1.0.1.ebuild | 2 + 3 files changed, 284 insertions(+), 8 deletions(-) diff --git a/dev-python/html5lib/files/html5lib-python-1.0.1-support-pytest4.patch b/dev-python/html5lib/files/html5lib-python-1.0.1-support-pytest4.patch new file mode 100644 index 000..98c9fb23fc7 --- /dev/null +++ b/dev-python/html5lib/files/html5lib-python-1.0.1-support-pytest4.patch @@ -0,0 +1,270 @@ +From 2699544837e68b12f1740a7eb56882a0dc0a4008 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Thu, 28 Mar 2019 01:45:43 +0100 +Subject: [PATCH 1/4] Support pytest 4 + +Fixes https://github.com/html5lib/html5lib-python/issues/411 +--- + html5lib/tests/test_encoding.py| 4 ++-- + html5lib/tests/test_sanitizer.py | 14 +++--- + html5lib/tests/test_serializer.py | 2 +- + html5lib/tests/test_stream.py | 7 --- + html5lib/tests/test_treewalkers.py | 2 +- + requirements-test.txt | 2 +- + tox.ini| 2 +- + 7 files changed, 17 insertions(+), 16 deletions(-) + +diff --git a/html5lib/tests/test_encoding.py b/html5lib/tests/test_encoding.py +index 9a411c77..97b6ca2a 100644 +--- a/html5lib/tests/test_encoding.py b/html5lib/tests/test_encoding.py +@@ -99,8 +99,8 @@ def test_encoding(): + for filename in get_data_files("encoding"): + tests = _TestData(filename, b"data", encoding=None) + for test in tests: +-yield (runParserEncodingTest, test[b'data'], test[b'encoding']) +-yield (runPreScanEncodingTest, test[b'data'], test[b'encoding']) ++runParserEncodingTest(test[b'data'], test[b'encoding']) ++runPreScanEncodingTest(test[b'data'], test[b'encoding']) + + + # pylint:disable=wrong-import-position +diff --git a/html5lib/tests/test_sanitizer.py b/html5lib/tests/test_sanitizer.py +index 45046d57..1b7285fc 100644 +--- a/html5lib/tests/test_sanitizer.py b/html5lib/tests/test_sanitizer.py +@@ -67,19 +67,19 @@ def test_sanitizer(): + 'tfoot', 'th', 'thead', 'tr', 'select']: + continue # TODO + if tag_name == 'image': +-yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name, ++runSanitizerTest("test_should_allow_%s_tag" % tag_name, +"foo badbar/bad baz", +"<%s title='1'>foo bar baz" % (tag_name, tag_name)) + elif tag_name == 'br': +-yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name, ++runSanitizerTest("test_should_allow_%s_tag" % tag_name, +"foo badbar/bad baz", +"<%s title='1'>foo bar baz" % (tag_name, tag_name)) + elif tag_name in constants.voidElements: +-yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name, ++runSanitizerTest("test_should_allow_%s_tag" % tag_name, +"<%s title=\"1\"/>foo badbar/bad baz" % tag_name, +"<%s title='1'>foo bar baz" % (tag_name, tag_name)) + else: +-yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name, ++runSanitizerTest("test_should_allow_%s_tag" % tag_name, +"<%s title=\"1\">foo badbar/bad baz" % (tag_name, tag_name), +"<%s title='1'>foo bar baz" % (tag_name, tag_name)) + +@@ -93,7 +93,7 @@ def test_sanitizer(): + attribute_value = 'foo' + if attribute_name in sanitizer.attr_val_is_uri: + attribute_value = '%s://sub.domain.tld/path/object.ext' % sanitizer.allowed_protocols[0] +-yield (runSanitizerTest, "test_should_allow_%s_attribute" % attribute_name, ++runSanitizerTest("test_should_allow_%s_attribute" % attribute_name, +"foo badbar/bad baz" % (attribute_name, attribute_value), +"foo bar baz" % (attribute_name, attribute_value)) + +@@ -101,7 +101,7 @@ def test_sanitizer(): + rest_of_uri = '//sub.domain.tld/path/object.ext' + if protocol == 'data': + rest_of_uri = 'image/png;base64,aGVsbG8gd29ybGQ=' +-yield (runSanitizerTest, "test_should_allow_uppercase_%s_uris" % protocol, ++runSanitizerTest("test_should_allow_uppercase_%s_uris" % protocol, +"foo" % (protocol, rest_of_uri), +
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 6b05e6f3acf19156bb71519f8b38b9df328dcac5 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Nov 2 08:19:06 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Nov 2 08:19:06 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b05e6f3 dev-python/html5lib: Add ~sh keyword wrt bug #617916 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="sh" Signed-off-by: Mikle Kolyada gentoo.org> dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index b71a60e5a8a..4487607de5a 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x64-macos" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 523b7549b46601351076da8f135b9792cee629b2 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Dec 8 17:51:50 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Dec 8 17:54:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523b7549 dev-python/html5lib: mark s390 stable Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index c8f05387945..97a61983336 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: f626eb7176fd2a372d21997f521bd8dc7b2e00c3 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Oct 29 23:25:47 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Oct 29 23:26:21 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f626eb71 dev-python/html5lib: stable 1.0.1 for ia64, bug #659658 Signed-off-by: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="ia64" dev-python/html5lib/html5lib-1.0.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index 58e94db14c4..c8f05387945 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 6aa533e2cd4067696d934ef9eeec97ae672a70e6 Author: Matt Turner gentoo org> AuthorDate: Sun Sep 16 20:24:59 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Sep 16 20:24:59 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa533e2 dev-python/html5lib-1.0.1: ppc64 stable, bug 659658 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index a0a332fd9e6..58e94db14c4 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 4ce8f26e376b221e1cb5ae5a33c6791e9ad411ea Author: Matt Turner gentoo org> AuthorDate: Sun Sep 16 20:24:51 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Sep 16 20:24:51 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce8f26e dev-python/html5lib-1.0.1: ppc stable, bug 659658 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index ae97b2a4307..a0a332fd9e6 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 41c4edb1fa2dce8e9583cb17abe8a7f6efe4c698 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Jul 22 02:13:58 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Jul 22 02:13:58 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c4edb1 dev-python/html5lib: arm stable wrt bug #659658 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index 9b2968887cd..ae97b2a4307 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: c2da5a3f94d859b51346962ab6a2e93de0133367 Author: Tobias Klausmann gentoo org> AuthorDate: Fri Jul 20 15:52:47 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Fri Jul 20 15:52:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2da5a3f dev-python/html5lib-1.0.1-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/659658 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index a3074f2bc0b..9b2968887cd 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 71e37b0528373aa406e6a4a61fc2d427ca3a94cc Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Jul 3 19:09:33 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jul 3 20:01:32 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e37b05 dev-python/html5lib: stable 1.0.1 for hppa Bug: https://bugs.gentoo.org/659658 Package-Manager: Portage-2.3.40, Repoman-2.3.9 RepoMan-Options: --include-arches="hppa" dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index 1f00265e859..198ea67b717 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 081b331014aa32ce8d42d4839894a1a39d9e6025 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Jul 2 20:28:34 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jul 2 21:24:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081b3310 dev-python/html5lib: stable 1.0.1 for sparc Bug: https://bugs.gentoo.org/659658 Package-Manager: Portage-2.3.40, Repoman-2.3.9 RepoMan-Options: --include-arches="sparc" dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index 4dac745c36f..1f00265e859 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: cfca8b6f5c33066bd7c55e07d3b7f1e78d4b001e Author: Pacho Ramos gentoo org> AuthorDate: Sun Jul 1 15:02:28 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jul 1 15:19:11 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfca8b6f dev-python/html5lib: amd64 stable, bug #659658 Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index c1c8da784a8..97561ee65bc 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 3c19a34e12c507f025741a85f506b6452356117d Author: Mart Raudsepp gentoo org> AuthorDate: Sat Jun 30 18:02:42 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Sat Jun 30 18:02:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c19a34e dev-python/html5lib-1.0.1: arm64 stable (bug #659658) Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/html5lib/html5lib-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild index f9a1272bea4..c1c8da784a8 100644 --- a/dev-python/html5lib/html5lib-1.0.1.ebuild +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-macos" IUSE="test" RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 327c6e76c9d3bc42f23f233d45c002dae31b4fa2 Author: Tim Harder gentoo org> AuthorDate: Mon Mar 19 05:58:24 2018 + Commit: Tim Harder gentoo org> CommitDate: Mon Mar 19 06:02:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=327c6e76 dev-python/html5lib: version bump to 1.0.1 Closes: https://bugs.gentoo.org/648186 dev-python/html5lib/Manifest | 1 + dev-python/html5lib/html5lib-1.0.1.ebuild | 32 +++ 2 files changed, 33 insertions(+) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 5cb6a678178..78528b7f681 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1,2 +1,3 @@ DIST html5lib-0.999.tar.gz 889312 BLAKE2B 49cbab503692a1044ef37b11d9b776fb0378c19f1cbe05b259b4653d248e3571e5578d7879ab3ec5df2e750db74c353acc98d1d6e8556949c1b1efb62f38c116 SHA512 1748a1921f4bc93b7f208d89701eeabfe507e40515dd2e88ece239ba7c1704c8ae9dc4eea310164c7b207225dce910f78a8b34f826f4f87a2992365c07089c28 DIST html5lib-0.9.tar.gz 245488 BLAKE2B 3d2409f18e7ff6b6882e163b782703a7d2b2d42f8c131ab05a51499a4cd23d75ff8d097c1ce87e9f28e8ce649bec8099d364f4d01ee64d0efdfc75fba1d01067 SHA512 b30d9ea74d0ad03e07ebee0d33caefeed717e6084f2ef44559ebf73948563ffd60e40c774e23c8964a32b0f265d1d1f0b98759861acaa208f28e5ab2813c3ca0 +DIST html5lib-1.0.1.tar.gz 252959 BLAKE2B d2a9fa19d6a18b9e0c39f737a22ff4d5a6533734843f787c083f9497fd94788dad0e1e96478fe48b262c208370cf58e91ab94cc06a3e2757a40e936363cd3148 SHA512 35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2 diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild new file mode 100644 index 000..1e9cddcf638 --- /dev/null +++ b/dev-python/html5lib/html5lib-1.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="test" + +RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-expect[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 5d9de93dfbb525c9bec71ceeb55ff963523d7290 Author: Patrice Clement gentoo org> AuthorDate: Tue Jan 23 22:13:42 2018 + Commit: Patrice Clement gentoo org> CommitDate: Tue Jan 23 22:13:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9de93d dev-python/html5lib: add amd64-fbsd keyword. Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-python/html5lib/html5lib-0.9.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index f53420c0ca0..01deadfdd3d 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/, dev-python/html5lib/files/
commit: 9f660cebb2308bb021a128fdd699ea70ec383c6a Author: Michał Górny gentoo org> AuthorDate: Thu Jan 4 20:03:07 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 4 20:34:53 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f660ceb dev-python/html5lib: Clean old up .../html5lib-0.999-lxml-3.5.0-backport.patch | 117 - ...html5lib-0.999-python3.6-sanitizer-re.patch | 50 - dev-python/html5lib/html5lib-0.999-r2.ebuild | 32 -- 3 files changed, 199 deletions(-) diff --git a/dev-python/html5lib/files/html5lib-0.999-lxml-3.5.0-backport.patch b/dev-python/html5lib/files/html5lib-0.999-lxml-3.5.0-backport.patch deleted file mode 100644 index fecfab9a4fb..000 --- a/dev-python/html5lib/files/html5lib-0.999-lxml-3.5.0-backport.patch +++ /dev/null @@ -1,117 +0,0 @@ -From 46046c0f7125911ff8205f09a7574573bb953105 Mon Sep 17 00:00:00 2001 -From: Geoffrey Sneddon-Date: Mon, 23 Nov 2015 15:17:07 + -Subject: [PATCH 1/3] Make lxml tree-builder coerce comments to work with lxml - 3.5. - - html5lib/ihatexml.py| 2 ++ - html5lib/treebuilders/etree_lxml.py | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/html5lib/ihatexml.py b/html5lib/ihatexml.py -index 0fc7930..b5b2e98 100644 a/html5lib/ihatexml.py -+++ b/html5lib/ihatexml.py -@@ -225,6 +225,8 @@ def coerceComment(self, data): - while "--" in data: - warnings.warn("Comments cannot contain adjacent dashes", DataLossWarning) - data = data.replace("--", "- -") -+if data.endswith("-"): -+data += " " - return data - - def coerceCharacters(self, data): -diff --git a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py -index 35d08ef..17007e3 100644 a/html5lib/treebuilders/etree_lxml.py -+++ b/html5lib/treebuilders/etree_lxml.py -@@ -189,7 +189,7 @@ class TreeBuilder(_base.TreeBuilder): - - def __init__(self, namespaceHTMLElements, fullTree=False): - builder = etree_builders.getETreeModule(etree, fullTree=fullTree) --infosetFilter = self.infosetFilter = ihatexml.InfosetFilter() -+infosetFilter = self.infosetFilter = ihatexml.InfosetFilter(preventDoubleDashComments=True) - self.namespaceHTMLElements = namespaceHTMLElements - - class Attributes(dict): - -From 1c22e1ce93dd4acc81a66cfa03cf9720fbd741c7 Mon Sep 17 00:00:00 2001 -From: Geoffrey Sneddon -Date: Mon, 23 Nov 2015 15:35:21 + -Subject: [PATCH 2/3] fixup! Make lxml tree-builder coerce comments to work - with lxml 3.5. - - html5lib/ihatexml.py| 1 + - html5lib/treebuilders/etree_lxml.py | 7 --- - 2 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/html5lib/ihatexml.py b/html5lib/ihatexml.py -index b5b2e98..5a81a12 100644 a/html5lib/ihatexml.py -+++ b/html5lib/ihatexml.py -@@ -226,6 +226,7 @@ def coerceComment(self, data): - warnings.warn("Comments cannot contain adjacent dashes", DataLossWarning) - data = data.replace("--", "- -") - if data.endswith("-"): -+warnings.warn("Comments cannot contain end in a dash", DataLossWarning) - data += " " - return data - -diff --git a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py -index 17007e3..c6c981f 100644 a/html5lib/treebuilders/etree_lxml.py -+++ b/html5lib/treebuilders/etree_lxml.py -@@ -54,7 +54,7 @@ def _getChildNodes(self): - def testSerializer(element): - rv = [] - finalText = None --infosetFilter = ihatexml.InfosetFilter() -+infosetFilter = ihatexml.InfosetFilter(preventDoubleDashComments=True) - - def serializeElement(element, indent=0): - if not hasattr(element, "tag"): -@@ -257,7 +257,7 @@ def _getData(self): - data = property(_getData, _setData) - - self.elementClass = Element --self.commentClass = builder.Comment -+self.commentClass = Comment - # self.fragmentClass = builder.DocumentFragment - _base.TreeBuilder.__init__(self, namespaceHTMLElements) - -@@ -344,7 +344,8 @@ def insertRoot(self, token): - - # Append the initial comments: - for comment_token in self.initial_comments: --root.addprevious(etree.Comment(comment_token["data"])) -+comment = self.commentClass(comment_token["data"]) -+root.addprevious(comment._element) - - # Create the root document and add the ElementTree to it - self.document = self.documentClass() - -From 235a6d7ac7e0a3e2b431766e051094c2d3110ba3 Mon Sep 17 00:00:00 2001 -From: Geoffrey Sneddon -Date: Mon, 23 Nov 2015 15:42:12 + -Subject: [PATCH 3/3] fixup! Make lxml tree-builder coerce comments to work - with lxml 3.5. - -
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: c5af49bd6783d510093b47e3056786c91aa60879 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Dec 20 21:52:36 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Dec 20 21:52:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5af49bd dev-python/html5lib: keyworded 0.9 for sparc, bug #617914 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 794654fac31..f53420c0ca0 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: fea4aba8c32171c4f990285c757005369b8b9c43 Author: Matt Turner gentoo org> AuthorDate: Thu Nov 23 22:29:24 2017 + Commit: Matt Turner gentoo org> CommitDate: Thu Nov 23 22:31:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea4aba8 dev-python/html5lib-0.9: added ~alpha, bug 617914 dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 7e238cc4804..794654fac31 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 6f6cbb1928b3b50357ca9a85123a9d99fa5d0da3 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Sep 22 19:35:23 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Sep 22 19:40:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f6cbb19 dev-python/html5lib: keyworded 0.9 for ppc, bug #617914 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 18c4cfa3323..7e238cc4804 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: da6946b70731eebcc2840915722dbb3981d51256 Author: Tim Harder gentoo org> AuthorDate: Sun Aug 20 02:12:09 2017 + Commit: Tim Harder gentoo org> CommitDate: Sun Aug 20 02:17:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da6946b7 dev-python/html5lib: rekeyword 0.9 for ~x86 dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 3dc0a26774a..18c4cfa3323 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~x86" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 8f967d622076aeddc18862d71863387f6a7b917e Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jul 1 11:18:29 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jul 1 11:18:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f967d62 dev-python/html5lib: ia64 keyworded, bug #617914 Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --include-arches="ia64" dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 17bdab2ccd1..3dc0a26774a 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 3bca6ba14025c2b80cfa424936d242b5a02414bc Author: Mart Raudsepp gentoo org> AuthorDate: Fri May 26 20:54:25 2017 + Commit: Mart Raudsepp gentoo org> CommitDate: Fri May 26 20:56:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bca6ba1 dev-python/html5lib: keyworded for ~mips Gentoo-bug: 617914 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 35ca43d2db9..17bdab2ccd1 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: c4758f10884c1d9ed499162696c0e2e69a78a003 Author: Markus Meier gentoo org> AuthorDate: Fri May 26 18:36:27 2017 + Commit: Markus Meier gentoo org> CommitDate: Fri May 26 18:36:27 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4758f10 dev-python/html5lib: add ~arm, bug #617914 Package-Manager: Portage-2.3.5, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 48d525c1dae..35ca43d2db9 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 15744fcc63741bd5ad9d6a4d3eed3fef9a2f43e5 Author: Michael Weber gentoo org> AuthorDate: Tue May 23 19:59:43 2017 + Commit: Michael Weber gentoo org> CommitDate: Tue May 23 20:00:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15744fcc dev-python/html5lib: add ~ppc64 keyword (bug 617914) Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64" dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index d10052e3e7e..48d525c1dae 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: c1da7e86462a26bad66bc797ee3efcf18b461f47 Author: Michael Weber gentoo org> AuthorDate: Thu May 18 19:43:42 2017 + Commit: Michael Weber gentoo org> CommitDate: Thu May 18 19:59:58 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1da7e86 dev-python/html5lib: arm64 stable (bug 617156). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="arm64" dev-python/html5lib/html5lib-0.999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild index b807d85fd11..75af49a9d1c 100644 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 76764b7b449c66344b9fc4f1e244dc67d3417d2f Author: Markus Meier gentoo org> AuthorDate: Wed May 17 19:22:05 2017 + Commit: Markus Meier gentoo org> CommitDate: Wed May 17 19:22:05 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76764b7b dev-python/html5lib: add ~arm64, bug #617914 Package-Manager: Portage-2.3.5, Repoman-2.3.1 RepoMan-Options: --include-arches="arm64" dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index cbbc2c79f41..d10052e3e7e 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa" +KEYWORDS="~amd64 ~arm64 ~hppa" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 3c140a1594fc50d60adf9ff344b72a18f54e7373 Author: Jeroen Roovers gentoo org> AuthorDate: Wed May 10 20:09:12 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed May 10 20:10:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c140a15 dev-python/html5lib: Mark ~hppa (bug #617914). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --ignore-arches dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 6465ee9478e..cbbc2c79f41 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~hppa" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 99d071475448abc9d4935da9f2b7b5182bd4a1f5 Author: Zac Medico gentoo org> AuthorDate: Tue May 9 01:54:20 2017 + Commit: Zac Medico gentoo org> CommitDate: Tue May 9 01:54:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d07147 dev-python/html5lib: version bump to 0.9 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/html5lib/Manifest| 1 + dev-python/html5lib/html5lib-0.9.ebuild | 32 + 2 files changed, 33 insertions(+) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index de4d9101029..1870dc9db70 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1 +1,2 @@ DIST html5lib-0.999.tar.gz 889312 SHA256 2612a191a8d5842bfa057e41ba50bbb9dcb722419d2408c78cff4758d0754868 SHA512 1748a1921f4bc93b7f208d89701eeabfe507e40515dd2e88ece239ba7c1704c8ae9dc4eea310164c7b207225dce910f78a8b34f826f4f87a2992365c07089c28 WHIRLPOOL 48dbd278e247e98e2765e7da1ce99474fba241b0a6b70e441899271b0cca33720646a35ae724713be5ce5a15617d611ebd76c192755e72485d09d446f5ac +DIST html5lib-0.9.tar.gz 245488 SHA256 ee747c0ffd3028d2722061936b5c65ee4fe13c8e4613519b4447123fc4546298 SHA512 b30d9ea74d0ad03e07ebee0d33caefeed717e6084f2ef44559ebf73948563ffd60e40c774e23c8964a32b0f265d1d1f0b98759861acaa208f28e5ab2813c3ca0 WHIRLPOOL 369e81d83d03636b34901277f53e80373f54ecc15ae948d4a4f04554cd78815b6574759835d76e3105028803e6797a92144a1346e7c826a72269239dc5d105ee diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild new file mode 100644 index 000..6465ee9478e --- /dev/null +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-expect[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/, dev-python/html5lib/files/
commit: b056103962b4ecff159549327f4b5219ebdfafaf Author: Zac Medico gentoo org> AuthorDate: Tue Mar 28 18:41:17 2017 + Commit: Zac Medico gentoo org> CommitDate: Tue Mar 28 19:05:34 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0561039 dev-python/html5lib: fix for python3.6 (bug 613656) Package-Manager: Portage-2.3.5, Repoman-2.3.2 ...html5lib-0.999-python3.6-sanitizer-re.patch | 50 ++ ...-r1.ebuild => html5lib-0.999-r2.ebuild} | 1 + 2 files changed, 51 insertions(+) diff --git a/dev-python/html5lib/files/html5lib-0.999-python3.6-sanitizer-re.patch b/dev-python/html5lib/files/html5lib-0.999-python3.6-sanitizer-re.patch new file mode 100644 index 000..c64cbe1ab3f --- /dev/null +++ b/dev-python/html5lib/files/html5lib-0.999-python3.6-sanitizer-re.patch @@ -0,0 +1,50 @@ +--- a/html5lib/sanitizer.py b/html5lib/sanitizer.py +@@ -203,7 +203,7 @@ + for attr in self.attr_val_is_uri: + if attr not in attrs: + continue +-val_unescaped = re.sub("[`\000-\040\177-\240\s]+", '', ++val_unescaped = re.sub(r"[`\000-\040\177-\240\s]+", '', +unescape(attrs[attr])).lower() + # remove replacement characters from unescaped characters + val_unescaped = val_unescaped.replace("\ufffd", "") +@@ -228,7 +228,7 @@ + ' ', + unescape(attrs[attr])) + if (token["name"] in self.svg_allow_local_href and +-'xlink:href' in attrs and re.search('^\s*[^#\s].*', ++'xlink:href' in attrs and re.search(r'^\s*[^#\s].*', + attrs['xlink:href'])): + del attrs['xlink:href'] + if 'style' in attrs: +@@ -257,16 +257,16 @@ + + def sanitize_css(self, style): + # disallow urls +-style = re.compile('url\s*\(\s*[^\s)]+?\s*\)\s*').sub(' ', style) ++style = re.compile(r'url\s*\(\s*[^\s)]+?\s*\)\s*').sub(' ', style) + + # gauntlet +-if not re.match("""^([:,;#%.\sa-zA-Z0-9!]|\w-\w|'[\s\w]+'|"[\s\w]+"|\([\d,\s]+\))*$""", style): ++if not re.match(r"""^([:,;#%.\sa-zA-Z0-9!]|\w-\w|'[\s\w]+'|"[\s\w]+"|\([\d,\s]+\))*$""", style): + return '' +-if not re.match("^\s*([-\w]+\s*:[^:;]*(;\s*|$))*$", style): ++if not re.match(r"^\s*([-\w]+\s*:[^:;]*(;\s*|$))*$", style): + return '' + + clean = [] +-for prop, value in re.findall("([-\w]+)\s*:\s*([^:;]*)", style): ++for prop, value in re.findall(r"([-\w]+)\s*:\s*([^:;]*)", style): + if not value: + continue + if prop.lower() in self.allowed_css_properties: +@@ -275,7 +275,7 @@ + 'padding']: + for keyword in value.split(): + if keyword not in self.acceptable_css_keywords and \ +-not re.match("^(#[0-9a-f]+|rgb\(\d+%?,\d*%?,?\d*%?\)?|\d{0,2}\.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|\))?)$", keyword): ++not re.match(r"^(#[0-9a-f]+|rgb\(\d+%?,\d*%?,?\d*%?\)?|\d{0,2}\.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|\))?)$", keyword): + break + else: + clean.append(prop + ': ' + value + ';') diff --git a/dev-python/html5lib/html5lib-0.999-r1.ebuild b/dev-python/html5lib/html5lib-0.999-r2.ebuild similarity index 94% rename from dev-python/html5lib/html5lib-0.999-r1.ebuild rename to dev-python/html5lib/html5lib-0.999-r2.ebuild index 44163d3c076..5b23d984fc3 100644 --- a/dev-python/html5lib/html5lib-0.999-r1.ebuild +++ b/dev-python/html5lib/html5lib-0.999-r2.ebuild @@ -24,6 +24,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-lxml-3.5.0-backport.patch + "${FILESDIR}"/${P}-python3.6-sanitizer-re.patch ) python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 41857dfbd282ea2854a6155441eb8747d28d0585 Author: Matthew Thode gentoo org> AuthorDate: Sun Feb 28 07:04:10 2016 + Commit: Matt Thode gentoo org> CommitDate: Sun Feb 28 07:04:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41857dfb dev-python/html5lib: keywording arm64 merged on X-C1 Package-Manager: portage-2.2.26 dev-python/html5lib/html5lib-0.999-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.999-r1.ebuild b/dev-python/html5lib/html5lib-0.999-r1.ebuild index f55b65f..1996867 100644 --- a/dev-python/html5lib/html5lib-0.999-r1.ebuild +++ b/dev-python/html5lib/html5lib-0.999-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/files/, dev-python/html5lib/
commit: 57cb992a751b02459dbf70da77a0ffa0b07d22dc Author: Justin Lecher gentoo org> AuthorDate: Mon Jan 18 08:39:00 2016 + Commit: Justin Lecher gentoo org> CommitDate: Mon Jan 18 08:44:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57cb992a dev-python/html5lib: Backport fix for lxml-3.5.0 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> .../html5lib-0.999-lxml-3.5.0-backport.patch | 117 + dev-python/html5lib/html5lib-0.999-r1.ebuild | 32 ++ 2 files changed, 149 insertions(+) diff --git a/dev-python/html5lib/files/html5lib-0.999-lxml-3.5.0-backport.patch b/dev-python/html5lib/files/html5lib-0.999-lxml-3.5.0-backport.patch new file mode 100644 index 000..fecfab9 --- /dev/null +++ b/dev-python/html5lib/files/html5lib-0.999-lxml-3.5.0-backport.patch @@ -0,0 +1,117 @@ +From 46046c0f7125911ff8205f09a7574573bb953105 Mon Sep 17 00:00:00 2001 +From: Geoffrey Sneddon+Date: Mon, 23 Nov 2015 15:17:07 + +Subject: [PATCH 1/3] Make lxml tree-builder coerce comments to work with lxml + 3.5. + +--- + html5lib/ihatexml.py| 2 ++ + html5lib/treebuilders/etree_lxml.py | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/html5lib/ihatexml.py b/html5lib/ihatexml.py +index 0fc7930..b5b2e98 100644 +--- a/html5lib/ihatexml.py b/html5lib/ihatexml.py +@@ -225,6 +225,8 @@ def coerceComment(self, data): + while "--" in data: + warnings.warn("Comments cannot contain adjacent dashes", DataLossWarning) + data = data.replace("--", "- -") ++if data.endswith("-"): ++data += " " + return data + + def coerceCharacters(self, data): +diff --git a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py +index 35d08ef..17007e3 100644 +--- a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py +@@ -189,7 +189,7 @@ class TreeBuilder(_base.TreeBuilder): + + def __init__(self, namespaceHTMLElements, fullTree=False): + builder = etree_builders.getETreeModule(etree, fullTree=fullTree) +-infosetFilter = self.infosetFilter = ihatexml.InfosetFilter() ++infosetFilter = self.infosetFilter = ihatexml.InfosetFilter(preventDoubleDashComments=True) + self.namespaceHTMLElements = namespaceHTMLElements + + class Attributes(dict): + +From 1c22e1ce93dd4acc81a66cfa03cf9720fbd741c7 Mon Sep 17 00:00:00 2001 +From: Geoffrey Sneddon +Date: Mon, 23 Nov 2015 15:35:21 + +Subject: [PATCH 2/3] fixup! Make lxml tree-builder coerce comments to work + with lxml 3.5. + +--- + html5lib/ihatexml.py| 1 + + html5lib/treebuilders/etree_lxml.py | 7 --- + 2 files changed, 5 insertions(+), 3 deletions(-) + +diff --git a/html5lib/ihatexml.py b/html5lib/ihatexml.py +index b5b2e98..5a81a12 100644 +--- a/html5lib/ihatexml.py b/html5lib/ihatexml.py +@@ -226,6 +226,7 @@ def coerceComment(self, data): + warnings.warn("Comments cannot contain adjacent dashes", DataLossWarning) + data = data.replace("--", "- -") + if data.endswith("-"): ++warnings.warn("Comments cannot contain end in a dash", DataLossWarning) + data += " " + return data + +diff --git a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py +index 17007e3..c6c981f 100644 +--- a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py +@@ -54,7 +54,7 @@ def _getChildNodes(self): + def testSerializer(element): + rv = [] + finalText = None +-infosetFilter = ihatexml.InfosetFilter() ++infosetFilter = ihatexml.InfosetFilter(preventDoubleDashComments=True) + + def serializeElement(element, indent=0): + if not hasattr(element, "tag"): +@@ -257,7 +257,7 @@ def _getData(self): + data = property(_getData, _setData) + + self.elementClass = Element +-self.commentClass = builder.Comment ++self.commentClass = Comment + # self.fragmentClass = builder.DocumentFragment + _base.TreeBuilder.__init__(self, namespaceHTMLElements) + +@@ -344,7 +344,8 @@ def insertRoot(self, token): + + # Append the initial comments: + for comment_token in self.initial_comments: +-root.addprevious(etree.Comment(comment_token["data"])) ++comment = self.commentClass(comment_token["data"]) ++root.addprevious(comment._element) + + # Create the root document and add the ElementTree to it + self.document = self.documentClass() + +From 235a6d7ac7e0a3e2b431766e051094c2d3110ba3 Mon Sep 17 00:00:00 2001 +From: Geoffrey Sneddon +Date: Mon, 23 Nov 2015 15:42:12 + +Subject: [PATCH 3/3] fixup! Make lxml tree-builder coerce comments to work + with lxml 3.5.
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: f842bea21a8676b4d958cee112a3951f5747091c Author: Justin Lecher gentoo org> AuthorDate: Fri Jan 15 09:57:26 2016 + Commit: Justin Lecher gentoo org> CommitDate: Fri Jan 15 09:57:26 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f842bea2 dev-python/html5lib: Clean old Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/html5lib/Manifest | 2 -- dev-python/html5lib/html5lib-0.9.ebuild | 28 dev-python/html5lib/html5lib-0.99.ebuild | 28 3 files changed, 58 deletions(-) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 922d9fa..de4d910 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1,3 +1 @@ -DIST html5lib-0.9.tar.gz 887806 SHA256 6b0bc7e9f77bb2a8ace636a827d8fb6e2f0b53e20cf0cb5e3e5b970454f8370b SHA512 ce440a03c949194a7e10cfd31557e83e60aee7899cd470e55940b5841f26ba1103ad83b96cdde7dc4eede3cf4b969bdad2c4b8530da3bc761c3ca928f149c68f WHIRLPOOL ef85ec5d2ff4edca0f66deb4ef8a1bb21ce51db33763892eefbef6bcd71000e4b3aa171434b8f2a2f0f04e21c7166d49f41acf76191acaf8fd789d5c8cc35f28 -DIST html5lib-0.99.tar.gz 889015 SHA256 e372b66f4997f8e1de970ea755d0a528d7222d2aa9bd55aac078c7ef39b8f6c3 SHA512 ca6a5cd282099424bd770e6a38ce07d5782a3153a3d0480bc090410e8deb4f7673a1da71fb00cd097fdf7154d6f8a4f2656054666f1465d7f306233d6720d33b WHIRLPOOL 6cfe531db44ea16c07a2ed1fd8f43a44513dfb3f99b075e4ff070dab97addd1addae3b1f9cadcc116c778323e27d229f0d90f4890858d6cdd9c72106a45c8e7f DIST html5lib-0.999.tar.gz 889312 SHA256 2612a191a8d5842bfa057e41ba50bbb9dcb722419d2408c78cff4758d0754868 SHA512 1748a1921f4bc93b7f208d89701eeabfe507e40515dd2e88ece239ba7c1704c8ae9dc4eea310164c7b207225dce910f78a8b34f826f4f87a2992365c07089c28 WHIRLPOOL 48dbd278e247e98e2765e7da1ce99474fba241b0a6b70e441899271b0cca33720646a35ae724713be5ce5a15617d611ebd76c192755e72485d09d446f5ac diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild deleted file mode 100644 index 66ca256..000 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_test() { - nosetests || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/html5lib/html5lib-0.99.ebuild b/dev-python/html5lib/html5lib-0.99.ebuild deleted file mode 100644 index 522b34c..000 --- a/dev-python/html5lib/html5lib-0.99.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_test() { - nosetests || die "Tests fail with ${EPYTHON}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: ae7e7778f714c55daa1c602ead4714631d55fb2a Author: Justin Lecher gentoo org> AuthorDate: Fri Jan 15 08:50:26 2016 + Commit: Justin Lecher gentoo org> CommitDate: Fri Jan 15 09:50:34 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7e7778 dev-python/html5lib: Don't test with dev-python/lxml-3.5.0 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=571644 https://github.com/html5lib/html5lib-python/issues/224 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/html5lib/html5lib-0.999.ebuild | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild index 69308d7..d14b5a2 100644 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,5 +24,11 @@ DEPEND="${RDEPEND} test? ( dev-python/nose[${PYTHON_USEDEP}] )" python_test() { - nosetests || die "Tests fail with ${EPYTHON}" + # https://github.com/html5lib/html5lib-python/issues/224 + # https://bugs.gentoo.org/show_bug.cgi?id=571644 + has_version =dev-python/lxml-3.5.0 && \ + einfo "test are broken with dev-python/lxml-3.5.0" && \ + einfo "https://github.com/html5lib/html5lib-python/issues/224; && \ + return + nosetests --verbosity=3 || die "Tests fail with ${EPYTHON}" }
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 79698b1898e463543bb550d4fbbb246b267328af Author: Jeroen Roovers gentoo org> AuthorDate: Mon Nov 23 06:15:50 2015 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Nov 23 06:43:39 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79698b18 dev-python/html5lib: Stable for HPPA (bug #564588). Package-Manager: portage-2.2.25 RepoMan-Options: --ignore-arches dev-python/html5lib/html5lib-0.999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild index 478bfec..69308d7 100644 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 03b183792cd68d31dc41ba9af34b1f91aacd1017 Author: Markus Meier gentoo org> AuthorDate: Sun Nov 22 08:39:02 2015 + Commit: Markus Meier gentoo org> CommitDate: Sun Nov 22 08:39:02 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b18379 dev-python/html5lib: arm stable, bug #564588 Package-Manager: portage-2.2.25 RepoMan-Options: --include-arches="arm" dev-python/html5lib/html5lib-0.999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild index a1eabcf..478bfec 100644 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 227b9345c368e3c6cb57ec28a6a9ed4f55fcf9a4 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Nov 2 13:07:26 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Nov 2 13:07:26 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227b9345 dev-python/html5lib: amd64 stable wrt bug #564588 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="amd64" dev-python/html5lib/html5lib-0.999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild index 9d01487..347e80e 100644 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: c2424b307891670b5054bb27910842f32405d62f Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Nov 2 13:10:37 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Nov 2 13:10:37 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2424b30 dev-python/html5lib: x86 stable wrt bug #564588 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="x86" dev-python/html5lib/html5lib-0.999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild index 347e80e..a76b5bb 100644 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: 607169892016601d5f5cbd54251ac05d22e44dbd Author: Justin Lecher gentoo org> AuthorDate: Thu Sep 10 07:42:57 2015 + Commit: Justin Lecher gentoo org> CommitDate: Thu Sep 10 07:59:41 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60716989 dev-python/html5lib: Version Bump add RTD to HOMEPAGE Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> dev-python/html5lib/Manifest| 1 + dev-python/html5lib/html5lib-0.9.ebuild | 2 +- dev-python/html5lib/html5lib-0.99.ebuild| 2 +- .../html5lib/{html5lib-0.99.ebuild => html5lib-0.999.ebuild}| 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 16dd3e9..922d9fa 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1,2 +1,3 @@ DIST html5lib-0.9.tar.gz 887806 SHA256 6b0bc7e9f77bb2a8ace636a827d8fb6e2f0b53e20cf0cb5e3e5b970454f8370b SHA512 ce440a03c949194a7e10cfd31557e83e60aee7899cd470e55940b5841f26ba1103ad83b96cdde7dc4eede3cf4b969bdad2c4b8530da3bc761c3ca928f149c68f WHIRLPOOL ef85ec5d2ff4edca0f66deb4ef8a1bb21ce51db33763892eefbef6bcd71000e4b3aa171434b8f2a2f0f04e21c7166d49f41acf76191acaf8fd789d5c8cc35f28 DIST html5lib-0.99.tar.gz 889015 SHA256 e372b66f4997f8e1de970ea755d0a528d7222d2aa9bd55aac078c7ef39b8f6c3 SHA512 ca6a5cd282099424bd770e6a38ce07d5782a3153a3d0480bc090410e8deb4f7673a1da71fb00cd097fdf7154d6f8a4f2656054666f1465d7f306233d6720d33b WHIRLPOOL 6cfe531db44ea16c07a2ed1fd8f43a44513dfb3f99b075e4ff070dab97addd1addae3b1f9cadcc116c778323e27d229f0d90f4890858d6cdd9c72106a45c8e7f +DIST html5lib-0.999.tar.gz 889312 SHA256 2612a191a8d5842bfa057e41ba50bbb9dcb722419d2408c78cff4758d0754868 SHA512 1748a1921f4bc93b7f208d89701eeabfe507e40515dd2e88ece239ba7c1704c8ae9dc4eea310164c7b207225dce910f78a8b34f826f4f87a2992365c07089c28 WHIRLPOOL 48dbd278e247e98e2765e7da1ce99474fba241b0a6b70e441899271b0cca33720646a35ae724713be5ce5a15617d611ebd76c192755e72485d09d446f5ac diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 98674da..66ca256 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -10,7 +10,7 @@ PYTHON_REQ_USE="xml(+)" inherit distutils-r1 DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/; +HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/html5lib/html5lib-0.99.ebuild b/dev-python/html5lib/html5lib-0.99.ebuild index 642a13c..522b34c 100644 --- a/dev-python/html5lib/html5lib-0.99.ebuild +++ b/dev-python/html5lib/html5lib-0.99.ebuild @@ -10,7 +10,7 @@ PYTHON_REQ_USE="xml(+)" inherit distutils-r1 DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/; +HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/html5lib/html5lib-0.99.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild similarity index 88% copy from dev-python/html5lib/html5lib-0.99.ebuild copy to dev-python/html5lib/html5lib-0.999.ebuild index 642a13c..522b34c 100644 --- a/dev-python/html5lib/html5lib-0.99.ebuild +++ b/dev-python/html5lib/html5lib-0.999.ebuild @@ -10,7 +10,7 @@ PYTHON_REQ_USE="xml(+)" inherit distutils-r1 DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/; +HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org; SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT"
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: d6e94e0bac19e8ed58741b4e76491f5209388546 Author: Justin Lecher jlec AT gentoo DOT org AuthorDate: Mon Aug 10 06:42:16 2015 + Commit: Justin Lecher jlec AT gentoo DOT org CommitDate: Mon Aug 10 06:42:16 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e94e0b dev-python/html5lib: Drop old Package-Manager: portage-2.2.20 Signed-off-by: Justin Lecher jlec AT gentoo.org dev-python/html5lib/Manifest | 1 - dev-python/html5lib/html5lib-0.999.ebuild | 27 --- 2 files changed, 28 deletions(-) diff --git a/dev-python/html5lib/Manifest b/dev-python/html5lib/Manifest index 10fc085..16dd3e9 100644 --- a/dev-python/html5lib/Manifest +++ b/dev-python/html5lib/Manifest @@ -1,3 +1,2 @@ -DIST html5lib-0.999.tar.gz 885440 SHA256 c3887f7e2875d7666107fa8bee761ff95b9391acdcc7cd1b5fd57a23b5fbc49e SHA512 12f187905510c621714c2b75c6a91cc0cbf8a790da1c715a51d08879704b55cd1c152fa236c0d8f6c8a578555103217a91a64a1af1962d02f4a656040a90bcea WHIRLPOOL 0903bbaf34fee171ef90a23e290b60b1461e071167ab624af0614b4924c0991fbb53f1a56adc1a735a5d190cc51f3ad70ce54c52e3169ebdfed73d86500f4eca DIST html5lib-0.9.tar.gz 887806 SHA256 6b0bc7e9f77bb2a8ace636a827d8fb6e2f0b53e20cf0cb5e3e5b970454f8370b SHA512 ce440a03c949194a7e10cfd31557e83e60aee7899cd470e55940b5841f26ba1103ad83b96cdde7dc4eede3cf4b969bdad2c4b8530da3bc761c3ca928f149c68f WHIRLPOOL ef85ec5d2ff4edca0f66deb4ef8a1bb21ce51db33763892eefbef6bcd71000e4b3aa171434b8f2a2f0f04e21c7166d49f41acf76191acaf8fd789d5c8cc35f28 DIST html5lib-0.99.tar.gz 889015 SHA256 e372b66f4997f8e1de970ea755d0a528d7222d2aa9bd55aac078c7ef39b8f6c3 SHA512 ca6a5cd282099424bd770e6a38ce07d5782a3153a3d0480bc090410e8deb4f7673a1da71fb00cd097fdf7154d6f8a4f2656054666f1465d7f306233d6720d33b WHIRLPOOL 6cfe531db44ea16c07a2ed1fd8f43a44513dfb3f99b075e4ff070dab97addd1addae3b1f9cadcc116c778323e27d229f0d90f4890858d6cdd9c72106a45c8e7f diff --git a/dev-python/html5lib/html5lib-0.999.ebuild b/dev-python/html5lib/html5lib-0.999.ebuild deleted file mode 100644 index d350a58..000 --- a/dev-python/html5lib/html5lib-0.999.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) -PYTHON_REQ_USE=xml(+) - -inherit distutils-r1 - -DESCRIPTION=HTML parser based on the HTML5 specification -HOMEPAGE=https://github.com/html5lib/html5lib-python/; -SRC_URI=mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - -LICENSE=MIT -SLOT=0 -KEYWORDS=alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux -IUSE=test - -RDEPEND=dev-python/six[${PYTHON_USEDEP}] -DEPEND=${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) - -python_test() { - nosetests || die Tests fail with ${EPYTHON} -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/html5lib/
commit: a05148e8fcf3d6ffac119de083e5383c186f5a42 Author: Mikle Kolyada zlogene AT gentoo DOT org AuthorDate: Sun Aug 9 23:56:27 2015 + Commit: Mikle Kolyada zlogene AT gentoo DOT org CommitDate: Sun Aug 9 23:56:27 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05148e8 dev-python/html5lib: arm/ppc*/x86 stable wrt bug #556820 Package-Manager: portage-2.2.20 dev-python/html5lib/html5lib-0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/html5lib/html5lib-0.9.ebuild b/dev-python/html5lib/html5lib-0.9.ebuild index 897f81a..98674da 100644 --- a/dev-python/html5lib/html5lib-0.9.ebuild +++ b/dev-python/html5lib/html5lib-0.9.ebuild @@ -15,7 +15,7 @@ SRC_URI=mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz LICENSE=MIT SLOT=0 -KEYWORDS=alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux +KEYWORDS=alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux IUSE=test RDEPEND=dev-python/six[${PYTHON_USEDEP}]