summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch27
-rw-r--r--meta-python/recipes-devtools/python/python3-django_5.0.13.bb9
-rw-r--r--meta-python/recipes-devtools/python/python3-django_5.2.bb13
3 files changed, 40 insertions, 9 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch b/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch
new file mode 100644
index 0000000000..4e28f59d8a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch
@@ -0,0 +1,27 @@
1From 3ae049b26b995c650c41ef918d5f60beed52b4ba Mon Sep 17 00:00:00 2001
2From: Nick Pope <nick@nickpope.me.uk>
3Date: Fri, 6 Dec 2024 18:32:39 +0000
4Subject: [PATCH] Fixed #35980 -- Updated setuptools to normalize package names
5 in built artifacts.
6
7Upstream-Status: Backport [https://github.com/django/django/commit/3ae049b26b995c650c41ef918d5f60beed52b4ba]
8
9Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
10---
11 pyproject.toml | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/pyproject.toml b/pyproject.toml
15index f10d15d20d..b9e82334cd 100644
16--- a/pyproject.toml
17+++ b/pyproject.toml
18@@ -1,5 +1,5 @@
19 [build-system]
20-requires = ["setuptools>=61.0.0,<69.3.0"]
21+requires = ["setuptools>=75.8.1"]
22 build-backend = "setuptools.build_meta"
23
24 [project]
25--
262.34.1
27
diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.13.bb b/meta-python/recipes-devtools/python/python3-django_5.0.13.bb
deleted file mode 100644
index 801083833c..0000000000
--- a/meta-python/recipes-devtools/python/python3-django_5.0.13.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1require python3-django.inc
2inherit python_setuptools_build_meta
3
4SRC_URI[sha256sum] = "f9d4b7b87a9dae248d5f20cec940cf7290e07d508d6d8432e3c2cabf09b3b0ff"
5
6RDEPENDS:${PN} += "\
7 python3-sqlparse \
8 python3-asgiref \
9"
diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.bb b/meta-python/recipes-devtools/python/python3-django_5.2.bb
new file mode 100644
index 0000000000..8a20448e22
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django_5.2.bb
@@ -0,0 +1,13 @@
1require python3-django.inc
2inherit python_setuptools_build_meta
3
4SRC_URI[sha256sum] = "1a47f7a7a3d43ce64570d350e008d2949abe8c7e21737b351b6a1611277c6d89"
5
6SRC_URI += "\
7 file://0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch \
8"
9
10RDEPENDS:${PN} += "\
11 python3-sqlparse \
12 python3-asgiref \
13"