aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Louis Aussedat <aussedat.louis@gmail.com>2019-11-14 21:14:07 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-11-14 21:46:36 +0100
commit2be8b37a1e3448f27ace763c25bdf69641ce27f0 (patch)
treef7f8a72c1e9dd49389b73ea4ede82eec71d69fe3
parent6f3ffafdd4b880d65afa6738f862e4e96eef61a2 (diff)
downloadbuildroot-2be8b37a1e3448f27ace763c25bdf69641ce27f0.tar.gz
buildroot-2be8b37a1e3448f27ace763c25bdf69641ce27f0.tar.bz2
package/python-huepy: fix build with python3.8
Fixes: - http://autobuild.buildroot.net/results/240c397a6479b98f30b63b5135bfb2e45281de7d Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/python-huepy/0001-fix-import-with-python3.patch8
1 files changed, 8 insertions, 0 deletions
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'