diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2026-02-13 18:10:04 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-13 23:51:30 -0800 |
| commit | 4939b050af826e36355019bd3e44e58c83092568 (patch) | |
| tree | 1abc746f2a63efe18b34a69eaa68ab5f30e44cf1 /meta-python/recipes-devtools/python | |
| parent | 8b613eeb853cee830cadf087e1120ac127905fff (diff) | |
| download | meta-openembedded-4939b050af826e36355019bd3e44e58c83092568.tar.gz | |
python3-dbus-deviation: Add new recipe
Add this new recipe for runtime dependence of hotdoc.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
2 files changed, 47 insertions, 0 deletions
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 @@ | |||
| 1 | Subject: [PATCH] Prevent trying to donwload requierment which will cause | ||
| 2 | network error. | ||
| 3 | |||
| 4 | '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/ | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [oe specific] | ||
| 7 | |||
| 8 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 9 | --- | ||
| 10 | setup.py | 1 - | ||
| 11 | 1 file changed, 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/setup.py b/setup.py | ||
| 14 | index 245193f..d899e4c 100755 | ||
| 15 | --- a/setup.py | ||
| 16 | +++ b/setup.py | ||
| 17 | @@ -92,7 +92,6 @@ setuptools.setup( | ||
| 18 | exclude_package_data={'': ['.gitignore']}, | ||
| 19 | zip_safe=True, | ||
| 20 | setup_requires=[ | ||
| 21 | - 'setuptools_git >= 0.3', | ||
| 22 | 'sphinx', | ||
| 23 | ], | ||
| 24 | install_requires=['lxml'], | ||
| 25 | -- | ||
| 26 | 2.43.0 | ||
| 27 | |||
diff --git a/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb b/meta-python/recipes-devtools/python/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 | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "dbus-deviation is a project for parsing D-Bus introspection XML and processing it in various ways" | ||
| 2 | HOMEPAGE = "https://tecnocode.co.uk/dbus-deviation/" | ||
| 3 | LICENSE = "LGPL-2.1-or-later" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=90263a49bc1d9a204656fec4d5616c66" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "e06b88efe223885d2725df51cf7c9b7b463d1c6f04ea49d4690874318d0eb7a3" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 | ||
| 9 | |||
| 10 | SRC_URI += "file://0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch" | ||
| 11 | |||
| 12 | DEPENDS += "python3-sphinx-native" | ||
| 13 | |||
| 14 | do_install:append() { | ||
| 15 | for ss in $(find ${D}${PYTHON_SITEPACKAGES_DIR} -type f -name "*.py"); do | ||
| 16 | sed -i 's,/usr/bin/python$,/usr/bin/env python3,' "$ss" | ||
| 17 | done | ||
| 18 | } | ||
| 19 | |||
| 20 | BBCLASSEXTEND = "native" | ||
