Mon Apr 17 20:37:10 2023 UTC ()
py-cleo: updated to 2.0.1

2.0.1 - 2022-11-23

Relax poetry-core requirement for PEP 517 builds

2.0.0 - 2022-11-21

No source code changes.

This is a version-only release to replace 1.0.0, which was yanked on the grounds that it was incompatible with real dependents (i.e. Poetry) based on their version specifiers, which explicitly included 1.0.0 pre-releases.

1.0.0 - 2022-11-21

Key points

Supported Python versions are now 3.7 up to 3.11.
cleo is now fully type-checked.
cleo no longer depends on clikit.

Changed

Replaced Terminal class with shutil.get_terminal_size() from standard library
Exceptions are now Errors
pylev was dropped in favor of much faster rapidfuzz
Default error verbosity was reduced

Removed

Removed doc comment-based command configuration notation

Fixed

--no-interaction is now automatically set when running in non-TTY terminals
Generated completions will no longer cause shell errors for namespaced commands
Using ^C while autocompleting Question answer will no longer break terminal
Namespaced commands no longer reset interactive state
Fixed underlying regex that caused CVE-2022-42966


(adam)
diff -r1.1 -r1.2 pkgsrc/comms/py-cleo/Makefile
diff -r1.1 -r1.2 pkgsrc/comms/py-cleo/PLIST
diff -r1.1 -r1.2 pkgsrc/comms/py-cleo/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/comms/py-cleo/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/py-cleo/Makefile 2022/01/11 19:12:31 1.1
+++ pkgsrc/comms/py-cleo/Makefile 2023/04/17 20:37:10 1.2
@@ -1,18 +1,21 @@ @@ -1,18 +1,21 @@
1# $NetBSD: Makefile,v 1.1 2022/01/11 19:12:31 adam Exp $ 1# $NetBSD: Makefile,v 1.2 2023/04/17 20:37:10 adam Exp $
2 2
3DISTNAME= cleo-0.8.1 3DISTNAME= cleo-2.0.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= comms python 5CATEGORIES= comms python
6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cleo/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cleo/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/sdispater/cleo 9HOMEPAGE= https://github.com/sdispater/cleo
10COMMENT= Create beautiful and testable command-line interfaces 10COMMENT= Create beautiful and testable command-line interfaces
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-clikit>=0.6.0:../../comms/py-clikit 13DEPENDS+= ${PYPKGPREFIX}-crashtest>=0.4.1:../../misc/py-crashtest
 14DEPENDS+= ${PYPKGPREFIX}-rapidfuzz>=2.2.0:../../textproc/py-rapidfuzz
14 15
15USE_LANGUAGES= # none 16USE_LANGUAGES= # none
16 17
 18PYTHON_VERSIONS_INCOMPATIBLE= 27
 19
17.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
18.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/comms/py-cleo/PLIST (expand / switch to unified diff)

--- pkgsrc/comms/py-cleo/PLIST 2022/01/11 19:12:31 1.1
+++ pkgsrc/comms/py-cleo/PLIST 2023/04/17 20:37:10 1.2
@@ -1,66 +1,220 @@ @@ -1,66 +1,220 @@
1@comment $NetBSD: PLIST,v 1.1 2022/01/11 19:12:31 adam Exp $ 1@comment $NetBSD: PLIST,v 1.2 2023/04/17 20:37:10 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/cleo/__init__.py 7${PYSITELIB}/cleo/__init__.py
8${PYSITELIB}/cleo/__init__.pyc 8${PYSITELIB}/cleo/__init__.pyc
9${PYSITELIB}/cleo/__init__.pyo 9${PYSITELIB}/cleo/__init__.pyo
10${PYSITELIB}/cleo/_compat.py 10${PYSITELIB}/cleo/_compat.py
11${PYSITELIB}/cleo/_compat.pyc 11${PYSITELIB}/cleo/_compat.pyc
12${PYSITELIB}/cleo/_compat.pyo 12${PYSITELIB}/cleo/_compat.pyo
 13${PYSITELIB}/cleo/_utils.py
 14${PYSITELIB}/cleo/_utils.pyc
 15${PYSITELIB}/cleo/_utils.pyo
13${PYSITELIB}/cleo/application.py 16${PYSITELIB}/cleo/application.py
14${PYSITELIB}/cleo/application.pyc 17${PYSITELIB}/cleo/application.pyc
15${PYSITELIB}/cleo/application.pyo 18${PYSITELIB}/cleo/application.pyo
 19${PYSITELIB}/cleo/color.py
 20${PYSITELIB}/cleo/color.pyc
 21${PYSITELIB}/cleo/color.pyo
