diff mbox series

[master-next,meta-oe,06/11] python3-flask-xstatic: drop unnecessary FILESEXTRAPATHS and fold .inc into .bb

Message ID 20241031134114.2791747-6-martin.jansa@gmail.com
State New
Headers show
Series [master-next,meta-oe,01/11] libgpiod: improve FILESEXTRAPATHS | expand

Commit Message

Martin Jansa Oct. 31, 2024, 1:41 p.m. UTC
* 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 <martin.jansa@gmail.com>
---
 .../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 mbox series

Patch

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