From: Louis Aussedat Date: Thu, 14 Nov 2019 20:14:07 +0000 (+0100) Subject: package/python-huepy: fix build with python3.8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2be8b37a1e3448f27ace763c25bdf69641ce27f0;p=buildroot.git 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 --- 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'