[oe-commits] [openembedded-core] 12/22: python: package .pyo files too
git at git.openembedded.org
git at git.openembedded.org
Fri Nov 29 17:44:15 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 1e0ef76dcccfa10cdf473670acd2c52332bb3412
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Nov 26 10:28:39 2019 +0000
python: package .pyo files too
The manifest parsing code was only adding .py and .pyc paths to FILES,
generalise the latter to .py? so it catches .pyo files too.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/python/python_2.7.17.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python_2.7.17.bb b/meta/recipes-devtools/python/python_2.7.17.bb
index ef5d564..5807f63 100644
--- a/meta/recipes-devtools/python/python_2.7.17.bb
+++ b/meta/recipes-devtools/python/python_2.7.17.bb
@@ -218,7 +218,7 @@ python(){
d.appendVar('FILES_' + pypackage, ' ' + value)
if include_pycs == '1':
if value.endswith('.py'):
- d.appendVar('FILES_' + pypackage, ' ' + value + 'c')
+ d.appendVar('FILES_' + pypackage, ' ' + value + '?')
for value in python_manifest[key]['rdepends']:
# Make it work with or without $PN
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list