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 +}