diff options
author | Ross Burton <ross.burton@intel.com> | 2017-06-02 17:36:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-06 19:52:26 +0100 |
commit | f1333958ddf7d133437baeddae42781fdc03a7c7 (patch) | |
tree | ec217af6fec5440e650a51af59f02b3c3c1cb5d5 | |
parent | b39d1c6842a970d0d6794ceee5392ddc3e78cec0 (diff) | |
download | poky-f1333958ddf7d133437baeddae42781fdc03a7c7.tar.gz |
python3: add python3-modules-native to RPROVIDES for python3-native
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: fae66dd3633aa8a6aa633fcfd7c4b9a728dee7a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python-native-3.5-manifest.inc | 4 | ||||
-rwxr-xr-x | scripts/contrib/python/generate-manifest-3.5.py | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-devtools/python/python-native-3.5-manifest.inc b/meta/recipes-devtools/python/python-native-3.5-manifest.inc index 10be3e9bb8..f1f732eb84 100644 --- a/meta/recipes-devtools/python/python-native-3.5-manifest.inc +++ b/meta/recipes-devtools/python/python-native-3.5-manifest.inc | |||
@@ -1,10 +1,10 @@ | |||
1 | 1 | ||
2 | # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. | 2 | # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. |
3 | # Generator: '../../../scripts/contrib/python/generate-manifest-3.5.py --native' Version 20140131 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | 3 | # Generator: '../scripts/contrib/python/generate-manifest-3.5.py --native' Version 20140131 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
7 | RPROVIDES+="python3-2to3-native python3-argparse-native python3-asyncio-native python3-audio-native python3-codecs-native python3-compile-native python3-compression-native python3-core-native python3-crypt-native python3-ctypes-native python3-curses-native python3-datetime-native python3-db-native python3-debugger-native python3-dev-native python3-difflib-native python3-distutils-native python3-distutils-staticdev-native python3-doctest-native python3-email-native python3-enum-native python3-fcntl-native python3-gdbm-native python3-html-native python3-idle-native python3-image-native python3-importlib-native python3-io-native python3-json-native python3-lang-native python3-logging-native python3-mailbox-native python3-math-native python3-mime-native python3-mmap-native python3-multiprocessing-native python3-netclient-native python3-netserver-native python3-numbers-native python3-pickle-native python3-pkgutil-native python3-pprint-native python3-profile-native python3-pydoc-native python3-re-native python3-readline-native python3-reprlib-native python3-resource-native python3-selectors-native python3-shell-native python3-signal-native python3-smtpd-native python3-sqlite3-native python3-sqlite3-tests-native python3-stringold-native python3-subprocess-native python3-syslog-native python3-terminal-native python3-tests-native python3-textutils-native python3-threading-native python3-tkinter-native python3-typing-native python3-unittest-native python3-unixadmin-native python3-xml-native python3-xmlrpc-native " | 7 | RPROVIDES += "python3-modules-native python3-2to3-native python3-argparse-native python3-asyncio-native python3-audio-native python3-codecs-native python3-compile-native python3-compression-native python3-core-native python3-crypt-native python3-ctypes-native python3-curses-native python3-datetime-native python3-db-native python3-debugger-native python3-dev-native python3-difflib-native python3-distutils-native python3-distutils-staticdev-native python3-doctest-native python3-email-native python3-enum-native python3-fcntl-native python3-gdbm-native python3-html-native python3-idle-native python3-image-native python3-importlib-native python3-io-native python3-json-native python3-lang-native python3-logging-native python3-mailbox-native python3-math-native python3-mime-native python3-mmap-native python3-multiprocessing-native python3-netclient-native python3-netserver-native python3-numbers-native python3-pickle-native python3-pkgutil-native python3-pprint-native python3-profile-native python3-pydoc-native python3-re-native python3-readline-native python3-reprlib-native python3-resource-native python3-selectors-native python3-shell-native python3-signal-native python3-smtpd-native python3-sqlite3-native python3-sqlite3-tests-native python3-stringold-native python3-subprocess-native python3-syslog-native python3-terminal-native python3-tests-native python3-textutils-native python3-threading-native python3-tkinter-native python3-typing-native python3-unittest-native python3-unixadmin-native python3-xml-native python3-xmlrpc-native" |
8 | 8 | ||
9 | 9 | ||
10 | 10 | ||
diff --git a/scripts/contrib/python/generate-manifest-3.5.py b/scripts/contrib/python/generate-manifest-3.5.py index a8b5059a4f..0de8fedbc2 100755 --- a/scripts/contrib/python/generate-manifest-3.5.py +++ b/scripts/contrib/python/generate-manifest-3.5.py | |||
@@ -87,13 +87,11 @@ class MakefileMaker: | |||
87 | # | 87 | # |
88 | 88 | ||
89 | if self.isNative: | 89 | if self.isNative: |
90 | rprovideLine = 'RPROVIDES+="' | 90 | pkglist = [] |
91 | for name in sorted(self.packages): | 91 | for name in ['${PN}-modules'] + sorted(self.packages): |
92 | rprovideLine += "%s-native " % name.replace( '${PN}', 'python3' ) | 92 | pkglist.append('%s-native' % name.replace('${PN}', 'python3')) |
93 | rprovideLine += '"' | ||
94 | 93 | ||
95 | self.out( rprovideLine ) | 94 | self.out('RPROVIDES += "%s"' % " ".join(pkglist)) |
96 | self.out( "" ) | ||
97 | return | 95 | return |
98 | 96 | ||
99 | # | 97 | # |