mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 23:36:21 +01:00
python-pyconnman: 0.1.0 -> 0.2.0
0001-Import-local-modules-by-relative-path-for-python3-su.patch Removed since it is included in 0.2.0. Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d612ea4094
commit
dcb8c50af4
|
|
@ -4,8 +4,8 @@ LICENSE = "Apache-2.0"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "b7fa82034b1c0e1fb1b518ffe3bb4fc0"
|
SRC_URI[md5sum] = "d60bdffbd9c920f005fdc5e05a8b94cd"
|
||||||
SRC_URI[sha256sum] = "46c64c0692063fd0c9fb0216d49f7884bec9fa9760d8473db4b1e2f8162fab4a"
|
SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926"
|
||||||
|
|
||||||
inherit pypi
|
inherit pypi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,74 +0,0 @@
|
||||||
From 2e84adb042bfb742eb328220b97f79ddb28db44b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Haris Okanovic <haris.okanovic@ni.com>
|
|
||||||
Date: Tue, 23 Oct 2018 21:39:56 +0000
|
|
||||||
Subject: [PATCH] Import local modules by relative path for python3 support
|
|
||||||
|
|
||||||
Upstream-Status: Submitted
|
|
||||||
---
|
|
||||||
pyconnman/agent.py | 2 +-
|
|
||||||
pyconnman/interface.py | 2 +-
|
|
||||||
pyconnman/manager.py | 2 +-
|
|
||||||
pyconnman/service.py | 2 +-
|
|
||||||
pyconnman/technology.py | 2 +-
|
|
||||||
5 files changed, 5 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/pyconnman/agent.py b/pyconnman/agent.py
|
|
||||||
index f72de8d..453d783 100644
|
|
||||||
--- a/pyconnman/agent.py
|
|
||||||
+++ b/pyconnman/agent.py
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
-from exceptions import ConnCanceledException
|
|
||||||
+from .exceptions import ConnCanceledException
|
|
||||||
|
|
||||||
import dbus.service
|
|
||||||
|
|
||||||
diff --git a/pyconnman/interface.py b/pyconnman/interface.py
|
|
||||||
index 7d82e04..d540c81 100644
|
|
||||||
--- a/pyconnman/interface.py
|
|
||||||
+++ b/pyconnman/interface.py
|
|
||||||
@@ -4,7 +4,7 @@ import dbus
|
|
||||||
import types
|
|
||||||
import pprint
|
|
||||||
|
|
||||||
-from exceptions import ConnSignalNameNotRecognisedException
|
|
||||||
+from .exceptions import ConnSignalNameNotRecognisedException
|
|
||||||
|
|
||||||
|
|
||||||
def translate_to_dbus_type(typeof, value):
|
|
||||||
diff --git a/pyconnman/manager.py b/pyconnman/manager.py
|
|
||||||
index f6f40a8..03244cc 100644
|
|
||||||
--- a/pyconnman/manager.py
|
|
||||||
+++ b/pyconnman/manager.py
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
-from interface import ConnInterface
|
|
||||||
+from .interface import ConnInterface
|
|
||||||
|
|
||||||
|
|
||||||
class ConnManager(ConnInterface):
|
|
||||||
diff --git a/pyconnman/service.py b/pyconnman/service.py
|
|
||||||
index bbccced..c6b9241 100644
|
|
||||||
--- a/pyconnman/service.py
|
|
||||||
+++ b/pyconnman/service.py
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
-from interface import ConnInterface
|
|
||||||
+from .interface import ConnInterface
|
|
||||||
|
|
||||||
|
|
||||||
class ConnService(ConnInterface):
|
|
||||||
diff --git a/pyconnman/technology.py b/pyconnman/technology.py
|
|
||||||
index 4777229..d25bad6 100644
|
|
||||||
--- a/pyconnman/technology.py
|
|
||||||
+++ b/pyconnman/technology.py
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
-from interface import ConnInterface
|
|
||||||
+from .interface import ConnInterface
|
|
||||||
|
|
||||||
|
|
||||||
class ConnTechnology(ConnInterface):
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
require python-pyconnman.inc
|
|
||||||
|
|
||||||
inherit setuptools3
|
|
||||||
|
|
||||||
SRC_URI_append = " \
|
|
||||||
file://0001-Import-local-modules-by-relative-path-for-python3-su.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "python3-dbus python3-pprint"
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
require python-pyconnman.inc
|
||||||
|
|
||||||
|
inherit setuptools3
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += "python3-dbus python3-pprint"
|
||||||
Loading…
Reference in New Issue
Block a user