Files
gentoo-zh/dev-python/qasync/qasync-0.28.0.ebuild
T
Zakk 10c0bf1feb treewide: drop python3_11 from PYTHON_COMPAT
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
2026-07-18 21:06:53 +10:00

37 lines
747 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Implementation of the asyncio (PEP 3156) event-loop with Qt"
HOMEPAGE="https://github.com/CabbageDevelopment/qasync"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
|| (
dev-python/pyqt6[${PYTHON_USEDEP}]
dev-python/pyside[${PYTHON_USEDEP}]
)
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
src_prepare() {
sed -i \
-e 's/build-backend = "uv_build"/build-backend = "hatchling.build"/' \
-e 's/requires = \["uv_build.*"\]/requires = ["hatchling"]/' \
pyproject.toml || die
distutils-r1_src_prepare
}