summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-connectivity/python-pyconnman
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-connectivity/python-pyconnman')
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python-pyconnman.inc4
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb (renamed from meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb)0
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman/0001-Import-local-modules-by-relative-path-for-python3-su.patch74
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.1.0.bb9
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb5
5 files changed, 7 insertions, 85 deletions
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman.inc b/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman.inc
index beb2baf83..8517079bf 100644
--- a/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman.inc
+++ b/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman.inc
@@ -4,8 +4,8 @@ LICENSE = "Apache-2.0"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7SRC_URI[md5sum] = "b7fa82034b1c0e1fb1b518ffe3bb4fc0" 7SRC_URI[md5sum] = "d60bdffbd9c920f005fdc5e05a8b94cd"
8SRC_URI[sha256sum] = "46c64c0692063fd0c9fb0216d49f7884bec9fa9760d8473db4b1e2f8162fab4a" 8SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926"
9 9
10inherit pypi 10inherit pypi
11 11
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb
index 3c12db944..3c12db944 100644
--- a/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb
+++ b/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman/0001-Import-local-modules-by-relative-path-for-python3-su.patch b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman/0001-Import-local-modules-by-relative-path-for-python3-su.patch
deleted file mode 100644
index 977b4aacd..000000000
--- a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman/0001-Import-local-modules-by-relative-path-for-python3-su.patch
+++ /dev/null
@@ -1,74 +0,0 @@
1From 2e84adb042bfb742eb328220b97f79ddb28db44b Mon Sep 17 00:00:00 2001
2From: Haris Okanovic <haris.okanovic@ni.com>
3Date: Tue, 23 Oct 2018 21:39:56 +0000
4Subject: [PATCH] Import local modules by relative path for python3 support
5
6Upstream-Status: Submitted
7---
8 pyconnman/agent.py | 2 +-
9 pyconnman/interface.py | 2 +-
10 pyconnman/manager.py | 2 +-
11 pyconnman/service.py | 2 +-
12 pyconnman/technology.py | 2 +-
13 5 files changed, 5 insertions(+), 5 deletions(-)
14
15diff --git a/pyconnman/agent.py b/pyconnman/agent.py
16index f72de8d..453d783 100644
17--- a/pyconnman/agent.py
18+++ b/pyconnman/agent.py
19@@ -1,5 +1,5 @@
20 from __future__ import unicode_literals
21-from exceptions import ConnCanceledException
22+from .exceptions import ConnCanceledException
23
24 import dbus.service
25
26diff --git a/pyconnman/interface.py b/pyconnman/interface.py
27index 7d82e04..d540c81 100644
28--- a/pyconnman/interface.py
29+++ b/pyconnman/interface.py
30@@ -4,7 +4,7 @@ import dbus
31 import types
32 import pprint
33
34-from exceptions import ConnSignalNameNotRecognisedException
35+from .exceptions import ConnSignalNameNotRecognisedException
36
37
38 def translate_to_dbus_type(typeof, value):
39diff --git a/pyconnman/manager.py b/pyconnman/manager.py
40index f6f40a8..03244cc 100644
41--- a/pyconnman/manager.py
42+++ b/pyconnman/manager.py
43@@ -1,6 +1,6 @@
44 from __future__ import unicode_literals
45
46-from interface import ConnInterface
47+from .interface import ConnInterface
48
49
50 class ConnManager(ConnInterface):
51diff --git a/pyconnman/service.py b/pyconnman/service.py
52index bbccced..c6b9241 100644
53--- a/pyconnman/service.py
54+++ b/pyconnman/service.py
55@@ -1,6 +1,6 @@
56 from __future__ import unicode_literals
57
58-from interface import ConnInterface
59+from .interface import ConnInterface
60
61
62 class ConnService(ConnInterface):
63diff --git a/pyconnman/technology.py b/pyconnman/technology.py
64index 4777229..d25bad6 100644
65--- a/pyconnman/technology.py
66+++ b/pyconnman/technology.py
67@@ -1,6 +1,6 @@
68 from __future__ import unicode_literals
69
70-from interface import ConnInterface
71+from .interface import ConnInterface
72
73
74 class ConnTechnology(ConnInterface):
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.1.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.1.0.bb
deleted file mode 100644
index 32bbe8b80..000000000
--- a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.1.0.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1require python-pyconnman.inc
2
3inherit setuptools3
4
5SRC_URI_append = " \
6 file://0001-Import-local-modules-by-relative-path-for-python3-su.patch \
7"
8
9RDEPENDS_${PN} += "python3-dbus python3-pprint"
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
new file mode 100644
index 000000000..e0f3fdd75
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
@@ -0,0 +1,5 @@
1require python-pyconnman.inc
2
3inherit setuptools3
4
5RDEPENDS_${PN} += "python3-dbus python3-pprint"