Message ID | 20250626054545.1237276-1-soumya.sambu@windriver.com |
---|---|
State | New |
Headers | show |
Series | [meta-lts-mixins,kirkstone/rust,1/1] python3-strict-rfc3339: fix invalid command 'bdist_wheel' | expand |
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-import-setup-from-setuptools-instead-of-dis.patch b/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-import-setup-from-setuptools-instead-of-dis.patch new file mode 100644 index 0000000..e424380 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-import-setup-from-setuptools-instead-of-dis.patch @@ -0,0 +1,23 @@ +From 1d583ecd2d6376252fcced66068a2482fec0dfbf Mon Sep 17 00:00:00 2001 +From: Soumya Sambu <soumya.sambu@windriver.com> +Date: Wed, 25 Jun 2025 17:26:35 +0530 +Subject: [PATCH] setup.py: import setup from setuptools instead of distutils + +Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index a49fb8e..5279707 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,5 +1,5 @@ + import os.path +-from setuptools._distutils.core import setup ++from setuptools import setup + + readme_file = os.path.join(os.path.dirname(__file__), 'README.md') + readme = open(readme_file).read() +-- +2.40.0 diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-strict-rfc3339_%.bbappend b/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-strict-rfc3339_%.bbappend new file mode 100644 index 0000000..d694d20 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-strict-rfc3339_%.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI += "\ + file://0001-setup.py-import-setup-from-setuptools-instead-of-dis.patch"