diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2015-05-14 16:13:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-08 17:34:03 +0100 |
commit | 84105eb9bc7eb77a73347960b2cfceb7e5521792 (patch) | |
tree | 43bde6953fbe6cc96e857aa9dfc7ac6336fbf7ed | |
parent | 39abb871d077aa6afd6338fc7ec60add0ed03688 (diff) | |
download | poky-84105eb9bc7eb77a73347960b2cfceb7e5521792.tar.gz |
python3: fix pyconfig.h installation on target
The file pyconfig.h wasnt being deployed on target, causing an error
when importing some libraries that required it, this patch fixes
python3 manifest to include this file and fix the issue.
[YOCTO #7764]
(From OE-Core rev: 66c6d0db27c4ab7b633e6954d095c411a98b67f4)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python-3.4-manifest.inc | 2 | ||||
-rwxr-xr-x | scripts/contrib/python/generate-manifest-3.4.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python-3.4-manifest.inc b/meta/recipes-devtools/python/python-3.4-manifest.inc index 28885a9ef7..b0f46c3794 100644 --- a/meta/recipes-devtools/python/python-3.4-manifest.inc +++ b/meta/recipes-devtools/python/python-3.4-manifest.inc | |||
@@ -35,7 +35,7 @@ FILES_${PN}-compression="${libdir}/python3.4/gzip.* ${libdir}/python3.4/zipfile. | |||
35 | 35 | ||
36 | SUMMARY_${PN}-core="Python interpreter and core modules" | 36 | SUMMARY_${PN}-core="Python interpreter and core modules" |
37 | RDEPENDS_${PN}-core="${PN}-lang ${PN}-re ${PN}-reprlib ${PN}-codecs ${PN}-io ${PN}-math" | 37 | RDEPENDS_${PN}-core="${PN}-lang ${PN}-re ${PN}-reprlib ${PN}-codecs ${PN}-io ${PN}-math" |
38 | FILES_${PN}-core="${libdir}/python3.4/__future__.* ${libdir}/python3.4/_abcoll.* ${libdir}/python3.4/abc.* ${libdir}/python3.4/copy.* ${libdir}/python3.4/copyreg.* ${libdir}/python3.4/ConfigParser.* ${libdir}/python3.4/genericpath.* ${libdir}/python3.4/getopt.* ${libdir}/python3.4/linecache.* ${libdir}/python3.4/new.* ${libdir}/python3.4/os.* ${libdir}/python3.4/posixpath.* ${libdir}/python3.4/struct.* ${libdir}/python3.4/warnings.* ${libdir}/python3.4/site.* ${libdir}/python3.4/stat.* ${libdir}/python3.4/UserDict.* ${libdir}/python3.4/UserList.* ${libdir}/python3.4/UserString.* ${libdir}/python3.4/lib-dynload/binascii.*.so ${libdir}/python3.4/lib-dynload/_struct.*.so ${libdir}/python3.4/lib-dynload/time.*.so ${libdir}/python3.4/lib-dynload/xreadlines.*.so ${libdir}/python3.4/types.* ${libdir}/python3.4/platform.* ${bindir}/python* ${libdir}/python3.4/_weakrefset.* ${libdir}/python3.4/sysconfig.* ${libdir}/python3.4/_sysconfigdata.* ${libdir}/python3.4/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/collections ${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* ${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py " | 38 | FILES_${PN}-core="${libdir}/python3.4/__future__.* ${libdir}/python3.4/_abcoll.* ${libdir}/python3.4/abc.* ${libdir}/python3.4/copy.* ${libdir}/python3.4/copyreg.* ${libdir}/python3.4/ConfigParser.* ${libdir}/python3.4/genericpath.* ${libdir}/python3.4/getopt.* ${libdir}/python3.4/linecache.* ${libdir}/python3.4/new.* ${libdir}/python3.4/os.* ${libdir}/python3.4/posixpath.* ${libdir}/python3.4/struct.* ${libdir}/python3.4/warnings.* ${libdir}/python3.4/site.* ${libdir}/python3.4/stat.* ${libdir}/python3.4/UserDict.* ${libdir}/python3.4/UserList.* ${libdir}/python3.4/UserString.* ${libdir}/python3.4/lib-dynload/binascii.*.so ${libdir}/python3.4/lib-dynload/_struct.*.so ${libdir}/python3.4/lib-dynload/time.*.so ${libdir}/python3.4/lib-dynload/xreadlines.*.so ${libdir}/python3.4/types.* ${libdir}/python3.4/platform.* ${bindir}/python* ${libdir}/python3.4/_weakrefset.* ${libdir}/python3.4/sysconfig.* ${libdir}/python3.4/_sysconfigdata.* ${libdir}/python3.4/config/Makefile ${includedir}/python${PYTHON_BINABI}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/collections ${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* ${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py " |
39 | 39 | ||
40 | SUMMARY_${PN}-crypt="Python basic cryptographic and hashing support" | 40 | SUMMARY_${PN}-crypt="Python basic cryptographic and hashing support" |
41 | RDEPENDS_${PN}-crypt="${PN}-core" | 41 | RDEPENDS_${PN}-crypt="${PN}-core" |
diff --git a/scripts/contrib/python/generate-manifest-3.4.py b/scripts/contrib/python/generate-manifest-3.4.py index 84da574220..427367c1f4 100755 --- a/scripts/contrib/python/generate-manifest-3.4.py +++ b/scripts/contrib/python/generate-manifest-3.4.py | |||
@@ -175,7 +175,7 @@ if __name__ == "__main__": | |||
175 | "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " + | 175 | "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " + |
176 | "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " + | 176 | "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " + |
177 | "_weakrefset.* sysconfig.* _sysconfigdata.* config/Makefile " + | 177 | "_weakrefset.* sysconfig.* _sysconfigdata.* config/Makefile " + |
178 | "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " + | 178 | "${includedir}/python${PYTHON_BINABI}/pyconfig*.h " + |
179 | "${libdir}/python${PYTHON_MAJMIN}/collections " + | 179 | "${libdir}/python${PYTHON_MAJMIN}/collections " + |
180 | "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* " + | 180 | "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* " + |
181 | "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* " + | 181 | "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* " + |