diff options
author | Tim Orling <ticotimo@gmail.com> | 2019-11-30 14:50:31 -0800 |
---|---|---|
committer | Tim Orling <ticotimo@gmail.com> | 2019-12-01 18:08:12 -0800 |
commit | a54c8165dbf75e8db0aa130668c90e5401d47354 (patch) | |
tree | a0b4479ffd670cc548d0ad2fc22de805f08750fc /classes | |
parent | 18615f47dbbd109bc2350b86e078da93d066e5e5 (diff) | |
download | meta-python2-a54c8165dbf75e8db0aa130668c90e5401d47354.tar.gz |
python-backports-init: Add helper class and recipe
Recipes that install in the backports namespace have
a tendency to conflict in the installation of
.../site-packages/backports/__init__.py
Add a class and recipe to help avoid the conflict.
Modify recipes that are affected:
- python-backports-functools-lru-cache
- python-backports-ssl
- python-configparser
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/python-backports-init.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/python-backports-init.bbclass b/classes/python-backports-init.bbclass new file mode 100644 index 0000000..727bc4a --- /dev/null +++ b/classes/python-backports-init.bbclass @@ -0,0 +1,7 @@ +inherit python-dir + +RDEPENDS_${PN} += "python-backports-init" + +do_install_prepend() { + rm -rf $(find . -path "*/backports/__init__.py" -type f) +} |