16${PYSITELIB}/cleo/commands/__init__.py 22${PYSITELIB}/cleo/commands/__init__.py
17${PYSITELIB}/cleo/commands/__init__.pyc 23${PYSITELIB}/cleo/commands/__init__.pyc
18${PYSITELIB}/cleo/commands/__init__.pyo 24${PYSITELIB}/cleo/commands/__init__.pyo
19${PYSITELIB}/cleo/commands/base_command.py 25${PYSITELIB}/cleo/commands/base_command.py
20${PYSITELIB}/cleo/commands/base_command.pyc 26${PYSITELIB}/cleo/commands/base_command.pyc
21${PYSITELIB}/cleo/commands/base_command.pyo 27${PYSITELIB}/cleo/commands/base_command.pyo
22${PYSITELIB}/cleo/commands/command.py 28${PYSITELIB}/cleo/commands/command.py
23${PYSITELIB}/cleo/commands/command.pyc 29${PYSITELIB}/cleo/commands/command.pyc
24${PYSITELIB}/cleo/commands/command.pyo 30${PYSITELIB}/cleo/commands/command.pyo
25${PYSITELIB}/cleo/commands/completions/__init__.py 31${PYSITELIB}/cleo/commands/completions/__init__.py
26${PYSITELIB}/cleo/commands/completions/__init__.pyc 32${PYSITELIB}/cleo/commands/completions/__init__.pyc
27${PYSITELIB}/cleo/commands/completions/__init__.pyo 33${PYSITELIB}/cleo/commands/completions/__init__.pyo
28${PYSITELIB}/cleo/commands/completions/templates.py 34${PYSITELIB}/cleo/commands/completions/templates.py
29${PYSITELIB}/cleo/commands/completions/templates.pyc 35${PYSITELIB}/cleo/commands/completions/templates.pyc
30${PYSITELIB}/cleo/commands/completions/templates.pyo 36${PYSITELIB}/cleo/commands/completions/templates.pyo
31${PYSITELIB}/cleo/commands/completions_command.py 37${PYSITELIB}/cleo/commands/completions_command.py
32${PYSITELIB}/cleo/commands/completions_command.pyc 38${PYSITELIB}/cleo/commands/completions_command.pyc
33${PYSITELIB}/cleo/commands/completions_command.pyo 39${PYSITELIB}/cleo/commands/completions_command.pyo
34${PYSITELIB}/cleo/config/__init__.py 40${PYSITELIB}/cleo/commands/help_command.py
35${PYSITELIB}/cleo/config/__init__.pyc 41${PYSITELIB}/cleo/commands/help_command.pyc
36${PYSITELIB}/cleo/config/__init__.pyo 42${PYSITELIB}/cleo/commands/help_command.pyo
37${PYSITELIB}/cleo/config/application_config.py 43${PYSITELIB}/cleo/commands/list_command.py
38${PYSITELIB}/cleo/config/application_config.pyc 44${PYSITELIB}/cleo/commands/list_command.pyc
39${PYSITELIB}/cleo/config/application_config.pyo 45${PYSITELIB}/cleo/commands/list_command.pyo
 46${PYSITELIB}/cleo/cursor.py
 47${PYSITELIB}/cleo/cursor.pyc
 48${PYSITELIB}/cleo/cursor.pyo
 49${PYSITELIB}/cleo/descriptors/__init__.py
 50${PYSITELIB}/cleo/descriptors/__init__.pyc
 51${PYSITELIB}/cleo/descriptors/__init__.pyo
 52${PYSITELIB}/cleo/descriptors/application_description.py
 53${PYSITELIB}/cleo/descriptors/application_description.pyc
 54${PYSITELIB}/cleo/descriptors/application_description.pyo
 55${PYSITELIB}/cleo/descriptors/descriptor.py
 56${PYSITELIB}/cleo/descriptors/descriptor.pyc
 57${PYSITELIB}/cleo/descriptors/descriptor.pyo
 58${PYSITELIB}/cleo/descriptors/text_descriptor.py
 59${PYSITELIB}/cleo/descriptors/text_descriptor.pyc
 60${PYSITELIB}/cleo/descriptors/text_descriptor.pyo
 61${PYSITELIB}/cleo/events/__init__.py
 62${PYSITELIB}/cleo/events/__init__.pyc
 63${PYSITELIB}/cleo/events/__init__.pyo
 64${PYSITELIB}/cleo/events/console_command_event.py
 65${PYSITELIB}/cleo/events/console_command_event.pyc
 66${PYSITELIB}/cleo/events/console_command_event.pyo
 67${PYSITELIB}/cleo/events/console_error_event.py
 68${PYSITELIB}/cleo/events/console_error_event.pyc
 69${PYSITELIB}/cleo/events/console_error_event.pyo
 70${PYSITELIB}/cleo/events/console_event.py
 71${PYSITELIB}/cleo/events/console_event.pyc
 72${PYSITELIB}/cleo/events/console_event.pyo
 73${PYSITELIB}/cleo/events/console_events.py
 74${PYSITELIB}/cleo/events/console_events.pyc
 75${PYSITELIB}/cleo/events/console_events.pyo
 76${PYSITELIB}/cleo/events/console_signal_event.py
 77${PYSITELIB}/cleo/events/console_signal_event.pyc
 78${PYSITELIB}/cleo/events/console_signal_event.pyo
 79${PYSITELIB}/cleo/events/console_terminate_event.py
 80${PYSITELIB}/cleo/events/console_terminate_event.pyc
 81${PYSITELIB}/cleo/events/console_terminate_event.pyo
 82${PYSITELIB}/cleo/events/event.py
 83${PYSITELIB}/cleo/events/event.pyc
 84${PYSITELIB}/cleo/events/event.pyo
 85${PYSITELIB}/cleo/events/event_dispatcher.py
 86${PYSITELIB}/cleo/events/event_dispatcher.pyc
 87${PYSITELIB}/cleo/events/event_dispatcher.pyo
 88${PYSITELIB}/cleo/exceptions/__init__.py
 89${PYSITELIB}/cleo/exceptions/__init__.pyc
 90${PYSITELIB}/cleo/exceptions/__init__.pyo
 91${PYSITELIB}/cleo/formatters/__init__.py
 92${PYSITELIB}/cleo/formatters/__init__.pyc
 93${PYSITELIB}/cleo/formatters/__init__.pyo
 94${PYSITELIB}/cleo/formatters/formatter.py
 95${PYSITELIB}/cleo/formatters/formatter.pyc
 96${PYSITELIB}/cleo/formatters/formatter.pyo
 97${PYSITELIB}/cleo/formatters/style.py
 98${PYSITELIB}/cleo/formatters/style.pyc
 99${PYSITELIB}/cleo/formatters/style.pyo
 100${PYSITELIB}/cleo/formatters/style_stack.py
 101${PYSITELIB}/cleo/formatters/style_stack.pyc
 102${PYSITELIB}/cleo/formatters/style_stack.pyo
