diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-05-13 16:23:29 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-14 07:25:05 -0700 |
| commit | 9e7b7fc006ac38952936e101057baeddbfa3adac (patch) | |
| tree | d63efbb0eea5a2d2eaf038ae844d160bd2de3d12 /meta-python/recipes-devtools/python/python3-click_7.1.2.bb | |
| parent | 6acf988a32a97bd0f8fefe730cf0ccaf51562b49 (diff) | |
| download | meta-openembedded-9e7b7fc006ac38952936e101057baeddbfa3adac.tar.gz | |
python3-click: Upgrade 7.1.2 -> 8.0.0
Upgrade to release 8.0.0:
- Drop support for Python 2 and 3.5.
- Colorama is always installed on Windows in order to provide
style and color support.
- Adds a repr to Command, showing the command name for friendlier
debugging.
- Add support for distinguishing the source of a command line
parameter.
- Add an optional parameter to ProgressBar.update to set the
current_item.
- New class attributes make it easier to use custom core objects
throughout an entire application.
- Use Context.with_resource() to manage resources that would
normally be used in a with statement, allowing them to be used
across subcommands and callbacks, then cleaned up when the
context ends.
- The result object returned by the test runner’s invoke() method
has a return_value attribute with the value returned by the
invoked command.
- Required arguments with the Choice type show the choices in
curly braces to indicate that one is required ({a|b|c}).
- Redesign the shell completion system.
- Completion correctly parses command line strings with incomplete
quoting or escape sequences.
- Fix formatting when Command.options_metavar is empty.
- Revert adding space between option help text that wraps.
- When defining a parameter, default is validated with multiple
and nargs. More validation is done for values being processed
as well.
- HelpFormatter.write_text uses the full line width when wrapping
text.
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_7.1.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-click_7.1.2.bb | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-python/recipes-devtools/python/python3-click_7.1.2.bb b/meta-python/recipes-devtools/python/python3-click_7.1.2.bb deleted file mode 100644 index 0b513e7cb9..0000000000 --- a/meta-python/recipes-devtools/python/python3-click_7.1.2.bb +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 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[md5sum] = "53692f62cb99a1a10c59248f1776d9c0" | ||
| 12 | SRC_URI[sha256sum] = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a" | ||
| 13 | |||
| 14 | inherit pypi setuptools3 ptest | ||
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | ${PYTHON_PN}-terminal \ | ||
| 23 | ${PYTHON_PN}-unixadmin \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | install -d ${D}${PTEST_PATH}/tests | ||
| 28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 29 | } | ||
| 30 | |||
| 31 | UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" | ||
| 32 | |||
| 33 | CLEANBROKEN = "1" | ||
| 34 | |||
| 35 | RDEPENDS_${PN} += "\ | ||
| 36 | ${PYTHON_PN}-io \ | ||
| 37 | ${PYTHON_PN}-threading \ | ||
| 38 | " | ||
| 39 | |||
| 40 | BBCLASSEXTEND = "native nativesdk" | ||
