python3: tweaks to achieve 100% pass rate in ptest

Submitted by Alexander Kanavin on Feb. 7, 2019, 4:53 p.m. | Patch ID: 158581

Details

Message ID 20190207165314.3396-1-alex.kanavin@gmail.com
State Master Next
Commit 20c6dc5a84af7960cd011657deb37417ae3cc7ad
Headers show

Commit Message

Alexander Kanavin Feb. 7, 2019, 4:53 p.m.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../python-sanity/python3/python3-manifest.json               | 4 ++--
 meta/recipes-devtools/python-sanity/python3_3.7.2.bb          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/python-sanity/python3/python3-manifest.json b/meta/recipes-devtools/python-sanity/python3/python3-manifest.json
index 24f9805fbd2..0a4ab2cbe43 100644
--- a/meta/recipes-devtools/python-sanity/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python-sanity/python3/python3-manifest.json
@@ -212,6 +212,7 @@ 
         "files": [
             "${bindir}/python*[!-config]",
             "${includedir}/python${PYTHON_BINABI}/pyconfig*.h",
+            "${prefix}/lib/python${PYTHON_MAJMIN}/config*/*[!.a]",
             "${libdir}/python${PYTHON_MAJMIN}/UserDict.py",
             "${libdir}/python${PYTHON_MAJMIN}/UserList.py",
             "${libdir}/python${PYTHON_MAJMIN}/UserString.py",
@@ -491,8 +492,7 @@ 
             "${libdir}/*.la",
             "${libdir}/*.o",
             "${libdir}/lib*${SOLIBSDEV}",
-            "${libdir}/pkgconfig",
-            "${prefix}/lib/python${PYTHON_MAJMIN}/config*/"
+            "${libdir}/pkgconfig"
         ],
         "rdepends": [
             "core"
diff --git a/meta/recipes-devtools/python-sanity/python3_3.7.2.bb b/meta/recipes-devtools/python-sanity/python3_3.7.2.bb
index e05ab42b0ca..8f9d7dc8fea 100644
--- a/meta/recipes-devtools/python-sanity/python3_3.7.2.bb
+++ b/meta/recipes-devtools/python-sanity/python3_3.7.2.bb
@@ -281,7 +281,7 @@  FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MA
 PACKAGES += "${PN}-man"
 FILES_${PN}-man = "${datadir}/man"
 
-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2"
+RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc"
 RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk', '', d)}"
 RDEPENDS_${PN}-dev = ""