From 7480febe6f5367d2ae9daad03d64ae98f210c8fe Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 4 Feb 2024 01:19:41 -0500 Subject: [PATCH] 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 Signed-off-by: Sam James --- .../{yamllint-1.33.0.ebuild => yamllint-1.33.0-r1.ebuild} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename dev-util/yamllint/{yamllint-1.33.0.ebuild => yamllint-1.33.0-r1.ebuild} (76%) 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 b0c901c68fb68..04ad8f3bce387 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