40${PYSITELIB}/cleo/helpers.py 103${PYSITELIB}/cleo/helpers.py
41${PYSITELIB}/cleo/helpers.pyc 104${PYSITELIB}/cleo/helpers.pyc
42${PYSITELIB}/cleo/helpers.pyo 105${PYSITELIB}/cleo/helpers.pyo
43${PYSITELIB}/cleo/io/__init__.py 106${PYSITELIB}/cleo/io/__init__.py
44${PYSITELIB}/cleo/io/__init__.pyc 107${PYSITELIB}/cleo/io/__init__.pyc
45${PYSITELIB}/cleo/io/__init__.pyo 108${PYSITELIB}/cleo/io/__init__.pyo
46${PYSITELIB}/cleo/io/buffered_io.py 109${PYSITELIB}/cleo/io/buffered_io.py
47${PYSITELIB}/cleo/io/buffered_io.pyc 110${PYSITELIB}/cleo/io/buffered_io.pyc
48${PYSITELIB}/cleo/io/buffered_io.pyo 111${PYSITELIB}/cleo/io/buffered_io.pyo
49${PYSITELIB}/cleo/io/console_io.py 112${PYSITELIB}/cleo/io/inputs/__init__.py
50${PYSITELIB}/cleo/io/console_io.pyc 113${PYSITELIB}/cleo/io/inputs/__init__.pyc
51${PYSITELIB}/cleo/io/console_io.pyo 114${PYSITELIB}/cleo/io/inputs/__init__.pyo
52${PYSITELIB}/cleo/io/io_mixin.py 115${PYSITELIB}/cleo/io/inputs/argument.py
53${PYSITELIB}/cleo/io/io_mixin.pyc 116${PYSITELIB}/cleo/io/inputs/argument.pyc
54${PYSITELIB}/cleo/io/io_mixin.pyo 117${PYSITELIB}/cleo/io/inputs/argument.pyo
55${PYSITELIB}/cleo/parser.py 118${PYSITELIB}/cleo/io/inputs/argv_input.py
56${PYSITELIB}/cleo/parser.pyc 119${PYSITELIB}/cleo/io/inputs/argv_input.pyc
57${PYSITELIB}/cleo/parser.pyo 120${PYSITELIB}/cleo/io/inputs/argv_input.pyo
 121${PYSITELIB}/cleo/io/inputs/definition.py
 122${PYSITELIB}/cleo/io/inputs/definition.pyc
 123${PYSITELIB}/cleo/io/inputs/definition.pyo
 124${PYSITELIB}/cleo/io/inputs/input.py
 125${PYSITELIB}/cleo/io/inputs/input.pyc
 126${PYSITELIB}/cleo/io/inputs/input.pyo
 127${PYSITELIB}/cleo/io/inputs/option.py
 128${PYSITELIB}/cleo/io/inputs/option.pyc
 129${PYSITELIB}/cleo/io/inputs/option.pyo
 130${PYSITELIB}/cleo/io/inputs/string_input.py
 131${PYSITELIB}/cleo/io/inputs/string_input.pyc
 132${PYSITELIB}/cleo/io/inputs/string_input.pyo
 133${PYSITELIB}/cleo/io/inputs/token_parser.py
 134${PYSITELIB}/cleo/io/inputs/token_parser.pyc
 135${PYSITELIB}/cleo/io/inputs/token_parser.pyo
 136${PYSITELIB}/cleo/io/io.py
 137${PYSITELIB}/cleo/io/io.pyc
 138${PYSITELIB}/cleo/io/io.pyo
 139${PYSITELIB}/cleo/io/null_io.py
 140${PYSITELIB}/cleo/io/null_io.pyc
 141${PYSITELIB}/cleo/io/null_io.pyo
 142${PYSITELIB}/cleo/io/outputs/__init__.py
 143${PYSITELIB}/cleo/io/outputs/__init__.pyc
 144${PYSITELIB}/cleo/io/outputs/__init__.pyo
 145${PYSITELIB}/cleo/io/outputs/buffered_output.py
 146${PYSITELIB}/cleo/io/outputs/buffered_output.pyc
 147${PYSITELIB}/cleo/io/outputs/buffered_output.pyo
 148${PYSITELIB}/cleo/io/outputs/null_output.py
 149${PYSITELIB}/cleo/io/outputs/null_output.pyc
 150${PYSITELIB}/cleo/io/outputs/null_output.pyo
 151${PYSITELIB}/cleo/io/outputs/output.py
 152${PYSITELIB}/cleo/io/outputs/output.pyc
 153${PYSITELIB}/cleo/io/outputs/output.pyo
 154${PYSITELIB}/cleo/io/outputs/section_output.py
 155${PYSITELIB}/cleo/io/outputs/section_output.pyc
 156${PYSITELIB}/cleo/io/outputs/section_output.pyo
 157${PYSITELIB}/cleo/io/outputs/stream_output.py
 158${PYSITELIB}/cleo/io/outputs/stream_output.pyc
 159${PYSITELIB}/cleo/io/outputs/stream_output.pyo
 160${PYSITELIB}/cleo/loaders/__init__.py
 161${PYSITELIB}/cleo/loaders/__init__.pyc
 162${PYSITELIB}/cleo/loaders/__init__.pyo
 163${PYSITELIB}/cleo/loaders/command_loader.py
 164${PYSITELIB}/cleo/loaders/command_loader.pyc
 165${PYSITELIB}/cleo/loaders/command_loader.pyo
 166${PYSITELIB}/cleo/loaders/factory_command_loader.py
 167${PYSITELIB}/cleo/loaders/factory_command_loader.pyc
 168${PYSITELIB}/cleo/loaders/factory_command_loader.pyo
 169${PYSITELIB}/cleo/py.typed
