14
0
forked from pool/python-typer

Accepting request 1085562 from home:theMarix:branches:devel:languages:python

- Update to upstream version 0.9.0
  * Add support for PEP-593 Annotated for specifying options and
    arguments.
  * Add support for custom types and parsers.
- Drop patch run-subprocesses-with-correct-python.patch that got
  included upstream.

OBS-URL: https://build.opensuse.org/request/show/1085562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=15
This commit is contained in:
Matthias Bach
2023-05-08 19:13:01 +00:00
committed by Git OBS Bridge
parent 1446f53fd9
commit df1ca89a25
6 changed files with 30 additions and 3165 deletions

View File

@@ -19,14 +19,13 @@
%define skip_python2 1
Name: python-typer
Version: 0.7.0
Version: 0.9.0
Release: 0
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints
License: MIT
Group: Development/Languages/Python
URL: https://github.com/tiangolo/typer
Source: https://files.pythonhosted.org/packages/source/t/typer/typer-%{version}.tar.gz
Patch0: run-subprocesses-with-correct-python.patch
Patch1: set-proper-pythonpath-for-tutorial-script-tests.patch
BuildRequires: %{python_module click}
BuildRequires: %{python_module coverage}
@@ -71,6 +70,7 @@ This package provides the Typer Python package required to build and run Typer-b
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/typer
%{python_sitelib}/typer-%{version}*-info
%changelog