From 2be8b37a1e3448f27ace763c25bdf69641ce27f0 Mon Sep 17 00:00:00 2001 From: Louis Aussedat Date: Thu, 14 Nov 2019 21:14:07 +0100 Subject: [PATCH] package/python-huepy: fix build with python3.8 Fixes: - http://autobuild.buildroot.net/results/240c397a6479b98f30b63b5135bfb2e45281de7d Signed-off-by: Louis Aussedat Signed-off-by: Yann E. MORIN --- 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 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' -- 2.30.2