commit:     7480febe6f5367d2ae9daad03d64ae98f210c8fe
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Feb  4 06:19:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 20:10:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7480febe

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 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../yamllint/{yamllint-1.33.0.ebuild => yamllint-1.33.0-r1.ebuild} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-util/yamllint/yamllint-1.33.0.ebuild 
b/dev-util/yamllint/yamllint-1.33.0-r1.ebuild
similarity index 76%
rename from dev-util/yamllint/yamllint-1.33.0.ebuild
rename to dev-util/yamllint/yamllint-1.33.0-r1.ebuild
index b0c901c68fb6..04ad8f3bce38 100644
--- a/dev-util/yamllint/yamllint-1.33.0.ebuild
+++ b/dev-util/yamllint/yamllint-1.33.0-r1.ebuild
@@ -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

Reply via email to