* python2 is long dead, kill .inc file as well

* rename python-flask-xstatic to BPN python3-flask-xstatic
  which is included in default FILESPATH

Signed-off-by: Martin Jansa <[email protected]>
---
 .../python/python-flask-xstatic.inc              | 15 ---------------
 .../remove-pip-requires.patch                    |  0
 .../python/python3-flask-xstatic_0.0.1.bb        | 16 +++++++++++++++-
 3 files changed, 15 insertions(+), 16 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-flask-xstatic.inc
 rename meta-python/recipes-devtools/python/{python-flask-xstatic => 
python3-flask-xstatic}/remove-pip-requires.patch (100%)

diff --git a/meta-python/recipes-devtools/python/python-flask-xstatic.inc 
b/meta-python/recipes-devtools/python/python-flask-xstatic.inc
deleted file mode 100644
index 6fc32107f2..0000000000
--- a/meta-python/recipes-devtools/python/python-flask-xstatic.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-DESCRIPTION = "XStatic support for flask"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c"
-
-SRC_URI[sha256sum] = 
"226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/python-flask-xstatic:"
-SRC_URI += "file://remove-pip-requires.patch"
-
-PYPI_PACKAGE = "Flask-XStatic"
-
-RDEPENDS:${PN} += "\
-    python3-flask \
-    python3-xstatic \
-    "
diff --git 
a/meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch
 
b/meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch
similarity index 100%
rename from 
meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch
rename to 
meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch
diff --git a/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb 
b/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb
index 5412befdb5..c4cad466ad 100644
--- a/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb
@@ -1,2 +1,16 @@
+DESCRIPTION = "XStatic support for flask"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c"
+
+SRC_URI[sha256sum] = 
"226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133"
+
+SRC_URI += "file://remove-pip-requires.patch"
+
+PYPI_PACKAGE = "Flask-XStatic"
+
+RDEPENDS:${PN} += "\
+    python3-flask \
+    python3-xstatic \
+    "
+
 inherit pypi setuptools3
-require python-flask-xstatic.inc
-- 
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113363): 
https://lists.openembedded.org/g/openembedded-devel/message/113363
Mute This Topic: https://lists.openembedded.org/mt/109314382/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to