diff mbox series

回复: [oe][meta-python][PATCH 4/5] python3-dbus-deviation: Add new recipe

Message ID TY3PR01MB101109E8D1F3D248631AFD2D09B61A@TY3PR01MB10110.jpnprd01.prod.outlook.com
State New
Headers show
Series 回复: [oe][meta-python][PATCH 4/5] python3-dbus-deviation: Add new recipe | expand

Commit Message

Liu Yiding Feb. 13, 2026, 7:20 a.m. UTC
Hi Khem

-> what are side-effects of removing it ?
I have tested c-extensions of hotdoc with producing doc of orc, and found it works well.
At least when used by orc, I didn't find side-effects of removing setuptools_git.

Liu

________________________________
发件人: Khem Raj <raj.khem@gmail.com>
发送时间: 2026年2月13日 10:49
收件人: Liu, Yiding/刘 乙丁 <liuyd.fnst@fujitsu.com>
抄送: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org>
主题: Re: [oe][meta-python][PATCH 4/5] python3-dbus-deviation: Add new recipe



On Thu, Feb 12, 2026 at 6:32 PM Yiding Liu (Fujitsu) via lists.openembedded.org<http://lists.openembedded.org> <liuyd.fnst=fujitsu.com@lists.openembedded.org<mailto:fujitsu.com@lists.openembedded.org>> wrote:
Add this new recipe for runtime dependence of hotdoc.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com<mailto:liuyd.fnst@fujitsu.com>>
---
 ...o-donwload-requierment-which-will-ca.patch | 27 +++++++++++++++++++
 .../python/python3-dbus-deviation_0.6.1.bb<http://python3-dbus-deviation_0.6.1.bb>    | 20 ++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-dbus-deviation/0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb<http://python3-dbus-deviation_0.6.1.bb>

--
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124369): https://lists.openembedded.org/g/openembedded-devel/message/124369
Mute This Topic: https://lists.openembedded.org/mt/117786770/1997914
Group Owner: openembedded-devel+owner@lists.openembedded.org<mailto:openembedded-devel%2Bowner@lists.openembedded.org>
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com<mailto:raj.khem@gmail.com>]
-=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-dbus-deviation/0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch b/meta-python/recipes-devtools/python/python3-dbus-deviation/0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch
new file mode 100644
index 0000000000..b163db772c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dbus-deviation/0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch
@@ -0,0 +1,27 @@ 
+Subject: [PATCH] Prevent trying to donwload requierment which will cause
+ network error.
+
+'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1e83062ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools-git/
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com<mailto:liuyd.fnst@fujitsu.com>>
+---
+ setup.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 245193f..d899e4c 100755
+--- a/setup.py
++++ b/setup.py
+@@ -92,7 +92,6 @@ setuptools.setup(
+     exclude_package_data={'': ['.gitignore']},
+     zip_safe=True,
+     setup_requires=[
+-        'setuptools_git >= 0.3',

what are side-effects of removing it ?

+         'sphinx',
+     ],
+     install_requires=['lxml'],
+--
+2.43.0
+
diff --git a/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb<http://python3-dbus-deviation_0.6.1.bb> b/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb<http://python3-dbus-deviation_0.6.1.bb>
new file mode 100644
index 0000000000..e969e85465
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb<http://python3-dbus-deviation_0.6.1.bb>
@@ -0,0 +1,20 @@ 
+SUMMARY = "dbus-deviation is a project for parsing D-Bus introspection XML and processing it in various ways"
+HOMEPAGE = "https://tecnocode.co.uk/dbus-deviation/"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=90263a49bc1d9a204656fec4d5616c66"
+
+SRC_URI[sha256sum] = "e06b88efe223885d2725df51cf7c9b7b463d1c6f04ea49d4690874318d0eb7a3"
+
+inherit pypi setuptools3
+
+SRC_URI += "file://0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch"
+
+DEPENDS += "python3-sphinx-native"
+
+do_install:append() {
+    for ss in $(find ${D}${PYTHON_SITEPACKAGES_DIR} -type f -name "*.py"); do
+        sed -i 's,/usr/bin/python$,/usr/bin/env python3,' "$ss"
+    done
+}
+
+BBCLASSEXTEND = "native"