summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-19 15:23:51 +0100
committerGyorgy Sarvari <skandigraun@gmail.com>2026-01-19 15:24:39 +0100
commit8f5f5cf4b335a09313c48394c62bfb614868fc1e (patch)
tree324d824cbcdcb0b1e4487dac4bff450eadb8cc8b /meta-python/recipes-devtools/python/python3-django_4.2.27.bb
parentae49a0819910bce24434e0c855e54a6a2a22503a (diff)
downloadmeta-openembedded-8f5f5cf4b335a09313c48394c62bfb614868fc1e.tar.gz
python3-django: (4.2.27) add back setuptools3 supportkirkstone
The upstream project has switched to build_meta build backend with version 4.2.21, and when the recipe was update to 4.2.26, the build backend was changed in the layer also. Even though the recipe compilation didn't fail, it didn't install the required files (it pretty much produced empty folders), because the build backend required a much newer setuptools version than the one provided by oe-core, it errored out silently. This problem may be hidden by other layers that ship a newer version of setuptools, like the kirkstone-rust branch in meta-lts-mixins layer. To be able to install the recipe (without adding extra layers), this patch partially reverts the build backend change from upstream, and adds back setuptools build support. Ptest summary after this patch: Ran 16377 tests in 353.124s OK (skipped=1287, expected failures=5) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django_4.2.27.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-django_4.2.27.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.27.bb b/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
index 32fd235937..fba21cd75f 100644
--- a/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
+++ b/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
@@ -1,7 +1,8 @@
1require python-django.inc 1require python-django.inc
2#From 4.2.22 onwards setuptools configuration migrated to pyproject.toml
3inherit pypi python_setuptools_build_meta
4 2
3inherit pypi setuptools3
4
5SRC_URI += "file://0001-add-back-setuptools-support.patch"
5SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92" 6SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92"
6 7
7RDEPENDS:${PN} += "\ 8RDEPENDS:${PN} += "\