Compare commits

..

57 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
Pavel Raiskup
802e219430 New upstream release
Version: 4.5-1
2023-09-22 22:27:10 +02:00
Pavel Raiskup
c8dcc8512d New upstream source
Version: 4.4-1
2023-09-04 11:06:07 +02:00
Pavel Raiskup
1d207c86ba EL7 package needs to depend on python2-toml 2023-08-02 09:03:22 +02:00
Fedora Release Engineering
17039cbb3f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:42:35 +00:00
Python Maint
7bba188957 Rebuilt for Python 3.12 2023-06-13 22:28:04 +02:00
Pavel Raiskup
fda60da6c0 releng: f36 is EOL 2023-05-18 10:19:23 +02:00
Pavel Raiskup
9eff5dd3a5 New upstream release
Switching to tomli from (dead) toml for older Python versions

Version: 4.3-1
2023-05-18 10:17:38 +02:00
Pavel Raiskup
63aa4c9d2e Missing build requires (sync with upstream spec file) 2023-05-14 14:36:33 +02:00
Pavel Raiskup
0cf5da5469 New upstream release
* Support for pyproject.toml specification of manpages added.
* Support for pre-written man pages (the --manfile option).
* Incorrect dict access for --include support fixed.
* Provide useful AUTHORS section with e-mail from
  Distribution.get_author_email() even if Distribution.get_author() returns
  None.

Version: 4.2-1
2023-05-14 13:03:28 +02:00
Pavel Raiskup
65cf46b06c New upstream release
Version: 4.1-1
2023-04-15 21:18:56 +02:00
Fedora Release Engineering
e17785b12b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:05:28 +00:00
Pavel Raiskup
c944c1536c F34 is EOL 2022-10-31 09:49:29 +01:00
Pavel Raiskup
0c8678315c New upstream release
Version: 4.1
2022-10-31 09:44:49 +01:00
Charalampos Stratakis
e5a5220978 Fix tests compatibility with pip >= 21.3 2022-07-22 18:38:40 +02:00
Fedora Release Engineering
d44fbcb66f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 21:10:40 +00:00
Python Maint
efc5ee484f Rebuilt for Python 3.11 2022-06-13 17:08:08 +02:00
Pavel Raiskup
fb20aeb017 Fix the build-and-update-all-branches script 2022-04-27 09:31:01 +02:00
Pavel Raiskup
a54656369f New upstream release v3 2022-04-27 09:29:08 +02:00
Pavel Raiskup
d3b5e09e76 Update the release tarball
With 1c9418e808
2022-03-07 16:34:45 +01:00
Pavel Raiskup
658084afc0 Fix the build for setuptools v60 2022-03-03 15:59:07 +01:00
Fedora Release Engineering
b0ddacfa88 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:34:55 +00:00
Pavel Raiskup
db73dc1210 New upstream release v2.1 2022-01-12 02:52:28 +01:00
Pavel Raiskup
b9fc08e607 build-and-update-all-branches: s/master/main/ take #2 2021-11-28 23:42:50 +01:00
Pavel Raiskup
b4fbd963a5 build-and-update-all-branches: s/master/rawhide/ 2021-11-28 23:40:07 +01:00
Pavel Raiskup
e2abe76bd7 build-and-update-all-branches: just build, don't update 2021-11-28 23:26:07 +01:00
Pavel Raiskup
3a68d305f5 New upstream release
Resolves: rhbz#2025563
Version: 2-1
2021-11-28 23:24:49 +01:00
Fedora Release Engineering
f59cd0e4f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:52:45 +00:00
Fedora Release Engineering
a25ddb973b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:56:34 +00:00
Python Maint
9f69d1edb2 Rebuilt for Python 3.10 2021-06-04 19:59:31 +02:00
Fedora Release Engineering
d0ee3df8e5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 00:24:22 +00:00
Pavel Raiskup
2b82a7d20b also update sources for the new release 2020-12-14 08:11:32 +01:00
Pavel Raiskup
cde928ea81 New upstream release
Version: 1.5-1
2020-12-14 08:08:14 +01:00
Fedora Release Engineering
419615f221 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 12:21:45 +00:00
Miro Hrončok
1203f51dad Rebuilt for Python 3.9 2020-05-26 02:40:45 +02:00
Fedora Release Engineering
03e751a6d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 11:58:57 +00:00
Pavel Raiskup
c5ff1f83dc New release to fix test-suite against Python 3.9
Resolves: rhbz#1791757
Version: 1.4-1
2020-01-24 19:22:17 +01:00
Pavel Raiskup
ffd4aaab53 don't update f29 2020-01-07 08:11:54 +01:00
Pavel Raiskup
54e8e5de63 new release
Version: 1.3-1
2020-01-07 08:04:12 +01:00
Pavel Raiskup
70c983ace5 update epel8 as well 2020-01-07 07:59:11 +01:00
Pavel Raiskup
a422eb3597 drop package.cfg 2019-11-14 09:14:00 +01:00
Pavel Raiskup
f8fb96bb8e Merge remote-tracking branch 'origin/epel8' 2019-11-14 09:13:33 +01:00
Gwyn Ciesla
f437257977 "Adding package.cfg file" 2019-11-07 10:20:13 -06:00
4 changed files with 208 additions and 36 deletions

