meta-openembedded/meta-python/recipes-devtools/python/python3-click_8.0.1.bb
Leon Anavi 2413956e4f 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>
2021-05-24 07:36:50 -07:00

40 lines
1.0 KiB
BlitzBasic

SUMMARY = "A simple wrapper around optparse for powerful command line utilities."
DESCRIPTION = "\
Click is a Python package for creating beautiful command line interfaces \
in a composable way with as little code as necessary. It's the "Command \
Line Interface Creation Kit". It's highly configurable but comes with \
sensible defaults out of the box."
HOMEPAGE = "http://click.pocoo.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
SRC_URI[sha256sum] = "8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a"
inherit pypi setuptools3 ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS_${PN}-ptest += " \
${PYTHON_PN}-pytest \
${PYTHON_PN}-terminal \
${PYTHON_PN}-unixadmin \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
CLEANBROKEN = "1"
RDEPENDS_${PN} += "\
${PYTHON_PN}-io \
${PYTHON_PN}-threading \
"
BBCLASSEXTEND = "native nativesdk"