meta-stx: re-name and re-org to align with upstream
[pti/rtp.git] / meta-starlingx / meta-stx-distro / classes / python-backports-init.bbclass
diff --git a/meta-starlingx/meta-stx-distro/classes/python-backports-init.bbclass b/meta-starlingx/meta-stx-distro/classes/python-backports-init.bbclass
new file mode 100644 (file)
index 0000000..eba5ec3
--- /dev/null
@@ -0,0 +1,8 @@
+
+inherit python-dir
+
+RDEPENDS_${PN} += "python-backports-init"
+
+do_install_prepend() {
+    rm -rf $(find . -path "*/backports/__init__.py" -type f)
+}