2
.gitignore vendored
View file

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

View file

@ -1,11 +1,11 @@
%if 0%{?fedora}
%bcond_without python3
%if 0%{?fedora} > 29
%bcond_with python2
%else
%bcond_without python2
%endif
%global pip_module_name argparse_manpage
%if 0%{?fedora} || 0%{?rhel} >= 9
%bcond_without pyproject
%bcond_with python2
%bcond_with python3
%else
%bcond_with pyproject
%if 0%{?rhel} > 7
%bcond_with python2
%bcond_without python3
@ -29,32 +29,47 @@ There is a limited support for (deprecated) optparse objects, too.
Name: argparse-manpage
Version: 1.2.2
Release: 1%{?dist}
Version: 4.7
Release: 5%{?dist}
Summary: %{sum Python}
BuildArch: noarch
License: ASL 2.0
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
BuildRequires: python2-packaging
BuildRequires: python2-toml
%if %{with check}
%if 0%{?rhel} && 0%{?rhel} == 7
BuildRequires: pytest python-six
BuildRequires: pytest
%else
BuildRequires: python2-pytest python2-six
BuildRequires: python2-pytest
%endif
%endif
%endif
%if %{with python3}
BuildRequires: python3-setuptools python3-devel
BuildRequires: python3-packaging
BuildRequires: python3-tomli
%if %{with check}
BuildRequires: python3-pytest python3-six
BuildRequires: python3-pytest
%endif
%endif
%if %{with python3}
%if %{with pyproject}
BuildRequires: python3-devel
# EL9 needs this explicitly
BuildRequires: pyproject-rpm-macros
%if %{with check}
BuildRequires: python3-pytest
%endif
%endif
%if %{with python3} || %{with pyproject}
Requires: python3-%name = %version-%release
%else
Requires: python2-%name = %version-%release
@ -66,6 +81,8 @@ Requires: python2-%name = %version-%release
%package -n python2-%name
Summary: %{sum Python 2}
Requires: python2-setuptools
Requires: python2-toml
%description -n python2-%name
%{desc}
@ -73,13 +90,26 @@ Summary: %{sum Python 2}
%package -n python3-%name
Summary: %{sum Python 3}
%if %{without pyproject}
Requires: python3-setuptools
%endif
%description -n python3-%name
%{desc}
%if %{with pyproject}
%pyproject_extras_subpkg -n python3-%{name} setuptools
%endif
%prep
%setup -q
%setup -q -n %{pip_module_name}-%{version}
%if %{with pyproject}
%generate_buildrequires
%pyproject_buildrequires
%endif
%build
@ -89,6 +119,9 @@ Summary: %{sum Python 3}
%if %{with python3}
%py3_build
%endif
%if %{with pyproject}
%pyproject_wheel
%endif
%install
@ -98,16 +131,26 @@ Summary: %{sum Python 3}
%if %{with python3}
%py3_install
%endif
%if %{with pyproject}
%pyproject_install
%endif
%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
PYTHONPATH=%buildroot%python2_sitearch %__python2 -m pytest -vv
%endif
%if %{with python3}
PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest
PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv
%endif
%if %{with pyproject}
%pytest -vv
%endif
%endif
@ -116,10 +159,10 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest
%license LICENSE
%{_bindir}/argparse-manpage
%_mandir/man1/argparse-manpage.1.*
%if %{with python3}
%python3_sitelib/build_manpages/cli
%if %{with python3} || %{with pyproject}
%python3_sitelib/argparse_manpage/cli.py
%else
%python2_sitelib/build_manpages/cli
%python2_sitelib/argparse_manpage/cli.py
%endif
@ -127,21 +170,155 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest
%files -n python2-%name
%license LICENSE
%python2_sitelib/build_manpages
%python2_sitelib/argparse_manpage
%python2_sitelib/argparse_manpage-%{version}*.egg-info
%exclude %python2_sitelib/build_manpages/cli
%exclude %python2_sitelib/argparse_manpages/cli.py
%endif
%if %{with python3}
%if %{with python3} || %{with pyproject}
%files -n python3-%name
%license LICENSE
%python3_sitelib/build_manpages
%python3_sitelib/argparse_manpage
%if %{with pyproject}
%python3_sitelib/argparse_manpage-*dist-info
%else
%python3_sitelib/argparse_manpage-%{version}*.egg-info
%exclude %python3_sitelib/build_manpages/cli
%endif
%exclude %python3_sitelib/argparse_manpage/cli.py
%endif
%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
* Mon Sep 04 2023 Pavel Raiskup <praiskup@redhat.com> - 4.4-1
- new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.4
- license tag in SPDX format
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.3-2
- Rebuilt for Python 3.12
* Thu May 18 2023 Pavel Raiskup <praiskup@redhat.com> - 4.3-1
- new upstream release, tomli dep instead of toml
https://github.com/praiskup/argparse-manpage/releases/tag/v4.3
* Sun May 14 2023 Pavel Raiskup <praiskup@redhat.com> - 4.2-1
- new upstream release, upport for pyproject.toml specs, and --manfile option
* Sat Apr 15 2023 Pavel Raiskup <praiskup@redhat.com> - 4.1-1
- new `--include` feature, inspired by `help2man --include`
- allow overriding build date with SOURCE_DATE_EPOCH environment variable
- the AUTHORS section was changed to more standard AUTHOR
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Oct 31 2022 Pavel Raiskup <praiskup@redhat.com> - 4-1
- new upstream release:
https://github.com/praiskup/argparse-manpage/releases/tag/v4
* Fri Jul 22 2022 Charalampos Stratakis <cstratak@redhat.com> - 3-4
- Fix tests compatibility with pip >= 21.3
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3-2
- Rebuilt for Python 3.11
* Wed Apr 27 2022 Pavel Raiskup <praiskup@redhat.com> - 3-1
- new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v3
* Thu Mar 03 2022 Pavel Raiskup <praiskup@redhat.com> - 2.2-1
- new release - fix build for the setuptools v60+
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 12 2022 Pavel Raiskup <praiskup@redhat.com> - 2.1-1
- new upstream release:
https://github.com/praiskup/argparse-manpage/releases/tag/v2.1
* Sun Nov 28 2021 Pavel Raiskup <praiskup@redhat.com> - 2-1
- new upstream release:
https://github.com/praiskup/argparse-manpage/releases/tag/v2
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5-3
- Rebuilt for Python 3.10
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 14 2020 Pavel Raiskup <praiskup@redhat.com> - 1.5-1
- new release
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4-3
- Rebuilt for Python 3.9
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 24 2020 Pavel Raiskup <praiskup@redhat.com> - 1.4-1
- new release to fix testsuite against Python 3.9
* Tue Jan 07 2020 Pavel Raiskup <praiskup@redhat.com> - 1.3-1
- new release
* Sat Sep 07 2019 Pavel Raiskup <praiskup@redhat.com> - 1.2.2-1
- new release

