- Switch to pyroject macros.

- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-feature-classification?expand=0&rev=25
This commit is contained in:
2025-06-16 06:24:57 +00:00
committed by Git OBS Bridge
commit 2846f40667
6 changed files with 201 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,107 @@
-------------------------------------------------------------------
Mon Jun 16 06:17:44 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sun Sep 8 16:29:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* Update python classifier in setup.cfg
* Remove six usage
* Drop python3.6/3.7 support in testing runtime
* Update CI to use unversioned jobs template
* Use py3 as the default runtime for tox
* Move flake8 as a pre-commit local target
* Migrate from testr to stestr
* Use TOX\_CONSTRAINTS\_FILE
* Adding pre-commit
-------------------------------------------------------------------
Tue Jun 20 00:36:30 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing BuildRequires on six.
-------------------------------------------------------------------
Fri Feb 12 13:43:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
- replace oslotest with more correct fixtures dependency
-------------------------------------------------------------------
Fri Sep 18 12:04:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.1.0:
* Cleanup misplaced release note
* Reduce need for openstack specific requirements
* Switch to victoria test template
* Report sphinx extension is thread safe
* Switch to newer openstackdocstheme and reno versions
-------------------------------------------------------------------
Wed Jun 3 11:29:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.0.1:
* Update hacking for Python3
* Switch to sphinx-build and cleanup
-------------------------------------------------------------------
Fri Mar 6 15:05:08 UTC 2020 - pgajdos@suse.com
- version update to 1.0.0
* Drop py2 support and testing
* Add support for feature.api
* make sure destination dir exist before copying files into it
* Remove pypy from default env list
-------------------------------------------------------------------
Tue Sep 10 10:01:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.4.1:
* Minor fixes
-------------------------------------------------------------------
Fri May 24 20:07:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.4.0:
* OpenDev Migration Patch
* Fix the summary table border not rendering
* Copy the CSS into the built docs
* Fix deprecated add\_stylesheet with add\_css\_file
* Fix driver links rendering in the summary table
* releasenotes: Remove crud from 'conf.py'
* releasenotes: Switch to openstackdocstheme
-------------------------------------------------------------------
Fri Apr 26 13:34:05 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 0.3.2
0.3.2
* Change openstack-dev to openstack-discuss
* Optimizing the safety of the http link site in HACKING.rst
0.3.1
* Handle ConfigParser.readfp deprecation
* add python 3.6 unit test job
0.3.0
* Parse 'driver-notes-XXX' values
* doc: Rework everything
0.2.0
* Update for Python 3 compatibility
* Driver usage example is not correct
* set default python to python3
* Add badges, description and fix links in README
-------------------------------------------------------------------
Tue Dec 18 23:27:57 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in descriptions.
-------------------------------------------------------------------
Tue Dec 4 12:54:49 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu Mar 29 12:16:00 UTC 2018 - tbechtold@suse.com
- Initial packaging (version 0.1.0)

View File

@@ -0,0 +1,64 @@
#
# spec file for package python-sphinx-feature-classification
#
# Copyright (c) 2025 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/
#
%{?sle15_python_module_pythons}
Name: python-sphinx-feature-classification
Version: 2.0.0
Release: 0
Summary: Sphinx extension to generate a matrix of pluggable drivers
License: Apache-2.0
URL: https://www.openstack.org/
Source: https://files.pythonhosted.org/packages/source/s/sphinx-feature-classification/sphinx-feature-classification-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module ddt >= 1.0.1}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module pbr >= 2.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-docutils >= 0.11
Requires: python-pbr >= 2.0
BuildArch: noarch
%python_subpackages
%description
An extension to Sphinx to generate a matrix of pluggable drivers and
their support to an API.
%prep
%setup -q -n sphinx-feature-classification-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest sphinx_feature_classification/tests
%files %{python_files}
%license LICENSE
%doc AUTHORS ChangeLog README.rst
%{python_sitelib}/sphinx_feature_classification
%{python_sitelib}/sphinx_feature_classification-%{version}.dist-info
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b70bd2bcaa87fcb4edd5f9e4d712b661baeb2bf0735deb0d776e6315b69e7d4
size 20000

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea324fe2a41ab3fab9c8edfa809139c05332810969bce7da48e109b310a51809
size 22273