From 4e3e24a192e9d620c7bcbccf536c3c68f04fd363 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 27 Aug 2021 11:27:14 +0100 Subject: [PATCH] dev-python/utidylib: allow both htmltidy-5+ and tidy-html5 Signed-off-by: Marek Szuba --- dev-python/utidylib/utidylib-0.6-r1.ebuild | 6 +++--- dev-python/utidylib/utidylib-0.7.ebuild | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/utidylib/utidylib-0.6-r1.ebuild b/dev-python/utidylib/utidylib-0.6-r1.ebuild index 9f3834f74caa6..3b82a2b1f5468 100644 --- a/dev-python/utidylib/utidylib-0.6-r1.ebuild +++ b/dev-python/utidylib/utidylib-0.6-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8,9} ) MY_P="uTidylib-${PV}" inherit distutils-r1 @@ -28,7 +28,7 @@ DEPEND=" dev-python/six[${PYTHON_USEDEP}] " RDEPEND=" - app-text/tidy-html5 + || ( app-text/tidy-html5 >=app-text/htmltidy-5.0.0 ) " RESTRICT="!test? ( test )" diff --git a/dev-python/utidylib/utidylib-0.7.ebuild b/dev-python/utidylib/utidylib-0.7.ebuild index bf50395576212..d6947dea0a0ee 100644 --- a/dev-python/utidylib/utidylib-0.7.ebuild +++ b/dev-python/utidylib/utidylib-0.7.ebuild @@ -16,7 +16,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" -RDEPEND="app-text/tidy-html5" +RDEPEND="|| ( app-text/tidy-html5 >=app-text/htmltidy-5.0.0 )" DEPEND="dev-python/six[${PYTHON_USEDEP}]" distutils_enable_tests pytest