From 8d734264d4d5e502fe539bfcf6999562714658e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 18 Jan 2021 11:31:07 +0100 Subject: [PATCH] dev-python/rich: fix for pyproject MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-python/rich/rich-9.8.2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/rich/rich-9.8.2.ebuild b/dev-python/rich/rich-9.8.2.ebuild index 94ad94c..fa099dc 100644 --- a/dev-python/rich/rich-9.8.2.ebuild +++ b/dev-python/rich/rich-9.8.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml +DISTUTILS_USE_SETUPTOOLS="pyproject.toml" PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 eutils @@ -23,3 +23,10 @@ RDEPEND=" >=dev-python/pygments-2.6.0[${PYTHON_USEDEP}] >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] " + +python_prepare_all() { + # Build is done with poetry (dev-python/pyproject2setuppy) + rm setup.py || die "rm failed" + + distutils-r1_python_prepare_all +}