View file

@ -3,11 +3,12 @@
# Prepare master branch, review the list of branches below and then execute this
# script.
branches='master epel7 f29 f30 f31'
main=main
branches="$main epel8 epel9 epel10 epel10.0 f41 f42 f43"
exit_handler ()
{
git checkout master
git checkout "$main"
}
trap exit_handler EXIT
@ -19,18 +20,12 @@ koji hello
tasks=
for branch in $branches; do
if test $branch != master; then
if test $branch != "$main"; then
git checkout "$branch"
git merge master
git merge "$main"
fi
git push
tasks="${tasks}`fedpkg build --nowait | grep 'Created task' | cut -d: -f2`"
done
koji watch-task $tasks
for branch in $branches; do
test $branch != master || continue
git checkout $branch
fedpkg update
done

View file

@ -1 +1 @@
SHA512 (argparse-manpage-1.2.2.tar.gz) = 20e3018b3c2b63f90017ad089abf5caae958954322d9d6a90f0a78fa72b2f9a02f2a0e9460d3c61f33fa34a24c440b4fb3ca9ebc6bd8024d1e3272520495a102
SHA512 (argparse_manpage-4.7.tar.gz) = 88c2e0e0747f5950b131d5456b1bc153e64d11ca41d87e3c995d91f7ffb662685a5c58f7ea99f011151aa72e45a5bcab98ac6729e20a19d086a7798d9c783452