From 841e5a0997cd00cae7ebd8573db36561160e7f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 5 Apr 2024 17:44:24 +0200 Subject: [PATCH] dev-python/hatchling: Depend on the newest trove-classifiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/928447 Signed-off-by: Michał Górny --- ...{hatchling-1.21.1.ebuild => hatchling-1.21.1-r1.ebuild} | 7 ++++++- ...{hatchling-1.22.5.ebuild => hatchling-1.22.5-r1.ebuild} | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) rename dev-python/hatchling/{hatchling-1.21.1.ebuild => hatchling-1.21.1-r1.ebuild} (91%) rename dev-python/hatchling/{hatchling-1.22.5.ebuild => hatchling-1.22.5-r1.ebuild} (91%) diff --git a/dev-python/hatchling/hatchling-1.21.1.ebuild b/dev-python/hatchling/hatchling-1.21.1-r1.ebuild similarity index 91% rename from dev-python/hatchling/hatchling-1.21.1.ebuild rename to dev-python/hatchling/hatchling-1.21.1-r1.ebuild index 9233bcc8808f6..6919c16fa12c3 100644 --- a/dev-python/hatchling/hatchling-1.21.1.ebuild +++ b/dev-python/hatchling/hatchling-1.21.1-r1.ebuild @@ -35,7 +35,12 @@ RDEPEND=" $(python_gen_cond_dep ' >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] ' 3.10) - dev-python/trove-classifiers[${PYTHON_USEDEP}] +" +# always depend on the newest version available, at least until upstream +# stops treating unknown classifiers as a fatal error +# https://github.com/pypa/hatch/issues/1368 +RDEPEND+=" + >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND} diff --git a/dev-python/hatchling/hatchling-1.22.5.ebuild b/dev-python/hatchling/hatchling-1.22.5-r1.ebuild similarity index 91% rename from dev-python/hatchling/hatchling-1.22.5.ebuild rename to dev-python/hatchling/hatchling-1.22.5-r1.ebuild index 880c81d559bbf..92ad9f5f83920 100644 --- a/dev-python/hatchling/hatchling-1.22.5.ebuild +++ b/dev-python/hatchling/hatchling-1.22.5-r1.ebuild @@ -36,7 +36,12 @@ RDEPEND=" $(python_gen_cond_dep ' >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] ' 3.10) - dev-python/trove-classifiers[${PYTHON_USEDEP}] +" +# always depend on the newest version available, at least until upstream +# stops treating unknown classifiers as a fatal error +# https://github.com/pypa/hatch/issues/1368 +RDEPEND+=" + >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND}