## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # https://github.com/BrianPugh/cyclopts/blob/v4.5.1/pyproject.toml#L31 %global extras mkdocs,trio,toml,yaml Name: python-cyclopts Version: 4.5.3 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Intuitive, easy CLIs based on type hints. License: Apache-2.0 URL: https://github.com/BrianPugh/cyclopts Source: %{url}/archive/v%{version}/cyclopts-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Test dependencies BuildRequires: python3-pytest BuildRequires: python3-sphinx BuildRequires: python3-syrupy BuildRequires: python3-pydantic BuildRequires: python3-pytest-mock # Fill in the actual package description to submit package to Fedora %global _description %{expand: Cyclopts is a modern, easy-to-use command-line interface (CLI) framework that aims to provide an intuitive & efficient developer experience.} %description %_description %package -n python3-cyclopts Summary: %{summary} %description -n python3-cyclopts %_description %pyproject_extras_subpkg -n python3-cyclopts %{extras} %prep %autosetup -p1 -n cyclopts-%{version} %generate_buildrequires # Let hatch-vcs/setuptools_scm determine version outside of SCM export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires -x %{extras} %build # Let hatch-vcs/setuptools_scm determine version outside of SCM export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files -l cyclopts %check %pyproject_check_import %pytest --snapshot-update %files -n python3-cyclopts -f %{pyproject_files} %{_bindir}/cyclopts %changelog ## START: Generated by rpmautospec * Wed Feb 18 2026 Rodolfo Olivieri - 4.5.3-1 - Uncommitted changes * Mon Jan 26 2026 Rodolfo Olivieri - 4.5.1-1 - Initial commit for python-cyclopts ## END: Generated by rpmautospec