From 62714dc82fade55aa8c2ec6f17becc5ba006b9d2 Mon Sep 17 00:00:00 2001 From: Locez Date: Sun, 21 Dec 2025 03:28:26 +0800 Subject: [PATCH] dev-python/qasync: fix build backend --- dev-python/qasync/qasync-0.28.0.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/qasync/qasync-0.28.0.ebuild b/dev-python/qasync/qasync-0.28.0.ebuild index f1099a33f7..a220dd8bd8 100644 --- a/dev-python/qasync/qasync-0.28.0.ebuild +++ b/dev-python/qasync/qasync-0.28.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=poetry +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -25,3 +25,12 @@ RDEPEND=" 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 +}