Name: python-docopt-ng Version: 0.9.0 Release: %autorelease Summary: Humane command line arguments parser License: MIT URL: https://github.com/jazzband/docopt-ng Source: %{pypi_source docopt_ng} BuildArch: noarch %global _description %{expand: docopt-ng helps you create beautiful command-line interfaces. The option parser is generated based on the docstring that is passed to docopt function. docopt parses the usage pattern ("Usage: ...") and option descriptions (lines starting with dash "-") and ensures that the program invocation matches the usage pattern; it parses options, arguments and commands based on that. The basic idea is that a good help message has all necessary information in it to make a parser.} %description %{_description} %package -n python3-docopt-ng Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytest %description -n python3-docopt-ng %{_description} %prep %autosetup -n docopt_ng-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files docopt %check %pytest %files -n python3-docopt-ng -f %{pyproject_files} %license LICENSE-MIT %doc README.md %changelog %autochangelog