From b2a66eead114d77f69360b9b8c3cd83a476eb9aa Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 31 Oct 2024 14:41:14 +0100 Subject: python3-django: rename .inc file to BPN.inc * this one has 2 versions, so the .inc file cannot be folded into .bb files but we can at least rename it to start with BPN for consistency Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- .../recipes-devtools/python/python-django.inc | 33 ---------------------- .../recipes-devtools/python/python3-django.inc | 33 ++++++++++++++++++++++ .../python/python3-django_4.2.16.bb | 2 +- .../python/python3-django_5.0.9.bb | 2 +- 4 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-django.inc create mode 100644 meta-python/recipes-devtools/python/python3-django.inc (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-django.inc b/meta-python/recipes-devtools/python/python-django.inc deleted file mode 100644 index d9ab3fd21f..0000000000 --- a/meta-python/recipes-devtools/python/python-django.inc +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "A high-level Python Web framework" -HOMEPAGE = "http://www.djangoproject.com/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" - -PYPI_PACKAGE = "Django" -inherit pypi - -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)/" - -FILES:${PN} += "${datadir}/django" - -BBCLASSEXTEND = "native nativesdk" - -RDEPENDS:${PN} += "\ - python3-compression \ - python3-ctypes \ - python3-datetime \ - python3-email \ - python3-html \ - python3-json \ - python3-logging \ - python3-multiprocessing \ - python3-netserver \ - python3-numbers \ - python3-pkgutil \ - python3-pytz \ - python3-threading \ - python3-unixadmin \ - python3-xml \ -" - -CVE_PRODUCT = "django" diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc new file mode 100644 index 0000000000..d9ab3fd21f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django.inc @@ -0,0 +1,33 @@ +SUMMARY = "A high-level Python Web framework" +HOMEPAGE = "http://www.djangoproject.com/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" + +PYPI_PACKAGE = "Django" +inherit pypi + +UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)/" + +FILES:${PN} += "${datadir}/django" + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += "\ + python3-compression \ + python3-ctypes \ + python3-datetime \ + python3-email \ + python3-html \ + python3-json \ + python3-logging \ + python3-multiprocessing \ + python3-netserver \ + python3-numbers \ + python3-pkgutil \ + python3-pytz \ + python3-threading \ + python3-unixadmin \ + python3-xml \ +" + +CVE_PRODUCT = "django" diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb b/meta-python/recipes-devtools/python/python3-django_4.2.16.bb index 9254e8b009..564e8741e5 100644 --- a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb +++ b/meta-python/recipes-devtools/python/python3-django_4.2.16.bb @@ -1,4 +1,4 @@ -require python-django.inc +require python3-django.inc inherit setuptools3 SRC_URI[sha256sum] = "6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad" diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.9.bb b/meta-python/recipes-devtools/python/python3-django_5.0.9.bb index b3fb301ede..2de4832163 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.0.9.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.0.9.bb @@ -1,4 +1,4 @@ -require python-django.inc +require python3-django.inc inherit python_setuptools_build_meta SRC_URI[sha256sum] = "6333870d342329b60174da3a60dbd302e533f3b0bb0971516750e974a99b5a39" -- cgit v1.2.3-54-g00ecf