dev-python/qasync: fix build backend

This commit is contained in:
Locez authored and jinqiang zhang committed 2025-12-21 06:52:28 +08:00
1 parent c9154d91de
commit 62714dc82f
1 file changed
+10 -1
+10 -1
View File
@@ -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
}