15
0
forked from pool/python-cliff
Files
python-cliff/python-cliff.spec
Dirk Mueller b22d1fce6b - update to 4.4.0:
* Handle complex objects in yaml formatter better
  * Fix pre-commit issues
  * Autofit table output if stdout is a tty
  * Fix flake8 violation E721
  * Use upper-constraint in doc generation
  * Removing helper functions providing Python < 3.3
    compatibility
  * Strip trailing periods when getting description
  * Clarification of the algorithm used
  * columns: Useful \_\_str\_\_, \_\_repr\_\_ implementation
  * Add Python3 antelope unit tests
  * Removing brackets around tested conditional
  * Replace abc.abstractproperty with property and
    abc.abstractmethod
  * Remove final use of pkg\_resources
  * Defer loading PyYAML
  * Defer loading cmd2
  * requirements: Remove explicit python-subunit dependency
  * requirements: Remove explicit pbr dependency
  * requirements: Remove explicit pyparsing dependency
  * Update Python testing per Zed cycle testing runtime
  * Migrate Python 3.6/7 jobs to Python 3.8
  * Removing modindex link from docs
  * Add Python3 yoga unit tests
  * Automatically page interactive root help output
  * Colourise and automatically page help output
  * Update unit test to satisfy python3.10+
  * Handle SIGPIPE exit gracefully
  * Add conflict\_handler parameter as attribut in Command class

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cliff?expand=0&rev=4
2024-01-04 23:10:14 +00:00

80 lines
2.6 KiB
RPMSpec

#
# spec file for package python-cliff
#
# 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-cliff
Version: 4.4.0
Release: 0
Summary: Command Line Interface Formulation Framework
License: Apache-2.0
URL: https://docs.openstack.org/cliff/latest/
Source: https://files.pythonhosted.org/packages/source/c/cliff/cliff-%{version}.tar.gz
BuildRequires: %{python_module pbr >= 2.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module autopage >= 0.4.0}
BuildRequires: %{python_module PrettyTable >= 0.7.2}
BuildRequires: %{python_module PyYAML >= 3.12}
BuildRequires: %{python_module Sphinx >= 2.0.0}
BuildRequires: %{python_module cmd2 >= 1.0.0}
BuildRequires: %{python_module coverage >= 4.0}
BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module importlib_metadata >= 4.4}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module stevedore >= 2.0.1}
BuildRequires: %{python_module testscenarios >= 0.4}
BuildRequires: %{python_module testtools >= 2.2.0}
# /SECTION
BuildRequires: fdupes
Requires: python-PrettyTable >= 0.7.2
Requires: python-PyYAML >= 3.12
Requires: python-autopage >= 0.4.0
Requires: python-cmd2 >= 1.0.0
Requires: python-importlib_metadata >= 4.4
Requires: python-stevedore >= 2.0.1
BuildArch: noarch
%python_subpackages
%description
Command Line Interface Formulation Framework
%prep
%autosetup -p1 -n cliff-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# doesn't work with pytest atm
rm -v cliff/tests/test_commandmanager.py
%pytest cliff/tests
%files %{python_files}
%doc AUTHORS ChangeLog README.rst
%license LICENSE
%{python_sitelib}/cliff
%{python_sitelib}/cliff-%{version}.dist-info
%changelog