ignatenkobrain pushed to python-flask-restful (epel8). "Backport:
Fix-arguments-with-type-list"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:01:14 UTC
From a897bd91e13d6794c0bd12ebe163f5a335be15f5 Mon Sep 17 00:00:00 2001
From: František Zatloukal <fzatlouk(a)redhat.com>
Date: Mar 29 2018 11:04:31 +0000
Subject: Backport: Fix-arguments-with-type-list
---
diff --git a/.gitignore b/.gitignore
index 159afee..02dc4fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/0.3.4.tar.gz
/0.3.5.tar.gz
/0.3.6.tar.gz
+/0001-Fix-arguments-with-type-list-705.patch
diff --git a/python-flask-restful.spec b/python-flask-restful.spec
index 14a5e1b..eec5398 100644
--- a/python-flask-restful.spec
+++ b/python-flask-restful.spec
@@ -13,7 +13,7 @@
Name: python-%{srcname}
Version: 0.3.6
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -21,6 +21,7 @@ License: BSD
URL: https://www.github.com/%{srcname}/%{srcname}/
Source0: https://github.com/%{srcname}/%{srcname}/archive/%{version}.tar.gz
Patch0: python-flask-restful.remove_q0_testcase.patch
+Patch1: 0001-Fix-arguments-with-type-list-705.patch
BuildArch: noarch
# those are needed for tests:
@@ -108,6 +109,7 @@ that works with your existing ORM/libraries.
%setup -qn %{srcname}-%{version}
rm -rf docs/_themes/.gitignore
%patch0
+%patch1
%build
%py2_build
@@ -140,6 +142,9 @@ rm -rf docs/_themes/.gitignore
%endif
%changelog
+* Thu Mar 29 2018 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 0.3.6-3
+- Backport upstream fix: Fix-arguments-with-type-list-705
+
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb(a)redhat.com> - 0.3.6-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
diff --git a/sources b/sources
index cf99200..bac41ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (0.3.6.tar.gz) = c5136302111e6c8953e038d31b42b029744111bb916dea7ec8bd5fac2de5e17a86d30a7d04a7335cdc5da25ee13f35ad9a6d284166e11cca0c6fec96d23fd977
+SHA512 (0001-Fix-arguments-with-type-list-705.patch) = 8e5982644007fddbf9f73af916ea23d26225a940b2c46663cffc2694ba5c81172d1f39c9bd7efb5157f76bb929e5d8120b6623e1898c9aac340876542044d3c6
https://src.fedoraproject.org/rpms/python-flask-restful/c/a897bd91e13d679...
1 year, 10 months
ignatenkobrain pushed to python-flask-restful (epel8). "Python2
Declarations"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:01:14 UTC
From fe670f5dfe593c1c31f6eed2f8e92bfdc8a3b5c1 Mon Sep 17 00:00:00 2001
From: František Zatloukal <fzatlouk(a)redhat.com>
Date: Mar 27 2018 12:08:01 +0000
Subject: Python2 Declarations
---
diff --git a/python-flask-restful.spec b/python-flask-restful.spec
index 03d9c77..14a5e1b 100644
--- a/python-flask-restful.spec
+++ b/python-flask-restful.spec
@@ -13,7 +13,7 @@
Name: python-%{srcname}
Version: 0.3.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -24,16 +24,32 @@ Patch0: python-flask-restful.remove_q0_testcase.patch
BuildArch: noarch
# those are needed for tests:
+%if 0%{?rhel} || 0%{?fedora} <= 27
BuildRequires: python-flask
BuildRequires: python-six
BuildRequires: python-aniso8601
BuildRequires: pytz
+%else
+BuildRequires: python2-flask
+BuildRequires: python2-six
+BuildRequires: python2-aniso8601
+BuildRequires: python2-pytz
+%endif
BuildRequires: python2-devel
+
+%if 0%{?rhel} || 0%{?fedora} <= 27
BuildRequires: python-setuptools
BuildRequires: python-nose
BuildRequires: python-mock
BuildRequires: python-blinker
BuildRequires: python-crypto
+%else
+BuildRequires: python2-setuptools
+BuildRequires: python2-nose
+BuildRequires: python2-mock
+BuildRequires: python2-blinker
+BuildRequires: python2-crypto
+%endif
%if 0%{?with_python3}
BuildRequires: python3-flask
@@ -55,10 +71,17 @@ that works with your existing ORM/libraries.
%package -n python2-%{srcname}
Summary: %{sum}
+%if 0%{?rhel} || 0%{?fedora} <= 27
Requires: python-flask
Requires: python-six
Requires: python-aniso8601
Requires: pytz
+%else
+Requires: python2-flask
+Requires: python2-six
+Requires: python2-aniso8601
+Requires: python2-pytz
+%endif
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
@@ -117,6 +140,10 @@ rm -rf docs/_themes/.gitignore
%endif
%changelog
+* Mon Mar 26 2018 Iryna Shcherbina <ishcherb(a)redhat.com> - 0.3.6-2
+- Update Python 2 dependency declarations to new packaging standards
+ (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
* Thu Mar 15 2018 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 0.3.6-1
- Update to 0.3.6
https://src.fedoraproject.org/rpms/python-flask-restful/c/fe670f5dfe593c1...
1 year, 10 months
ignatenkobrain pushed to python-flask-restful (epel8). "Update to new
upstream release - 0.3.6"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:01:14 UTC
From c00c908e8280174f4581d98541f6094aef2ae327 Mon Sep 17 00:00:00 2001
From: František Zatloukal <fzatlouk(a)redhat.com>
Date: Mar 15 2018 22:52:44 +0000
Subject: Update to new upstream release - 0.3.6
---
diff --git a/.gitignore b/.gitignore
index 9a46107..159afee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/0.3.3.tar.gz
/0.3.4.tar.gz
/0.3.5.tar.gz
+/0.3.6.tar.gz
diff --git a/python-flask-restful.spec b/python-flask-restful.spec
index 8a160d8..03d9c77 100644
--- a/python-flask-restful.spec
+++ b/python-flask-restful.spec
@@ -12,8 +12,8 @@
%global sum Simple framework for creating REST APIs for Flask
Name: python-%{srcname}
-Version: 0.3.5
-Release: 8%{?dist}
+Version: 0.3.6
+Release: 1%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -117,6 +117,9 @@ rm -rf docs/_themes/.gitignore
%endif
%changelog
+* Thu Mar 15 2018 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 0.3.6-1
+- Update to 0.3.6
+
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 3a9906a..cf99200 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fd65c8fc5eaf5ff87c0e0733a904f1c1 0.3.5.tar.gz
+SHA512 (0.3.6.tar.gz) = c5136302111e6c8953e038d31b42b029744111bb916dea7ec8bd5fac2de5e17a86d30a7d04a7335cdc5da25ee13f35ad9a6d284166e11cca0c6fec96d23fd977
https://src.fedoraproject.org/rpms/python-flask-restful/c/c00c908e8280174...
1 year, 10 months
ignatenkobrain pushed to python-flask-restful (epel8). "Rebuild for
Python 3.6"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:01:14 UTC
From 796ed5c69261af5ad1861277112953bbd1b4cc73 Mon Sep 17 00:00:00 2001
From: Miro Hrončok <miro(a)hroncok.cz>
Date: Dec 19 2016 17:20:37 +0000
Subject: Rebuild for Python 3.6
---
diff --git a/python-flask-restful.spec b/python-flask-restful.spec
index cc6a9fb..12814ab 100644
--- a/python-flask-restful.spec
+++ b/python-flask-restful.spec
@@ -13,7 +13,7 @@
Name: python-%{srcname}
Version: 0.3.5
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -117,6 +117,9 @@ rm -rf docs/_themes/.gitignore
%endif
%changelog
+* Mon Dec 19 2016 Miro Hrončok <mhroncok(a)redhat.com> - 0.3.5-5
+- Rebuild for Python 3.6
+
* Mon Oct 17 2016 Ralph Bean <rbean(a)redhat.com> - 0.3.5-4
- Conditionalize python3 package for EPEL7.
https://src.fedoraproject.org/rpms/python-flask-restful/c/796ed5c69261af5...
1 year, 10 months
ignatenkobrain pushed to python-flask-restful (epel8).
"Conditionalize python3 package for EPEL7."
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:01:14 UTC
From 07fa7631af4cf14f4165244250601f537ae01dc2 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean(a)redhat.com>
Date: Oct 17 2016 20:18:03 +0000
Subject: Conditionalize python3 package for EPEL7.
---
diff --git a/python-flask-restful.spec b/python-flask-restful.spec
index f50b380..cc6a9fb 100644
--- a/python-flask-restful.spec
+++ b/python-flask-restful.spec
@@ -4,12 +4,16 @@
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
+%if 0%{?fedora}
+%global with_python3 1
+%endif
+
%global srcname flask-restful
%global sum Simple framework for creating REST APIs for Flask
Name: python-%{srcname}
Version: 0.3.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -30,6 +34,8 @@ BuildRequires: python-nose
BuildRequires: python-mock
BuildRequires: python-blinker
BuildRequires: python-crypto
+
+%if 0%{?with_python3}
BuildRequires: python3-flask
BuildRequires: python3-six
BuildRequires: python3-aniso8601
@@ -40,6 +46,7 @@ BuildRequires: python3-nose
BuildRequires: python3-mock
BuildRequires: python3-blinker
BuildRequires: python3-crypto
+%endif
%description
Flask-RESTful is Python extension for Flask that adds support
@@ -59,6 +66,7 @@ Flask-RESTful is Python 2 extension for Flask that adds support
for quickly building REST APIs. It is a lightweight abstraction
that works with your existing ORM/libraries.
+%if 0%{?with_python3}
%package -n python3-%{srcname}
Summary: %{sum}
Requires: python3-flask
@@ -71,6 +79,7 @@ Requires: python3-pytz
Flask-RESTful is Python 3 extension for Flask that adds support
for quickly building REST APIs. It is a lightweight abstraction
that works with your existing ORM/libraries.
+%endif
%prep
%setup -qn %{srcname}-%{version}
@@ -79,27 +88,38 @@ rm -rf docs/_themes/.gitignore
%build
%py2_build
+%if 0%{?with_python3}
%py3_build
+%endif
%install
%py2_install
+%if 0%{?with_python3}
%py3_install
+%endif
%check
%{__python2} setup.py test
+%if 0%{?with_python3}
%{__python3} setup.py test
+%endif
%files -n python2-%{srcname}
%doc AUTHORS.md README.md examples/ docs/
%license LICENSE
%{python2_sitelib}/*
+%if 0%{?with_python3}
%files -n python3-%{srcname}
%doc AUTHORS.md README.md examples/ docs/
%license LICENSE
%{python3_sitelib}/*
+%endif
%changelog
+* Mon Oct 17 2016 Ralph Bean <rbean(a)redhat.com> - 0.3.5-4
+- Conditionalize python3 package for EPEL7.
+
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.3.5-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_...
https://src.fedoraproject.org/rpms/python-flask-restful/c/07fa7631af4cf14...
1 year, 10 months