forked from pool/python-typer
Compare commits
12 Commits
Author | SHA256 | Date | |
---|---|---|---|
7d628dc0fe | |||
|
3e4eb16408 | ||
672282b783 | |||
|
4ac9e1d893 | ||
7136bd4660 | |||
|
8e9517e224 | ||
c39c28caf5 | |||
|
a79b099fde | ||
896e46f621 | |||
930e3958bd | |||
b4fde94740 | |||
|
8ddcf3703f |
@@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 24 19:25:40 UTC 2025 - Matthias Bach <marix@marix.org> - 0.19.2
|
||||
|
||||
- Update to 0.19.2
|
||||
* Fix list convertor with an empty list default factory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 20 18:42:14 UTC 2025 - Matthias Bach <marix@marix.org> - 0.19.1
|
||||
|
||||
- Update to 0.19.1
|
||||
* Ensure that Optional[list] values work correctly with callbacks.
|
||||
* Support typing.Literal to define a set of predefined choices.
|
||||
* Allow setting an environment variable to None in CliRunner.invoke.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 19 22:53:12 UTC 2025 - Matthias Bach <marix@marix.org> - 0.18.0
|
||||
|
||||
- Update to 0.18.0
|
||||
* Ensure compatibility with Click 8.3.0 by restoring the original
|
||||
value_is_missing function.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 6 09:01:49 UTC 2025 - Matthias Bach <marix@marix.org> - 0.17.4
|
||||
|
||||
- Update to 0.17.4
|
||||
* Make sure rich.markup is imported when rendering help text.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 30 14:32:00 UTC 2025 - Matthias Bach <marix@marix.org> - 0.17.3
|
||||
|
||||
- Update to 0.17.3
|
||||
* Allow annotated parsing with a subclass of Path.
|
||||
* Avoid printing default: None in the help section when using
|
||||
Rich.
|
||||
* Fix markdown formatting in --help output.
|
||||
* Lazy-load rich_utils to reduce startup time.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 14:25:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 20:15:13 UTC 2025 - Matthias Bach <marix@marix.org>
|
||||
|
||||
- Update to 0.16.1
|
||||
* Avoid printing additional output with no_args_is_help=True and
|
||||
Click 8.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 20:52:25 UTC 2025 - Matthias Bach <marix@marix.org> - 0.16.0
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
# spec file for package python-typer
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2021 Matthias Bach <marix@marix.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,9 +19,14 @@
|
||||
|
||||
|
||||
%define plainpython python
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-typer
|
||||
Version: 0.16.0
|
||||
Version: 0.19.2
|
||||
Release: 0
|
||||
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints
|
||||
License: MIT
|
||||
@@ -33,7 +39,7 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module rich}
|
||||
BuildRequires: %{python_module shellingham}
|
||||
BuildRequires: %{python_module typer-slim}
|
||||
BuildRequires: %{python_module typer-slim >= %{version}}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Work around Python dependency not being auto-added as there are no modules provided
|
||||
@@ -41,13 +47,18 @@ Requires: %{plainpython}(abi) = %{python_version}
|
||||
Requires: python-click
|
||||
Requires: python-rich
|
||||
Requires: python-shellingham
|
||||
Requires: python-typer-slim >= %version
|
||||
Requires: python-typer-slim >= %{version}
|
||||
Requires: python-typing_extensions
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# both packages provide /usr/bin/typer
|
||||
Conflicts: erlang
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -90,6 +101,9 @@ as those that do.
|
||||
%postun
|
||||
%python_uninstall_alternative typer
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative typer
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
BIN
typer-0.16.0.tar.gz
(Stored with Git LFS)
BIN
typer-0.16.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
typer-0.19.2.tar.gz
Normal file
3
typer-0.19.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ad824308ded0ad06cc716434705f691d4ee0bfd0fb081839d2e426860e7fdca
|
||||
size 104755
|
Reference in New Issue
Block a user