From 137456e900be6a08ab6cadd31025f9e7b374cbfb Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 31 Oct 2024 14:41:09 +0100 Subject: [PATCH] python3-flask-xstatic: drop unnecessary FILESEXTRAPATHS and fold .inc into .bb * 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 Signed-off-by: Khem Raj --- .../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