Skip to contentSkip to conversation

package/python-huepy: fix build with python3.8

PATCH New Louis Aussedat 2 participants 2 messages Nov 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-huepy: fix build with python3.8

Fixes:
- http://autobuild.buildroot.net/results/240c397a6479b98f30b63b5135bfb2e45281de7d

---
 package/python-huepy/0001-fix-import-with-python3.patch | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 package/python-huepy/0001-fix-import-with-python3.patch
package/python-huepy/0001-fix-import-with-python3.patch new file +8 -0
new file mode 100644
index 0000000000..e04eacb228
@@ -0,0 +1,8 @@
+--- a/huepy/__init__.py
++++ b/huepy/__init__.py
+@@ -1,4 +1,4 @@
+-from hue import COMMANDS
++from .hue import COMMANDS
+ 
+ __all__ = list(COMMANDS.keys())
+ __version__ = '1.0.1'
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/python-huepy: fix build with python3.8

Louis, All,

On 2019-11-14 21:14 +0100, Louis Aussedat spake thusly:

Quoted 4 lines

Fixes:
- http://autobuild.buildroot.net/results/240c397a6479b98f30b63b5135bfb2e45281de7d

Applied to next, thanks.

Regards,
Yann E. MORIN.

Quoted 26 lines
---
 package/python-huepy/0001-fix-import-with-python3.patch | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 package/python-huepy/0001-fix-import-with-python3.patch
package/python-huepy/0001-fix-import-with-python3.patch new file +8 -0
new file mode 100644
index 0000000000..e04eacb228
@@ -0,0 +1,8 @@
+--- a/huepy/__init__.py
++++ b/huepy/__init__.py
+@@ -1,4 +1,4 @@
+-from hue import COMMANDS
++from .hue import COMMANDS
+ 
+ __all__ = list(COMMANDS.keys())
+ __version__ = '1.0.1'
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'