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 <brgl@bgdev.pl>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski
2021-03-20 22:23:08 +01:00
committed by Khem Raj
parent 0866859f84
commit 68f7c47da9
2 changed files with 129 additions and 0 deletions
@@ -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