14
0

- Update to 0.3.2:

* Modernize project: Py3.6+, black, flynt, flake8, Github Actions
  * Fix tests for python-3.10 and add 3.10 to CI matrix
- Remove patch python-sphinx-argparse-python310.patch, included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-argparse?expand=0&rev=7
This commit is contained in:
2022-10-18 07:47:48 +00:00
committed by Git OBS Bridge
parent 2362b92245
commit 4947ff4d4f
5 changed files with 14 additions and 23 deletions

View File

@@ -16,18 +16,14 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-sphinx-argparse
Version: 0.3.1
Version: 0.3.2
Release: 0
Summary: Sphinx extension to document argparse commands and options
License: MIT
Group: Development/Languages/Python
URL: https://github.com/ashb/sphinx-argparse
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-argparse/sphinx-argparse-%{version}.tar.gz
# https://github.com/ashb/sphinx-argparse/commit/fdb7e448b2776986415cb724d9bb3eed424e23b2
Patch0: python-sphinx-argparse-python310.patch
BuildRequires: %{python_module CommonMark}
BuildRequires: %{python_module Sphinx >= 1.2.0}
BuildRequires: %{python_module pytest}
@@ -48,6 +44,8 @@ Sphinx extension that automatically documents argparse commands and options.
%install
%python_install
# Remove test files, they are in a seperate 'test' module.
%python_expand rm -r %{buildroot}%{$python_sitelib}/test
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check