From 286a7c3cf202ae0f130d0996a84ee224f1c3dfc3 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 7 Aug 2023 13:53:43 +0100 Subject: dev-libs/weston: Fix building with Python 3.12 setuptools is required with 3.12 due to a current issue in Meson. Unfortunately, we cannot easily express this only for 3.12, but it's not a big deal in practise. Closes: https://bugs.gentoo.org/911748 Signed-off-by: James Le Cuirot --- dev-libs/weston/weston-12.0.2.ebuild | 1 + dev-libs/weston/weston-9999.ebuild | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'dev-libs/weston') diff --git a/dev-libs/weston/weston-12.0.2.ebuild b/dev-libs/weston/weston-12.0.2.ebuild index 8fa6eb73fb76..b7c0da5886be 100644 --- a/dev-libs/weston/weston-12.0.2.ebuild +++ b/dev-libs/weston/weston-12.0.2.ebuild @@ -90,6 +90,7 @@ BDEPEND=" ${PYTHON_DEPS} dev-util/wayland-scanner virtual/pkgconfig + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') " src_configure() { diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild index 3c346567c682..b7c0da5886be 100644 --- a/dev-libs/weston/weston-9999.ebuild +++ b/dev-libs/weston/weston-9999.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then EXPERIMENTAL="true" fi -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit meson python-any-r1 readme.gentoo-r1 xdg-utils ${GIT_ECLASS} DESCRIPTION="Wayland reference compositor" @@ -19,7 +19,7 @@ if [[ ${PV} = *9999* ]]; then SRC_URI="${SRC_PATCHES}" else SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/-/releases/${PV}/downloads/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86" fi LICENSE="MIT CC-BY-SA-3.0" @@ -90,6 +90,7 @@ BDEPEND=" ${PYTHON_DEPS} dev-util/wayland-scanner virtual/pkgconfig + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') " src_configure() { -- cgit v1.2.3-65-gdbad