58${PYSITELIB}/cleo/testers/__init__.py 170${PYSITELIB}/cleo/testers/__init__.py
59${PYSITELIB}/cleo/testers/__init__.pyc 171${PYSITELIB}/cleo/testers/__init__.pyc
60${PYSITELIB}/cleo/testers/__init__.pyo 172${PYSITELIB}/cleo/testers/__init__.pyo
61${PYSITELIB}/cleo/testers/application_tester.py 173${PYSITELIB}/cleo/testers/application_tester.py
62${PYSITELIB}/cleo/testers/application_tester.pyc 174${PYSITELIB}/cleo/testers/application_tester.pyc
63${PYSITELIB}/cleo/testers/application_tester.pyo 175${PYSITELIB}/cleo/testers/application_tester.pyo
64${PYSITELIB}/cleo/testers/command_tester.py 176${PYSITELIB}/cleo/testers/command_tester.py
65${PYSITELIB}/cleo/testers/command_tester.pyc 177${PYSITELIB}/cleo/testers/command_tester.pyc
66${PYSITELIB}/cleo/testers/command_tester.pyo 178${PYSITELIB}/cleo/testers/command_tester.pyo
 179${PYSITELIB}/cleo/ui/__init__.py
 180${PYSITELIB}/cleo/ui/__init__.pyc
 181${PYSITELIB}/cleo/ui/__init__.pyo
 182${PYSITELIB}/cleo/ui/choice_question.py
 183${PYSITELIB}/cleo/ui/choice_question.pyc
 184${PYSITELIB}/cleo/ui/choice_question.pyo
 185${PYSITELIB}/cleo/ui/component.py
 186${PYSITELIB}/cleo/ui/component.pyc
 187${PYSITELIB}/cleo/ui/component.pyo
 188${PYSITELIB}/cleo/ui/confirmation_question.py
 189${PYSITELIB}/cleo/ui/confirmation_question.pyc
 190${PYSITELIB}/cleo/ui/confirmation_question.pyo
 191${PYSITELIB}/cleo/ui/exception_trace.py
 192${PYSITELIB}/cleo/ui/exception_trace.pyc
 193${PYSITELIB}/cleo/ui/exception_trace.pyo
 194${PYSITELIB}/cleo/ui/progress_bar.py
 195${PYSITELIB}/cleo/ui/progress_bar.pyc
 196${PYSITELIB}/cleo/ui/progress_bar.pyo
 197${PYSITELIB}/cleo/ui/progress_indicator.py
 198${PYSITELIB}/cleo/ui/progress_indicator.pyc
 199${PYSITELIB}/cleo/ui/progress_indicator.pyo
 200${PYSITELIB}/cleo/ui/question.py
 201${PYSITELIB}/cleo/ui/question.pyc
 202${PYSITELIB}/cleo/ui/question.pyo
 203${PYSITELIB}/cleo/ui/table.py
 204${PYSITELIB}/cleo/ui/table.pyc
 205${PYSITELIB}/cleo/ui/table.pyo
 206${PYSITELIB}/cleo/ui/table_cell.py
 207${PYSITELIB}/cleo/ui/table_cell.pyc
 208${PYSITELIB}/cleo/ui/table_cell.pyo
 209${PYSITELIB}/cleo/ui/table_cell_style.py
 210${PYSITELIB}/cleo/ui/table_cell_style.pyc
 211${PYSITELIB}/cleo/ui/table_cell_style.pyo
 212${PYSITELIB}/cleo/ui/table_separator.py
 213${PYSITELIB}/cleo/ui/table_separator.pyc
 214${PYSITELIB}/cleo/ui/table_separator.pyo
 215${PYSITELIB}/cleo/ui/table_style.py
 216${PYSITELIB}/cleo/ui/table_style.pyc
 217${PYSITELIB}/cleo/ui/table_style.pyo
 218${PYSITELIB}/cleo/ui/ui.py
 219${PYSITELIB}/cleo/ui/ui.pyc
 220${PYSITELIB}/cleo/ui/ui.pyo

