mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-02 03:28:22 +00:00
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>
This commit is contained in:
41
meta-python/recipes-devtools/python/python3-click_8.0.4.bb
Normal file
41
meta-python/recipes-devtools/python/python3-click_8.0.4.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
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] = "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb"
|
||||
|
||||
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/
|
||||
cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
|
||||
cp -rf ${S}/docs ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user