File python-docopt-ng.spec of Package python-docopt-ng

#
# spec file for package python-docopt-ng
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           python-docopt-ng
Version:        0.9.0
Release:        0
Summary:        Humane command line arguments parser
License:        MIT
URL:            https://github.com/jazzband/docopt-ng
Source:         https://files.pythonhosted.org/packages/source/d/docopt-ng/docopt_ng-%{version}.tar.gz
BuildRequires:  %{python_module base >= 3.7}
BuildRequires:  %{python_module pdm-backend}
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module pytest}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Conflicts:      python-docopt
BuildArch:      noarch
%python_subpackages

%description
**docopt-ng** helps you create beautiful command-line interfaces.

docopt-ng is a fork of the original docopt, now maintained by the jazzband
project. Now with maintenance, typehints, and complete test coverage!

%prep
%autosetup -p1 -n docopt_ng-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%pytest

%files %{python_files}
%doc README.md
%license LICENSE-MIT
%{python_sitelib}/docopt
%{python_sitelib}/docopt_ng-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by
OSZAR »