17
0

6 Commits

Author SHA256 Message Date
1f591d4104 Accepting request 1307723 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1307723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argparse-manpage?expand=0&rev=20
2025-09-30 15:34:28 +00:00
64fa7854c9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=43
2025-09-29 10:28:34 +00:00
cbf27613c7 Accepting request 1298793 from devel:languages:python
- Make the libalternatives transition conditional

OBS-URL: https://build.opensuse.org/request/show/1298793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argparse-manpage?expand=0&rev=19
2025-08-12 15:03:23 +00:00
712509973a - Make the libalternatives transition conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=41
2025-08-11 11:28:55 +00:00
dcd4a6d935 Accepting request 1286127 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argparse-manpage?expand=0&rev=18
2025-06-18 13:53:46 +00:00
94e2b65608 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=39
2025-06-16 13:49:44 +00:00
4 changed files with 42 additions and 10 deletions

View File

@@ -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>

View File

@@ -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

Binary file not shown.

3
v4.7.tar.gz Normal file
View File

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