forked from pool/python-typer
Compare commits
19 Commits
Author | SHA256 | Date | |
---|---|---|---|
b0043c458a | |||
|
ed2bade230 | ||
cdd4550598 | |||
0b94e8f91a | |||
955b501cc2 | |||
|
496ff6491a | ||
03eda4b434 | |||
|
9fbbaab384 | ||
e8f4fbe8d8 | |||
|
c58e50b21c | ||
|
13c9e7157c | ||
d1550f394e | |||
01c487e9ca | |||
686a497720 | |||
|
c94ae9006b | ||
c225b0a584 | |||
|
8dbe0a8168 | ||
b95771e7a2 | |||
|
0fb562a7a8 |
@@ -1,25 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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,7 +2,6 @@
|
||||
# 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
|
||||
@@ -19,14 +18,9 @@
|
||||
|
||||
|
||||
%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.17.3
|
||||
Version: 0.16.0
|
||||
Release: 0
|
||||
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints
|
||||
License: MIT
|
||||
@@ -39,7 +33,7 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module rich}
|
||||
BuildRequires: %{python_module shellingham}
|
||||
BuildRequires: %{python_module typer-slim >= %{version}}
|
||||
BuildRequires: %{python_module typer-slim}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Work around Python dependency not being auto-added as there are no modules provided
|
||||
@@ -47,18 +41,13 @@ 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
|
||||
@@ -101,9 +90,6 @@ 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)
Normal file
BIN
typer-0.16.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c600503d472bcf98d29914d4dcd67f80c24cc245395e2e00ba3603c9332e8ba
|
||||
size 103517
|
Reference in New Issue
Block a user