summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-click_8.0.4.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2022-02-22 14:11:58 +0200
committerKhem Raj <raj.khem@gmail.com>2022-02-24 08:30:26 -0800
commit3b481faaa6f501c2cfd222bad28f79d415f81f84 (patch)
treec6bb0bdba2034968ef41247ba9d1b6b80d871fa8 /meta-python/recipes-devtools/python/python3-click_8.0.4.bb
parentaa294ca1aa5fe921902446cecf690a163131a285 (diff)
downloadmeta-openembedded-3b481faaa6f501c2cfd222bad28f79d415f81f84.tar.gz
python3-click: Upgrade 8.0.3 -> 8.0.4
Upgrade to release 8.0.4: - open_file recognizes Path("-") as a standard stream, the same as the string "-". - The option and argument decorators preserve the type annotation of the decorated function. - A callable default value can customize its help text by overriding __str__ instead of always showing (dynamic). - Fix a typo in the Bash completion script that affected file and directory completion. If this script was generated by a previous version, it should be regenerated. - Fix typing for echo and secho file argument. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-click_8.0.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-click_8.0.4.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-click_8.0.4.bb b/meta-python/recipes-devtools/python/python3-click_8.0.4.bb
new file mode 100644
index 0000000000..76f7a8e652
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-click_8.0.4.bb
@@ -0,0 +1,41 @@
1SUMMARY = "A simple wrapper around optparse for powerful command line utilities."
2DESCRIPTION = "\
3Click is a Python package for creating beautiful command line interfaces \
4in a composable way with as little code as necessary. It's the "Command \
5Line Interface Creation Kit". It's highly configurable but comes with \
6sensible defaults out of the box."
7HOMEPAGE = "http://click.pocoo.org/"
8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
10
11SRC_URI[sha256sum] = "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb"
12
13inherit pypi setuptools3 ptest
14
15SRC_URI += " \
16 file://run-ptest \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 ${PYTHON_PN}-pytest \
21 ${PYTHON_PN}-terminal \
22 ${PYTHON_PN}-unixadmin \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
29 cp -rf ${S}/docs ${D}${PTEST_PATH}/
30}
31
32UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
33
34CLEANBROKEN = "1"
35
36RDEPENDS:${PN} += "\
37 ${PYTHON_PN}-io \
38 ${PYTHON_PN}-threading \
39 "
40
41BBCLASSEXTEND = "native nativesdk"