Compare commits

...
Sign in to create a new pull request.

15 commits

Author SHA1 Message Date
Fedora Release Engineering
967cf32217 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:53:44 +00:00
Miro Hrončok
0a3dbadbde Fix build with pip 25.3+
- Fixes: rhbz#2417959

From https://pip.pypa.io/en/stable/news/#v25-3

> Remove support for the deprecated setup.py bdist_wheel mechanism.
> Consequently, --use-pep517 is now always on, and --no-use-pep517 has been removed.

And from https://github.com/pypa/pip/issues/6334

> By opting into pip's PEP 517 mode, you are also opting into build isolation.

With build isolation enabled,
pip creates temporary Python virtual environment
and fetches packages from pypi.org to them,
when building wheels.
This does not work in offline environments.

Yes, PIP_NO_BUILD_ISOLATION=0 means *disable* build isolation,
despite the double negative.
See https://github.com/pypa/pip/issues/5735
2025-12-01 19:29:40 +01:00
Python Maint
b7465240f7 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:07:32 +02:00
Python Maint
0a30dc8704 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:38:35 +02:00
Pavel Raiskup
38354df52d Don't build for epel7 2025-08-15 12:38:02 +02:00
Pavel Raiskup
6e66400253 New upstream release
Version: 4.7-1
2025-08-15 12:36:11 +02:00
Fedora Release Engineering
4b1a814c69 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:12:44 +00:00
Python Maint
56c9391aea Rebuilt for Python 3.14 2025-06-02 22:43:39 +02:00
Lumir Balhar
e93bebd56b Fix compatibility with newer setuptools
New setuptools expects options to use lower_snake_case.
2025-04-03 16:08:39 +02:00
Fedora Release Engineering
8ef80e196c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:29:57 +00:00
Fedora Release Engineering
2d2ca82354 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:23:30 +00:00
Python Maint
7640a4a6f5 Rebuilt for Python 3.13 2024-06-07 10:48:16 +02:00
Pavel Raiskup
8aea8a9ad5 New upstream release
Relates: rhbz#2279987
Version: 4.6-1
2024-06-05 13:48:23 +02:00
Fedora Release Engineering
eafd1ddd40 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:24:52 +00:00
Fedora Release Engineering
3f0feb38d7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:30:27 +00:00
4 changed files with 57 additions and 8 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/argparse-manpage-*.tar.gz
/argparse_manpage-*.tar.gz

View file

@ -1,3 +1,5 @@
%global pip_module_name argparse_manpage
%if 0%{?fedora} || 0%{?rhel} >= 9
%bcond_without pyproject
%bcond_with python2
@ -27,14 +29,14 @@ There is a limited support for (deprecated) optparse objects, too.
Name: argparse-manpage
Version: 4.5
Release: 1%{?dist}
Version: 4.7
Release: 5%{?dist}
Summary: %{sum Python}
BuildArch: noarch
License: Apache-2.0
URL: https://github.com/praiskup/%{name}
Source0: %pypi_source
Source0: %pypi_source %pip_module_name
%if %{with python2}
BuildRequires: python2-setuptools python2-devel
@ -102,7 +104,7 @@ Requires: python3-setuptools
%prep
%setup -q
%setup -q -n %{pip_module_name}-%{version}
%if %{with pyproject}
%generate_buildrequires
@ -137,6 +139,10 @@ Requires: python3-setuptools
%if %{with check}
%check
# Disable pip build isolation to make the tests work in offline environment
# Fixes https://bugzilla.redhat.com/2417959
export PIP_NO_BUILD_ISOLATION=0
%if %{with python2}
PYTHONPATH=%buildroot%python2_sitearch %__python2 -m pytest -vv
%endif
@ -144,7 +150,7 @@ PYTHONPATH=%buildroot%python2_sitearch %__python2 -m pytest -vv
PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv
%endif
%if %{with pyproject}
%pytest
%pytest -vv
%endif
%endif
@ -185,6 +191,49 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Mon Dec 01 2025 Miro Hrončok <mhroncok@redhat.com> - 4.7-4
- Fix build with pip 25.3+
- Fixes: rhbz#2417959
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 4.7-3
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 4.7-2
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Aug 15 2025 Pavel Raiskup <praiskup@redhat.com> - 4.7-1
- new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.7
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 4.6-6
- Rebuilt for Python 3.14
* Thu Apr 03 2025 Lumír Balhar <lbalhar@redhat.com> - 4.6-5
- Fix build with newer setuptools
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 4.6-2
- Rebuilt for Python 3.13
* Wed Jun 05 2024 Pavel Raiskup <praiskup@redhat.com> - 4.6-1
- new upstream release (rhbz#2279987)
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Sep 22 2023 Pavel Raiskup <praiskup@redhat.com> - 4.5-1
- new upstream release https://github.com/praiskup/argparse-manpage/releases/tag/v4.4

View file

@ -4,7 +4,7 @@
# script.
main=main
branches="$main epel7 epel8 epel9 f37 f38 f39"
branches="$main epel8 epel9 epel10 epel10.0 f41 f42 f43"
exit_handler ()
{

View file

@ -1 +1 @@
SHA512 (argparse-manpage-4.5.tar.gz) = 24d2e574b74d33b6b39826cdca2083789fa5e10b4c844a4aa3cd2559db39417f0b55a52ec807dc82103a682f13c9cf83170286d305118edc0e2529100a8f2be1
SHA512 (argparse_manpage-4.7.tar.gz) = 88c2e0e0747f5950b131d5456b1bc153e64d11ca41d87e3c995d91f7ffb662685a5c58f7ea99f011151aa72e45a5bcab98ac6729e20a19d086a7798d9c783452