Name: python-questionary Version: 2.1.0 Release: %autorelease Summary: Python library to build pretty command line user prompts License: MIT URL: https://github.com/tmbo/questionary VCS: git:%{url}.git Source: %{url}/archive/%{version}/questionary-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Tests BuildRequires: python3dist(pytest) %global _description %{expand: Questionary is a Python library for effortlessly building pretty command line interfaces.} %description %_description %package -n python3-questionary Summary: %{summary} %description -n python3-questionary %_description %prep %autosetup -p1 -n questionary-%{version} export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %generate_buildrequires %pyproject_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files -L questionary %check %pyproject_check_import %pytest %files -n python3-questionary -f %{pyproject_files} %license LICENSE %changelog %autochangelog