From 21f97fb24549a58e846744ad91216a923818e18b Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 27 Sep 2023 20:02:21 +0300 Subject: [PATCH] media-gfx/drawing: enable py3.12 Signed-off-by: Alfred Wingate --- media-gfx/drawing/drawing-9999.ebuild | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/media-gfx/drawing/drawing-9999.ebuild b/media-gfx/drawing/drawing-9999.ebuild index 6f0c921..013e232 100644 --- a/media-gfx/drawing/drawing-9999.ebuild +++ b/media-gfx/drawing/drawing-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit gnome2-utils meson python-single-r1 xdg @@ -12,14 +12,12 @@ HOMEPAGE="https://github.com/maoschanz/drawing" if [[ "${PV}" == *9999* ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/maoschanz/${PN}.git" + EGIT_REPO_URI="https://github.com/maoschanz/drawing.git" else - SRC_URI="https://github.com/maoschanz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/maoschanz/drawing/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi -IUSE="doc" - LICENSE="GPL-3" SLOT="0" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -30,22 +28,24 @@ RESTRICT="test" DEPEND=" ${PYTHON_DEPS} dev-libs/glib:2 - dev-python/pygobject[cairo] x11-libs/gtk+:3 + $(python_gen_cond_dep ' + dev-python/pygobject[cairo,${PYTHON_USEDEP}] + ') " RDEPEND=" ${DEPEND} " BDEPEND=" - doc? ( - dev-util/itstool - sys-devel/gettext - ) + dev-libs/appstream-glib + dev-util/itstool + sys-devel/gettext " src_configure() { local emesonargs=( - $(meson_use doc enable-translation-and-appdate) + -Denable-translations-and-appdata=true + -Duse-uuid-as-binary-name=false ) meson_src_configure }