mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/setuptools: Apply user patches prior to unvendoring
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user