Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1f591d4104 | |||
| 64fa7854c9 | |||
| cbf27613c7 | |||
| 712509973a | |||
| dcd4a6d935 | |||
| 94e2b65608 |
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 29 10:28:23 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.7:
|
||||
* sys.stdout used instead of /dev/stdout
|
||||
* fixed build compatibility with newer setuptools
|
||||
* fixed deprecation warnings for datetime and setuptools
|
||||
* new compat method for handling SOURCE_DATE_EPOCH
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 11:28:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Make the libalternatives transition conditional
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 13:49:16 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 03:51:22 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-argparse-manpage
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,18 @@
|
||||
|
||||
|
||||
%define mod_name argparse-manpage
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
Name: python-argparse-manpage
|
||||
Version: 4.6
|
||||
Version: 4.7
|
||||
Release: 0
|
||||
Summary: Tool for automatic manual page building from a Python ArgumentParser object
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/praiskup/argparse-manpage
|
||||
Source: https://github.com/praiskup/argparse-manpage/archive/v%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools-wheel}
|
||||
@@ -32,11 +36,17 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%if 0%{python_version_nodots} < 311
|
||||
Requires: python-tomli
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -62,11 +72,14 @@ support for (deprecated) optparse objects, too.
|
||||
|
||||
%check
|
||||
export PIP_NO_INDEX=1
|
||||
export PIP_FIND_LINKS=$(ls -1 /usr/lib/python3.*/wheels | head -n 1)
|
||||
export PIP_FIND_LINKS=$(ls -1 %{_prefix}/lib/python3.*/wheels | head -n 1)
|
||||
%pytest -k 'not test_old_example_file_name'
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative argparse-manpage
|
||||
|
||||
%post
|
||||
%{python_install_alternative argparse-manpage argparse-manpage.1}
|
||||
%python_install_alternative argparse-manpage argparse-manpage.1
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative argparse-manpage
|
||||
|
||||
BIN
v4.6.tar.gz
LFS
BIN
v4.6.tar.gz
LFS
Binary file not shown.
3
v4.7.tar.gz
Normal file
3
v4.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b36103537d0f5b018f25b13b9cec94fdba0a99697e20d158cfe66931b7f45d57
|
||||
size 55685
|
||||
Reference in New Issue
Block a user