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
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
# Copyright 2022-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="nvchecker is for checking if a new version of some software has been released"
|
|
HOMEPAGE="https://pypi.org/project/nvchecker/"
|
|
SRC_URI="https://github.com/lilydjwg/nvchecker/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="ini notify"
|
|
RESTRICT="test"
|
|
|
|
RDEPEND="
|
|
dev-python/appdirs[$PYTHON_USEDEP]
|
|
dev-python/structlog[$PYTHON_USEDEP]
|
|
dev-python/tomli[$PYTHON_USEDEP]
|
|
>=dev-python/tornado-6[${PYTHON_USEDEP}]
|
|
ini? (
|
|
dev-python/iniconfig[$PYTHON_USEDEP]
|
|
)
|
|
notify? (
|
|
dev-python/pygobject[$PYTHON_USEDEP]
|
|
virtual/notification-daemon
|
|
)
|
|
"
|
|
|
|
PATCHES=("${FILESDIR}/${PN}-2.20-license-classifier-warns.patch")
|
|
|
|
python_install_all() {
|
|
distutils-r1_python_install_all
|
|
|
|
if ! use ini; then
|
|
rm "${ED}"/usr/bin/nvchecker-ini2toml || die
|
|
fi
|
|
|
|
if ! use notify; then
|
|
rm "${ED}"/usr/bin/nvchecker-notify || die
|
|
fi
|
|
}
|