dev-libs/gobject-introspection: Require <dev-python/setuptools-74

Force <dev-python/setuptools-74 to fix incompatibility due to removed
deprecated distutils.msvccompiler.  This is a temporary solution
to avoid patching stable versions.  Incidentally, this also extends
the setuptools dependency to older Python versions, but that should
not be a real issue, and we should probably prefer having it for
consistency anyway.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-09-06 11:25:49 +02:00
parent 389cfb3a33
commit bc01ac0c0b
3 changed files with 6 additions and 5 deletions
@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="xml(+)"
inherit gnome.org meson python-single-r1 xdg
@@ -22,6 +22,7 @@ RDEPEND="
>=dev-libs/gobject-introspection-common-${PV}
>=dev-libs/glib-2.75.0:2
dev-libs/libffi:=
<dev-python/setuptools-74
doctool? (
$(python_gen_cond_dep '
dev-python/mako[${PYTHON_USEDEP}]
@@ -23,8 +23,8 @@ RDEPEND="
>=dev-libs/glib-2.$(($(ver_cut 2) - 1)).0:2
dev-libs/libffi:=
$(python_gen_cond_dep '
dev-python/setuptools[${PYTHON_USEDEP}]
' 3.12)
<dev-python/setuptools-74[${PYTHON_USEDEP}]
')
doctool? (
$(python_gen_cond_dep '
dev-python/mako[${PYTHON_USEDEP}]
@@ -25,8 +25,8 @@ RDEPEND="
>=dev-libs/glib-2.79.0:2
dev-libs/libffi:=
$(python_gen_cond_dep '
dev-python/setuptools[${PYTHON_USEDEP}]
' 3.12)
<dev-python/setuptools-74[${PYTHON_USEDEP}]
')
doctool? (
$(python_gen_cond_dep '
dev-python/mako[${PYTHON_USEDEP}]