diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild index a32f40e5e3919..b2a8b74741114 100644 --- a/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild +++ b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild @@ -1,15 +1,16 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..11} pypy3 ) inherit linux-info python-single-r1 systemd toolchain-funcs DESCRIPTION="Performance analysis and visualization of the system boot process" HOMEPAGE="https://github.com/xrmx/bootchart" SRC_URI="https://github.com/xrmx/bootchart/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN%2}-${PV} LICENSE="GPL-2" SLOT="0" @@ -20,13 +21,14 @@ REQUIRED_USE="cairo? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!cairo? ( test )" RDEPEND=" - cairo? ( ${PYTHON_DEPS} $(python_gen_cond_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') ) sys-apps/lsb-release + cairo? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') + ) " BDEPEND="cairo? ( ${PYTHON_DEPS} )" -S="${WORKDIR}"/${PN%2}-${PV} - CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS" PATCHES=( @@ -34,9 +36,13 @@ PATCHES=( "${FILESDIR}"/${P}-glibc-2.36.patch ) +pkg_setup() { + use cairo && python-single_r1_pkg_setup +} + src_prepare() { default - python_setup + tc-export CC # Redirects systemd unit directory,