dev-python/hatchling: Depend on the newest trove-classifiers

Closes: https://bugs.gentoo.org/928447
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-04-05 17:44:24 +02:00
parent b54197c85e
commit 841e5a0997
2 changed files with 12 additions and 2 deletions

View File

@@ -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}

View File

@@ -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}