mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 17:41:21 +00:00
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>
This commit is contained in:
parent
e2c07e4eb9
commit
e7517b1d4c
@ -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>
|
||||||
|
---
|
||||||
|
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',
|
||||||
|
'sphinx',
|
||||||
|
],
|
||||||
|
install_requires=['lxml'],
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
@ -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"
|
||||||
Loading…
x
Reference in New Issue
Block a user