File python-eth-utils.spec of Package python-eth-utils
#
# spec file for package python-eth-utils
#
# 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-utils
Version: 5.1.0
Release: 0
Summary: Common utility functions for python code that interacts with Ethereum
License: MIT
URL: https://github.com/ethereum/eth-utils
Source: https://files.pythonhosted.org/packages/source/e/eth_utils/eth_utils-%{version}.tar.gz
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-eth_utils = %version
Requires: python-eth-hash >= 0.3.1
Requires: python-eth-typing >= 5.0.0
#Requires: python-cytoolz >= 0.10.1
BuildArch: noarch
%python_subpackages
%description
Common utility functions for python code that interacts with Ethereum
%prep
%autosetup -p1 -n eth_utils-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/eth_utils
%{python_sitelib}/eth_utils-%{version}*-info
%changelog