mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-python/utidylib: allow both htmltidy-5+ and tidy-html5
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -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 )"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user