cvs diff -r1.1 -r1.2 pkgsrc/comms/py-cleo/distinfo (expand / switch to unified diff)

--- pkgsrc/comms/py-cleo/distinfo 2022/01/11 19:12:31 1.1
+++ pkgsrc/comms/py-cleo/distinfo 2023/04/17 20:37:10 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1 2022/01/11 19:12:31 adam Exp $ 1$NetBSD: distinfo,v 1.2 2023/04/17 20:37:10 adam Exp $
2 2
3BLAKE2s (cleo-0.8.1.tar.gz) = 48860d5d1bd41599a2d378bff7f7735c1bca2db1496dc9fd416e9ec173c7b5d0 3BLAKE2s (cleo-2.0.1.tar.gz) = 5d3b4ff5ef52b4013671c127c3f41052948df53023286eeb8556ae2122c02adf
4SHA512 (cleo-0.8.1.tar.gz) = dd7b7e4a6574f3ff47089d42aab7ca5ea0d04fe1affb7015a6c9edadc655fe9a76afcef2a3fd776d9745216581d4f7d7a330e366748bac2fa831840eceee44d3 4SHA512 (cleo-2.0.1.tar.gz) = fdfabdfdbf32cb600bb966e6649abee24c89f395e8a2207439fd2ff87d94714fdcc6ebffef69d3ef5cf78619b6a334eed6eed5fe2d0ca61ad7cff9098c9cc8bc
5Size (cleo-0.8.1.tar.gz) = 19159 bytes 5Size (cleo-2.0.1.tar.gz) = 59723 bytes