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 <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa 2024-10-31 14:41:09 +01:00 committed by Khem Raj
parent 6f709c10f0
commit 137456e900
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 15 additions and 16 deletions

View File

@ -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 \
"

View File

@ -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