diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-01-21 13:24:44 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-01-22 09:56:34 -0800 |
| commit | e134e4c1b7055212c81749e2ab2a7a7c179863fa (patch) | |
| tree | 4654d030c12418aa024213cc99d16ec18caf6722 /meta-python/recipes-connectivity/telepathy/telepathy-python3-0.15.19/parallel_make.patch | |
| parent | a16eaae6fdb0889ca71f35b708a437f60a239c78 (diff) | |
| download | meta-openembedded-e134e4c1b7055212c81749e2ab2a7a7c179863fa.tar.gz | |
telepathy-python: Rename to telepathy-python3
This avoid recipe conflict with py2 version and adjust to delete
__pycache__ files which are py3 specific
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-connectivity/telepathy/telepathy-python3-0.15.19/parallel_make.patch')
| -rw-r--r-- | meta-python/recipes-connectivity/telepathy/telepathy-python3-0.15.19/parallel_make.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-python/recipes-connectivity/telepathy/telepathy-python3-0.15.19/parallel_make.patch b/meta-python/recipes-connectivity/telepathy/telepathy-python3-0.15.19/parallel_make.patch new file mode 100644 index 0000000000..248824606e --- /dev/null +++ b/meta-python/recipes-connectivity/telepathy/telepathy-python3-0.15.19/parallel_make.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | Add dependency of __init__.py | ||
| 2 | |||
| 3 | Tasks must be done after exec of __init__, which creates the | ||
| 4 | src/_generated directory that tasks are based on. | ||
| 5 | |||
| 6 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
| 7 | |||
| 8 | Upstream-Status: Submitted | ||
| 9 | (However it seems that this project is out of maintanence.) | ||
| 10 | |||
| 11 | diff -ruN telepathy-python-0.15.19-orig/src/Makefile.am telepathy-python-0.15.19/src/Makefile.am | ||
| 12 | --- telepathy-python-0.15.19-orig/src/Makefile.am 2011-03-10 08:51:49.000000000 +0800 | ||
| 13 | +++ telepathy-python-0.15.19/src/Makefile.am 2011-03-10 08:54:45.000000000 +0800 | ||
| 14 | @@ -39,17 +39,17 @@ | ||
| 15 | XSLTPROC_OPTS = --nonet --novalid --xinclude | ||
| 16 | tools_dir = $(top_srcdir)/tools | ||
| 17 | |||
| 18 | -_generated/interfaces.py: $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
| 19 | +_generated/interfaces.py: _generated/__init__.py $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
| 20 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
| 21 | $(tools_dir)/python-interfaces-generator.xsl \ | ||
| 22 | $(spec_dir)/all.xml | ||
| 23 | |||
| 24 | -_generated/constants.py: $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
| 25 | +_generated/constants.py: _generated/__init__.py $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
| 26 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
| 27 | $(tools_dir)/python-constants-generator.xsl \ | ||
| 28 | $(spec_dir)/all.xml | ||
| 29 | |||
| 30 | -_generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
| 31 | +_generated/errors.py: _generated/__init__.py $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
| 32 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
| 33 | $(tools_dir)/python-errors-generator.xsl \ | ||
| 34 | $(spec_dir)/all.xml | ||
| 35 | @@ -58,7 +58,7 @@ | ||
| 36 | $(AM_V_GEN)$(mkdir_p) $(dir $@) | ||
| 37 | @echo "# Placeholder for package" > $@ | ||
| 38 | |||
| 39 | -_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml | ||
| 40 | +_generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml | ||
| 41 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
| 42 | $(tools_dir)/spec-to-python.xsl \ | ||
| 43 | $(spec_dir)/$*.xml | ||
