mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch, 0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch as they are all replaced by the new --platlibdir option to ./configure Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch and describe the changes better. License-Update: documentation now dual license under PSF & BSD (not relevant for the recipe. (From OE-Core rev: 7347556b18b45c5f9afc2cade565a75c95876914) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From a2dd127b4163aff6cc35af0d0251321964232ad4 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Mon, 7 Oct 2019 13:22:14 +0200
|
|
Subject: [PATCH] setup.py: do not report missing dependencies for disabled
|
|
modules
|
|
|
|
Reporting those missing dependencies is misleading as the modules would not
|
|
have been built anyway. This particularly matters in oe-core's automated
|
|
build completeness checker which relies on the report.
|
|
|
|
Upstream-Status: Inappropriate [oe-core specific]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
|
|
---
|
|
setup.py | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 7691258..ec3f2a4 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -408,6 +408,10 @@ class PyBuildExt(build_ext):
|
|
print("%-*s %-*s %-*s" % (longest, e, longest, f,
|
|
longest, g))
|
|
|
|
+ # There is no need to report missing module dependencies,
|
|
+ # if the modules have been disabled in the first place.
|
|
+ self.missing = list(set(self.missing) - set(mods_disabled))
|
|
+
|
|
if self.missing:
|
|
print()
|
|
print("Python build finished successfully!")
|