python3_11 no longer resolves for packages depending on dev-python/requests, which dropped it. Raise the PYTHON_COMPAT floor to python3_12 across every package in the overlay that still allowed python3_11, keeping the python3_14 profile default (ceiling raised to python3_14 where it was lower). python3_15 is only kept where it was already declared and verified on 3.15 (mwparserfromhell: builds and tests pass); it is not added elsewhere, since python3.15 is not installed here and could not be build-tested. Bug: https://github.com/gentoo-zh/overlay/issues/11037
31 lines
858 B
Bash
31 lines
858 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
COMMIT_ID="191575084a4e951802c32a4177dc704cf435883a"
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="GUI for snapper, a tool for Linux filesystem snapshot management"
|
|
HOMEPAGE="https://github.com/ricardomv/snapper-gui"
|
|
SRC_URI="https://github.com/ricardomv/snapper-gui/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/snapper-gui-${COMMIT_ID}"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="
|
|
app-backup/snapper
|
|
$(python_gen_cond_dep 'dev-python/dbus-python[${PYTHON_USEDEP}] dev-python/pygobject[${PYTHON_USEDEP}]')
|
|
x11-libs/gtksourceview:3.0
|
|
"
|
|
|
|
src_prepare() {
|
|
sed -i 's/Utilities;/Utility;/' "${S}/snapper-gui.desktop"
|
|
default
|
|
}
|