Name: python-pure-eval Version: 0.2.1 Release: 1%{?dist} Summary: Safely evaluate AST nodes without side effects License: MIT URL: http://github.com/alexmojaki/pure_eval Source0: %{pypi_source pure_eval} # Proposed upstream: https://github.com/alexmojaki/pure_eval/pull/10 Patch0: https://github.com/alexmojaki/pure_eval/pull/10.patch BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Python package that lets you safely evaluate certain AST nodes without triggering arbitrary code that may have unwanted side effects.} %description %_description %package -n python3-pure-eval Summary: %{summary} %description -n python3-pure-eval %_description %prep %autosetup -p1 -n pure_eval-%{version} %generate_buildrequires %pyproject_buildrequires -r -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pure_eval %check %tox %files -n python3-pure-eval -f %{pyproject_files} %doc README.md %changelog * Tue Jan 04 2022 Lumír Balhar - 0.2.1-1 - Package generated with pyp2spec