[Buildroot] [git commit] package/python-huepy: fix build with python3.8

Yann E. MORIN yann.morin.1998 at free.fr
Mon Dec 2 08:47:48 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=2be8b37a1e3448f27ace763c25bdf69641ce27f0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

Signed-off-by: Louis Aussedat <aussedat.louis at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/python-huepy/0001-fix-import-with-python3.patch | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/python-huepy/0001-fix-import-with-python3.patch b/package/python-huepy/0001-fix-import-with-python3.patch
new file mode 100644
index 0000000000..e04eacb228
--- /dev/null
+++ b/package/python-huepy/0001-fix-import-with-python3.patch
@@ -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'


More information about the buildroot mailing list