summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-30 16:59:17 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-30 18:23:47 +0100
commita506f09bb026fd72d8cb202de079c8b314320aaf (patch)
tree754fbbb1a1f7ce18cdf36287199fe1f160b1e299 /dev-python/setuptools
parentdev-python/pytables: Strip blosc2 from install_requires (diff)
downloadgentoo-a506f09bb026fd72d8cb202de079c8b314320aaf.tar.gz
gentoo-a506f09bb026fd72d8cb202de079c8b314320aaf.tar.bz2
gentoo-a506f09bb026fd72d8cb202de079c8b314320aaf.zip
dev-python/setuptools: Apply user patches prior to unvendoring
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/setuptools')
-rw-r--r--dev-python/setuptools/setuptools-65.6.3.ebuild4
1 files 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 d3dbdaf6c086..147c6b523a2f 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}
}