forked from pool/python-typer
Accepting request 982660 from home:theMarix:branches:devel:languages:python
- Update to upstream version 0.4.1 * Fix import of get_terminal_size for Click 8.1.0 support. - Switch from traditional setup.py installation to pyproject macros as upstream no longer ships its setup.py compability wrapper. OBS-URL: https://build.opensuse.org/request/show/982660 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
846f00341a
commit
93b9aa8e23
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-typer
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2021 Matthias Bach <marix@marix.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-typer
|
||||
Version: 0.4.0
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints
|
||||
License: MIT
|
||||
@@ -30,6 +30,7 @@ Source1: %{name}-rpmlintrc
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module shellingham}
|
||||
BuildRequires: fdupes
|
||||
@@ -52,10 +53,10 @@ This package provides the Typer Python package required to build and run Typer-b
|
||||
%setup -q -n typer-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user