Compare commits
25 Commits
Author | SHA256 | Date | |
---|---|---|---|
46555397f8 | |||
|
ce6ae4fe5b | ||
1dba8ed9d2 | |||
71f4d194d1 | |||
12dc107b09 | |||
|
0c01f86b0b | ||
1acef94b2c | |||
|
d197b6185d | ||
540b2f09d9 | |||
f691f573c1 | |||
0262d519d2 | |||
|
928121c173 | ||
c96c771573 | |||
|
39d71e2f36 | ||
dd3dfb7cbc | |||
|
e238162b87 | ||
|
a6982ac76b | ||
5c3b09808c | |||
2bafd6cede | |||
9fa0a81e88 | |||
|
1aed1d17aa | ||
b329ffc8c1 | |||
|
ae06a90305 | ||
5a093cdf10 | |||
|
2c61f1ba30 |
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 30 14:32:00 UTC 2025 - Matthias Bach <marix@marix.org>
|
||||
|
||||
- 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.17.3
|
||||
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.17.3.tar.gz
Normal file
3
typer-0.17.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c600503d472bcf98d29914d4dcd67f80c24cc245395e2e00ba3603c9332e8ba
|
||||
size 103517
|
Reference in New Issue
Block a user