mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-21 22:50:24 +00:00
python3-django: (4.2.27) add back setuptools3 support
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>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
require python-django.inc
|
||||
#From 4.2.22 onwards setuptools configuration migrated to pyproject.toml
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
SRC_URI += "file://0001-add-back-setuptools-support.patch"
|
||||
SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
|
||||
Reference in New Issue
Block a user