From a506f09bb026fd72d8cb202de079c8b314320aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 30 Dec 2022 16:59:17 +0100 Subject: [PATCH] dev-python/setuptools: Apply user patches prior to unvendoring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/setuptools/setuptools-65.6.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/setuptools/setuptools-65.6.3.ebuild b/dev-python/setuptools/setuptools-65.6.3.ebuild index d3dbdaf6c0860..147c6b523a2fe 100644 --- a/dev-python/setuptools/setuptools-65.6.3.ebuild +++ b/dev-python/setuptools/setuptools-65.6.3.ebuild @@ -79,6 +79,8 @@ src_prepare() { "${FILESDIR}"/setuptools-62.4.0-py-compile.patch ) + distutils-r1_src_prepare + # remove bundled dependencies, setuptools will switch to system deps # automatically rm -r */_vendor || die @@ -89,8 +91,6 @@ src_prepare() { -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ -i {} + || die - distutils-r1_src_prepare - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} }