From 68f7c47da98fbdddc3bb1d08036f2307f4a96105 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sat, 20 Mar 2021 22:23:08 +0100 Subject: python3-wpa-supplicant: fix importing the cli submodule The @click.argument decorator in the version of click provided by meta-python no longer takes more than one positional argument. Add a local patch for python3-wpa-supplicant that fixes the parsing error when running: 'from wpa_supplicant import cli'. Signed-off-by: Bartosz Golaszewski Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb b/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb index 9a2e3f3bc4..55e508805f 100644 --- a/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb +++ b/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://README.md;beginline=171;endline=199;md5=462586bcbebd1 SRC_URI[md5sum] = "c21c7841f5e03ff709a0564b2e094010" SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045f94776" +SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch" + PYPI_PACKAGE = "wpa_supplicant" inherit pypi setuptools3 -- cgit v1.2.3-54-g00ecf