2015-08-27 06:54:31 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-debtcollector
|
|
|
|
|
#
|
2024-05-10 08:39:38 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-08-27 06:54:31 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-03-06 22:13:46 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-27 06:54:31 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-debtcollector
|
2024-05-10 08:39:38 +00:00
|
|
|
Version: 3.0.0
|
2015-08-27 06:54:31 +00:00
|
|
|
Release: 0
|
2017-02-21 12:39:32 +00:00
|
|
|
Summary: A collection of Python deprecation patterns and strategies
|
2015-08-27 06:54:31 +00:00
|
|
|
License: Apache-2.0
|
|
|
|
|
Group: Development/Languages/Python
|
2021-11-29 11:08:41 +00:00
|
|
|
URL: https://docs.openstack.org/debtcollector/latest/
|
2024-05-10 08:39:38 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/d/debtcollector/debtcollector-3.0.0.tar.gz
|
2017-02-21 12:39:32 +00:00
|
|
|
BuildRequires: openstack-macros
|
2018-09-03 18:01:15 +00:00
|
|
|
BuildRequires: python3-fixtures
|
2022-06-07 09:25:19 +00:00
|
|
|
BuildRequires: python3-pbr
|
2018-09-03 18:01:15 +00:00
|
|
|
BuildRequires: python3-python-subunit
|
2019-03-06 22:13:46 +00:00
|
|
|
BuildRequires: python3-stestr
|
2017-11-24 23:05:15 +00:00
|
|
|
BuildRequires: python3-wrapt >= 1.7.0
|
2015-08-27 06:54:31 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
2017-02-21 12:39:32 +00:00
|
|
|
A collection of Python deprecation patterns and strategies that help
|
|
|
|
|
you collect your technical debt in a non-destructive manner. The goal
|
|
|
|
|
of this library is to provide well documented developer facing
|
|
|
|
|
deprecation patterns that start of with a basic set and can expand
|
|
|
|
|
into a larger set of patterns as time goes on. The desired output of
|
|
|
|
|
these patterns is to apply the warnings module to emit
|
|
|
|
|
DeprecationWarning or PendingDeprecationWarning or similar derivative
|
|
|
|
|
to developers using libraries (or potentially applications) about
|
|
|
|
|
future deprecations.
|
|
|
|
|
|
2020-03-14 11:44:07 +00:00
|
|
|
%package -n python3-debtcollector
|
|
|
|
|
Summary: A collection of Python deprecation patterns and strategies
|
2021-11-29 11:08:41 +00:00
|
|
|
Requires: python3-importlib-metadata
|
2022-06-07 09:25:19 +00:00
|
|
|
Requires: python3-pbr
|
2021-11-29 11:08:41 +00:00
|
|
|
Requires: python3-six
|
2020-03-14 11:44:07 +00:00
|
|
|
Requires: python3-wrapt >= 1.7.0
|
|
|
|
|
|
|
|
|
|
%description -n python3-debtcollector
|
|
|
|
|
A collection of Python deprecation patterns and strategies that help
|
|
|
|
|
you collect your technical debt in a non-destructive manner. The goal
|
|
|
|
|
of this library is to provide well documented developer facing
|
|
|
|
|
deprecation patterns that start of with a basic set and can expand
|
|
|
|
|
into a larger set of patterns as time goes on. The desired output of
|
|
|
|
|
these patterns is to apply the warnings module to emit
|
|
|
|
|
DeprecationWarning or PendingDeprecationWarning or similar derivative
|
|
|
|
|
to developers using libraries (or potentially applications) about
|
|
|
|
|
future deprecations.
|
|
|
|
|
|
|
|
|
|
This package contains the Python 3.x module.
|
|
|
|
|
|
2017-11-24 23:05:15 +00:00
|
|
|
%package -n python-debtcollector-doc
|
2017-02-21 12:39:32 +00:00
|
|
|
Summary: Documentation for %{name}
|
2018-01-18 08:52:30 +00:00
|
|
|
Group: Documentation/HTML
|
2019-10-17 08:28:39 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
2018-09-03 18:01:15 +00:00
|
|
|
BuildRequires: python3-openstackdocstheme
|
2017-02-21 12:39:32 +00:00
|
|
|
|
2017-11-24 23:05:15 +00:00
|
|
|
%description -n python-debtcollector-doc
|
2017-02-21 12:39:32 +00:00
|
|
|
A collection of Python deprecation patterns and strategies that help
|
|
|
|
|
you collect your technical debt in a non-destructive manner. The goal
|
|
|
|
|
of this library is to provide well documented developer facing
|
|
|
|
|
deprecation patterns that start of with a basic set and can expand
|
|
|
|
|
into a larger set of patterns as time goes on. The desired output of
|
|
|
|
|
these patterns is to apply the warnings module to emit
|
|
|
|
|
DeprecationWarning or PendingDeprecationWarning or similar derivative
|
|
|
|
|
to developers using libraries (or potentially applications) about
|
|
|
|
|
future deprecations.
|
|
|
|
|
|
|
|
|
|
This package contains documentation in HTML format.
|
2015-08-27 06:54:31 +00:00
|
|
|
|
|
|
|
|
%prep
|
2024-05-10 08:39:38 +00:00
|
|
|
%autosetup -p1 -n debtcollector-3.0.0
|
2017-02-21 12:39:32 +00:00
|
|
|
%py_req_cleanup
|
2015-08-27 06:54:31 +00:00
|
|
|
|
|
|
|
|
%build
|
2020-03-14 11:44:07 +00:00
|
|
|
%py3_build
|
2017-02-21 12:39:32 +00:00
|
|
|
|
2017-11-24 23:05:15 +00:00
|
|
|
# generate html doc
|
2024-05-10 08:39:38 +00:00
|
|
|
PBR_VERSION=3.0.0 %sphinx_build -b html doc/source doc/build/html
|
2017-02-21 12:39:32 +00:00
|
|
|
# remove the Sphinx-build leftovers
|
2020-05-12 10:03:11 +00:00
|
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
2017-02-21 12:39:32 +00:00
|
|
|
|
|
|
|
|
%check
|
2024-05-10 08:39:38 +00:00
|
|
|
%{openstack_stestr_run}
|
2015-08-27 06:54:31 +00:00
|
|
|
|
|
|
|
|
%install
|
2020-03-14 11:44:07 +00:00
|
|
|
%py3_install
|
2015-08-27 06:54:31 +00:00
|
|
|
|
2020-03-14 11:44:07 +00:00
|
|
|
%files -n python3-debtcollector
|
2017-02-21 12:39:32 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
2020-03-14 11:44:07 +00:00
|
|
|
%{python3_sitelib}/debtcollector
|
|
|
|
|
%{python3_sitelib}/debtcollector-*.egg-info
|
2017-02-21 12:39:32 +00:00
|
|
|
|
2017-11-24 23:05:15 +00:00
|
|
|
%files -n python-debtcollector-doc
|
2017-02-21 12:39:32 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
%doc doc/build/html
|
2015-08-27 06:54:31 +00:00
|
|
|
|
|
|
|
|
%changelog
|