diff options
Diffstat (limited to 'external/meta-python2/classes/python-backports-init.bbclass')
-rw-r--r-- | external/meta-python2/classes/python-backports-init.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/external/meta-python2/classes/python-backports-init.bbclass b/external/meta-python2/classes/python-backports-init.bbclass new file mode 100644 index 00000000..727bc4a8 --- /dev/null +++ b/external/meta-python2/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) +} |