File python-trio-typing.spec of Package python-trio-typing

#
# spec file for package python-trio-typing
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-trio-typing
Version:        0.5.0
Release:        0
License:        MIT -or- Apache License 2.0 (FIXME:No SPDX)
Summary:        Static type checking support for Trio and related projects
Url:            https://github.com/python-trio/trio-typing
Group:          Development/Languages/Python
Source:         https://files.pythonhosted.org/packages/source/t/trio-typing/trio-typing-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
BuildRequires:  %{python_module mypy_extensions >= 0.4.2}
BuildRequires:  %{python_module trio >= 0.16.0}
BuildRequires:  %{python_module typing_extensions >= 3.7.4}
# /SECTION
BuildRequires:  fdupes
Requires:       python-mypy_extensions >= 0.4.2
Requires:       python-trio >= 0.16.0
Requires:       python-typing_extensions >= 3.7.4
Suggests:       python-mypy >= 0.780
BuildArch:      noarch

%python_subpackages

%description
Static type checking support for Trio and related projects

%prep
%setup -q -n trio-typing-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

#%%check
#%%python_exec setup.py test

%files %{python_files}
%doc README.rst
%license LICENSE LICENSE.APACHE2 LICENSE.MIT
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by