Upgrade package with version 0.1.8
This commit is contained in:
parent
990d8978dd
commit
c2b8c271d0
@ -1,17 +0,0 @@
|
|||||||
diff --git a/sphinxcontrib/autoprogram.py b/sphinxcontrib/autoprogram.py
|
|
||||||
index c60cf68..1f051bb 100644
|
|
||||||
--- a/sphinxcontrib/autoprogram.py
|
|
||||||
+++ b/sphinxcontrib/autoprogram.py
|
|
||||||
@@ -476,7 +476,11 @@ class ScannerTestCase(unittest.TestCase):
|
|
||||||
# section: default optionals
|
|
||||||
program, options, group = sections[1]
|
|
||||||
self.assertEqual([], program)
|
|
||||||
- self.assertEqual("optional arguments", group.title)
|
|
||||||
+ # See https://github.com/sphinx-contrib/autoprogram/issues/24
|
|
||||||
+ if sys.version_info >= (3, 10):
|
|
||||||
+ self.assertEqual('options', group.title)
|
|
||||||
+ else:
|
|
||||||
+ self.assertEqual('optional arguments', group.title)
|
|
||||||
self.assertEqual(None, group.description)
|
|
||||||
self.assertEqual(2, len(options))
|
|
||||||
self.assertEqual(
|
|
||||||
@ -1,12 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-sphinxcontrib-autoprogram
|
Name: python-sphinxcontrib-autoprogram
|
||||||
Version: 0.1.7
|
Version: 0.1.8
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Documenting CLI programs
|
Summary: Documenting CLI programs
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/sphinx-contrib/autoprogram
|
URL: https://github.com/sphinx-contrib/autoprogram
|
||||||
Source0: https://files.pythonhosted.org/packages/23/ca/ffb97adb8938774c0746490d0e6fb1391bf04dc9b32902eff84e2a263d44/sphinxcontrib-autoprogram-0.1.7.tar.gz
|
Source0: https://files.pythonhosted.org/packages/d6/15/77056d932006fde8ea56cd21c5d788bed2d9d2c664234a85f3821732039b/sphinxcontrib-autoprogram-0.1.8.tar.gz
|
||||||
Patch0: Fix-argparse-output-for-Python3.10-compatibility.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
Documenting CLI programs
|
Documenting CLI programs
|
||||||
@ -36,7 +35,7 @@ Provides: python3-sphinxcontrib-autoprogram-doc
|
|||||||
Documenting CLI programs
|
Documenting CLI programs
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n sphinxcontrib-autoprogram-0.1.7 -p1
|
%autosetup -n sphinxcontrib-autoprogram-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -81,6 +80,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 19 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.1.8-1
|
||||||
|
- update to 0.1.8
|
||||||
|
|
||||||
* Tue Jul 12 2022 huangtianhua <huangtianhua@huawei.com> - 0.1.7-2
|
* Tue Jul 12 2022 huangtianhua <huangtianhua@huawei.com> - 0.1.7-2
|
||||||
- Fix argparse output for Python 3.10 compatibility
|
- Fix argparse output for Python 3.10 compatibility
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
sphinxcontrib-autoprogram-0.1.8.tar.gz
Normal file
BIN
sphinxcontrib-autoprogram-0.1.8.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user