File python-eth-typing.spec of Package python-eth-typing
#
# spec file for package python-eth-typing
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
# requires some unavailable modules
%bcond_with docs
Name: python-eth-typing
Version: 5.0.1
Release: 0
Summary: Common type annotations for ethereum python packages
License: MIT
URL: https://github.com/ethereum/eth-typing
Source: https://files.pythonhosted.org/packages/source/e/eth_typing/eth_typing-%{version}.tar.gz
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions >= 4.5.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-eth_typing = %version
Requires: python-typing_extensions >= 4.5.0
BuildArch: noarch
%python_subpackages
%description
Common type annotations for ethereum python packages
%prep
%autosetup -p1 -n eth_typing-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/eth_typing
%{python_sitelib}/eth_typing-%{version}*-info
%changelog