%global pypi_name solcast Name: python-solc-ast Version: 1.2.10 Release: %autorelease BuildArch: noarch Summary: A tool for exploring the solc abstract syntax tree License: MIT URL: https://github.com/iamdefinitelyahuman/py-solc-ast VCS: git:%{url}.git Source0: %{pypi_source py-solc-ast} BuildRequires: python3-devel %description %{summary}. %package -n python3-solc-ast Summary: %{summary}. %description -n python3-solc-ast %{summary}. %prep %autosetup -p1 -n py-solc-ast-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pyproject_check_import # FIXME Unfortunately tests requires 30+ mbytes data file #%%pytest %files -n python3-solc-ast -f %{pyproject_files} %doc README.md %changelog %autochangelog