praiskup pushed to argparse-manpage (epel8).
"build-and-update-all-branches: s/master/rawhide/"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-11-28 22:43:38 UTC
From b4fbd963a557411fac3c98989a7ee1b07d702b64 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup(a)redhat.com>
Date: Nov 28 2021 22:40:07 +0000
Subject: build-and-update-all-branches: s/master/rawhide/
---
diff --git a/build-and-update-all-branches b/build-and-update-all-branches
index 9d655f2..43fedfb 100755
--- a/build-and-update-all-branches
+++ b/build-and-update-all-branches
@@ -3,7 +3,7 @@
# Prepare master branch, review the list of branches below and then execute this
# script.
-branches='master epel7 epel8 f33 f34 f35'
+branches='rawhide epel7 epel8 f33 f34 f35'
exit_handler ()
{
https://src.fedoraproject.org/rpms/argparse-manpage/c/b4fbd963a557411fac3...
2Â years, 6Â months
praiskup pushed to argparse-manpage (epel8). "New upstream release
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-11-28 22:43:38 UTC
From 3a68d305f55d5f3b3647d669cd66b42d0284de85 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup(a)redhat.com>
Date: Nov 28 2021 22:24:49 +0000
Subject: New upstream release
Resolves: rhbz#2025563
Version: 2-1
---
diff --git a/argparse-manpage.spec b/argparse-manpage.spec
index a1f374e..0ecd8ee 100644
--- a/argparse-manpage.spec
+++ b/argparse-manpage.spec
@@ -1,11 +1,9 @@
%if 0%{?fedora}
- %bcond_without python3
- %if 0%{?fedora} > 29
- %bcond_with python2
- %else
- %bcond_without python2
- %endif
+ %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 +27,41 @@ There is a limited support for (deprecated) optparse objects, too.
Name: argparse-manpage
-Version: 1.5
-Release: 4%{?dist}
+Version: 2
+Release: 1%{?dist}
Summary: %{sum Python}
BuildArch: noarch
License: ASL 2.0
URL: https://github.com/praiskup/%{name}
-Source0: %pypi_source
+Source0: https://github.com/praiskup/%name/releases/download/v%version/%name-%vers...
%if %{with python2}
BuildRequires: python2-setuptools python2-devel
%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
%if %{with check}
-BuildRequires: python3-pytest python3-six
+BuildRequires: python3-pytest
%endif
%endif
-%if %{with python3}
+
+%if %{with pyproject}
+BuildRequires: python3-devel
+%if %{with check}
+BuildRequires: python3-pytest
+%endif
+%endif
+
+%if %{with python3} || %{with pyproject}
Requires: python3-%name = %version-%release
%else
Requires: python2-%name = %version-%release
@@ -81,6 +88,11 @@ Summary: %{sum Python 3}
%prep
%setup -q
+%if %{with pyproject}
+%generate_buildrequires
+%pyproject_buildrequires
+%endif
+
%build
%if %{with python2}
@@ -89,6 +101,9 @@ Summary: %{sum Python 3}
%if %{with python3}
%py3_build
%endif
+%if %{with pyproject}
+%pyproject_wheel
+%endif
%install
@@ -98,16 +113,22 @@ Summary: %{sum Python 3}
%if %{with python3}
%py3_install
%endif
+%if %{with pyproject}
+%pyproject_install
+%endif
%if %{with check}
%check
%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
%endif
%endif
@@ -116,7 +137,7 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest
%license LICENSE
%{_bindir}/argparse-manpage
%_mandir/man1/argparse-manpage.1.*
-%if %{with python3}
+%if %{with python3} || %{with pyproject}
%python3_sitelib/build_manpages/cli
%else
%python2_sitelib/build_manpages/cli
@@ -132,16 +153,24 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest
%endif
-%if %{with python3}
+%if %{with python3} || %{with pyproject}
%files -n python3-%name
%license LICENSE
%python3_sitelib/build_manpages
+%if %{with pyproject}
+%python3_sitelib/argparse_manpage-*dist-info
+%else
%python3_sitelib/argparse_manpage-%{version}*.egg-info
+%endif
%exclude %python3_sitelib/build_manpages/cli
%endif
%changelog
+* Sun Nov 28 2021 Pavel Raiskup <praiskup(a)redhat.com> - 2-1
+- new upstream release:
+ https://github.com/praiskup/argparse-manpage/releases/tag/v2
+
* Wed Jul 21 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/build-and-update-all-branches b/build-and-update-all-branches
index 9fb7a03..2d9d39d 100755
--- a/build-and-update-all-branches
+++ b/build-and-update-all-branches
@@ -3,7 +3,7 @@
# Prepare master branch, review the list of branches below and then execute this
# script.
-branches='master epel7 epel8 f32 f33'
+branches='master epel7 epel8 f33 f34 f35'
exit_handler ()
{
diff --git a/sources b/sources
index 30311cf..d2530bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (argparse-manpage-1.5.tar.gz) = cb3f15679ce944f3dbd641bf724f0715edab3c647dbd1bbd825b8df7657faaa4dee32b91c331c21f180ee68ac2426646bc0ae3593cb16ea6edc702132e5a2010
+SHA512 (argparse-manpage-2.tar.gz) = 24854cd5209635e8938716f97cb4eb283152a2a109c554385a78a5145c6e0f38c76a9172d607fb3ffdf610e8d3f7270ed94f6b4612ce731ea9dafe0a1bebebe6
https://src.fedoraproject.org/rpms/argparse-manpage/c/3a68d305f55d5f3b364...
2Â years, 6Â months
praiskup pushed to argparse-manpage (epel8). "Rebuilt for Python 3.10"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-11-28 22:43:38 UTC
From 9f69d1edb273207b4619b2c71fb2cbe75a6e6bb1 Mon Sep 17 00:00:00 2001
From: Python Maint <python-maint(a)redhat.com>
Date: Jun 04 2021 17:59:31 +0000
Subject: Rebuilt for Python 3.10
---
diff --git a/argparse-manpage.spec b/argparse-manpage.spec
index fb3df20..5a948f4 100644
--- a/argparse-manpage.spec
+++ b/argparse-manpage.spec
@@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too.
Name: argparse-manpage
Version: 1.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{sum Python}
BuildArch: noarch
@@ -142,6 +142,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest
%changelog
+* Fri Jun 04 2021 Python Maint <python-maint(a)redhat.com> - 1.5-3
+- Rebuilt for Python 3.10
+
* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
https://src.fedoraproject.org/rpms/argparse-manpage/c/9f69d1edb273207b461...
2Â years, 6Â months
praiskup pushed to argparse-manpage (epel7).
"build-and-update-all-branches: s/master/main/ take #2"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-11-28 22:43:26 UTC
From b9fc08e607028aa80f3b4b8130574001f70c4809 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup(a)redhat.com>
Date: Nov 28 2021 22:42:50 +0000
Subject: build-and-update-all-branches: s/master/main/ take #2
---
diff --git a/build-and-update-all-branches b/build-and-update-all-branches
index 43fedfb..3bf530d 100755
--- a/build-and-update-all-branches
+++ b/build-and-update-all-branches
@@ -3,11 +3,12 @@
# Prepare master branch, review the list of branches below and then execute this
# script.
-branches='rawhide epel7 epel8 f33 f34 f35'
+main=rawhide
+branches="$main epel7 epel8 f33 f34 f35"
exit_handler ()
{
- git checkout master
+ git checkout "$main"
}
trap exit_handler EXIT
@@ -19,9 +20,9 @@ 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`"
https://src.fedoraproject.org/rpms/argparse-manpage/c/b9fc08e607028aa80f3...
2Â years, 6Â months
praiskup pushed to argparse-manpage (epel7).
"build-and-update-all-branches: s/master/rawhide/"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-11-28 22:43:26 UTC
From b4fbd963a557411fac3c98989a7ee1b07d702b64 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup(a)redhat.com>
Date: Nov 28 2021 22:40:07 +0000
Subject: build-and-update-all-branches: s/master/rawhide/
---
diff --git a/build-and-update-all-branches b/build-and-update-all-branches
index 9d655f2..43fedfb 100755
--- a/build-and-update-all-branches
+++ b/build-and-update-all-branches
@@ -3,7 +3,7 @@
# Prepare master branch, review the list of branches below and then execute this
# script.
-branches='master epel7 epel8 f33 f34 f35'
+branches='rawhide epel7 epel8 f33 f34 f35'
exit_handler ()
{
https://src.fedoraproject.org/rpms/argparse-manpage/c/b4fbd963a557411fac3...
2Â years, 6Â months