dev-util/yamllint: remove never-correct dependency on setuptools

This was erroneously introduced upstream in
https://github.com/adrienverge/yamllint/pull/321 with the logic that the
generated entrypoint script used pkg_resources to load the entrypoint.
This was always heavily conditional on how you installed it, and has
better distribution-wide approaches to handle it, and is anyways no
longer the case since a while now (because the code that generated
pkg_resources entrypoints has stopped doing so).

Upstream also accidentally got rid of this dependency while migrating to
pyproject.toml, indicating exactly how important it is.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-02-04 01:19:41 -05:00
committed by Sam James
parent ac0df2c8bf
commit 7480febe6f

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,8 +15,9 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
RDEPEND=">=dev-python/pathspec-0.5.3[${PYTHON_USEDEP}]
RDEPEND="
>=dev-python/pathspec-0.5.3[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
"
distutils_enable_tests pytest