diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-05-20 19:42:37 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-24 07:36:50 -0700 |
| commit | 2413956e4f3af413b06bbf26888f12e4fd1f19d0 (patch) | |
| tree | fffcdf5179b1a2d50f2166e37c0d94ad979eff5b /meta-python/recipes-devtools/python/python3-click_8.0.1.bb | |
| parent | 1ead5d6575f8b3abb487cf363cabf7e2debfbe6f (diff) | |
| download | meta-openembedded-2413956e4f3af413b06bbf26888f12e4fd1f19d0.tar.gz | |
python3-click: Upgrade 8.0.0 -> 8.0.1
Upgrade to release 8.0.1:
- Mark top-level names as exported so type checking understand
imports in user projects.
- Annotate Context.obj as Any so type checking allows all
operations on the arbitrary object.
- Fix some types that weren’t available in Python 3.6.0.
- Fix type checking for iterating over ProgressBar object.
- The importlib_metadata backport package is installed on Python
< 3.8.
- Arguments with nargs=-1 only use env var value if no command
line values are given.
- Flag options guess their type from flag_value if given, like
regular options do from default.
- Added documentation that custom parameter types may be passed
already valid values in addition to strings.
- Resolving commands returns the name that was given, not
command.name, fixing an unintended change to help text and
default_map lookups. When using patterns like AliasedGroup,
override resolve_command to change the name that is returned
if needed.
- If a default value is invalid, it does not prevent showing
help text.
- Pass windows_expand_args=False when calling the main command to
disable pattern expansion on Windows. There is no way to escape
patterns in CMD, so if the program needs to pass them on as-is
then expansion must be disabled.
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.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-click_8.0.1.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-click_8.0.1.bb b/meta-python/recipes-devtools/python/python3-click_8.0.1.bb new file mode 100644 index 0000000000..22c6c7903c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-click_8.0.1.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | SUMMARY = "A simple wrapper around optparse for powerful command line utilities." | ||
| 2 | DESCRIPTION = "\ | ||
| 3 | Click is a Python package for creating beautiful command line interfaces \ | ||
| 4 | in a composable way with as little code as necessary. It's the "Command \ | ||
| 5 | Line Interface Creation Kit". It's highly configurable but comes with \ | ||
| 6 | sensible defaults out of the box." | ||
| 7 | HOMEPAGE = "http://click.pocoo.org/" | ||
| 8 | LICENSE = "BSD-3-Clause" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8" | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a" | ||
| 12 | |||
| 13 | inherit pypi setuptools3 ptest | ||
| 14 | |||
| 15 | SRC_URI += " \ | ||
| 16 | file://run-ptest \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS_${PN}-ptest += " \ | ||
| 20 | ${PYTHON_PN}-pytest \ | ||
| 21 | ${PYTHON_PN}-terminal \ | ||
| 22 | ${PYTHON_PN}-unixadmin \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/tests | ||
| 27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 28 | } | ||
| 29 | |||
| 30 | UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" | ||
| 31 | |||
| 32 | CLEANBROKEN = "1" | ||
| 33 | |||
| 34 | RDEPENDS_${PN} += "\ | ||
| 35 | ${PYTHON_PN}-io \ | ||
| 36 | ${PYTHON_PN}-threading \ | ||
| 37 | " | ||
| 38 | |||
| 39 | BBCLASSEXTEND = "native nativesdk" | ||
