File python-eth-account.spec of Package python-eth-account

#
# spec file for package python-eth-account
#
# 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-account
Version:        0.13.4
Release:        0
Summary:        Sign Ethereum transactions and messages with local private keys
License:        MIT
URL:            https://github.com/ethereum/eth-account
Source:         https://files.pythonhosted.org/packages/source/e/eth_account/eth_account-%{version}.tar.gz
BuildRequires:  %{python_module poetry-core}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module bitarray >= 2.4.0}
BuildRequires:  %{python_module eth-abi >= 4.0.0}
BuildRequires:  %{python_module eth-keyfile >= 0.7.0}
BuildRequires:  %{python_module eth-keys >= 0.4.0}
BuildRequires:  %{python_module eth-rlp >= 2.1.0}
BuildRequires:  %{python_module eth-utils >= 2.0.0}
BuildRequires:  %{python_module hexbytes >= 1.2.0}
BuildRequires:  %{python_module rlp >= 1.0.0}
BuildRequires:  %{python_module ckzg >= 2.0.0}
BuildRequires:  %{python_module pydantic >= 2.0.0}
Requires:       python-bitarray >= 2.4.0
Requires:       python-eth-abi >= 4.0.0
Requires:       python-eth-keyfile >= 0.7.0
Requires:       python-eth-keys >= 0.4.0
Requires:       python-eth-rlp >= 2.1.0
Requires:       python-eth-utils >= 2.0.0
Requires:       python-hexbytes >= 1.2.0
Requires:       python-rlp >= 1.0.0
Requires:       python-ckzg >= 2.0.0
Requires:       python-pydantic >= 2.0.0
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Provides:       python-eth_account = %version
BuildArch:      noarch

%python_subpackages

%description
Sign Ethereum transactions and messages with local private keys

%prep
%autosetup -p1 -n eth_account-%{version}

%build
%python_build

%install
%python_install

%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/eth_account
%{python_sitelib}/eth_account-%{version}*-info

%changelog
openSUSE Build Service is sponsored by