dev-python/setuptools: Apply user patches prior to unvendoring

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-12-30 16:59:17 +01:00
parent 7be79ed3c4
commit a506f09bb0

View File

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