Name: python-eth_event Version: 1.2.5 Release: %autorelease BuildArch: noarch Summary: Tools for Ethereum event decoding and topic generation. License: MIT URL: https://github.com/iamdefinitelyahuman/eth-event Source0: %{pypi_source eth-event} # FIXME should go into PyPi package Source1: python-eth_event-trace.json Patch1: python-eth_event-0001-Fix-failing-tests.patch BuildRequires: python-eth_abi BuildRequires: python-eth_hash BuildRequires: python-eth_utils BuildRequires: python-hexbytes BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: python3-rpm-generators BuildRequires: python3-rpm-macros BuildRequires: python3-setuptools BuildRequires: sed %{?python_provide:%python_provide python3-eth_event} %description Tools for Ethereum event decoding and topic generation. %prep %autosetup -p1 -n eth-event-%{version} sed -i -e "s,eth-hash\[pycryptodome\],eth-hash,g" setup.py # FIXME should go into PyPi package install -D -p -m 0644 %{SOURCE1} tests/trace.json %build %py3_build %install %py3_install %check %pytest %files %license LICENSE %doc README.md %{python3_sitelib}/eth_event/ %{python3_sitelib}/eth_event-*.egg-info/ %changelog %autochangelog