From b1680f4a7896530b2b747cf48824d8c9427becd1 Mon Sep 17 00:00:00 2001 From: František Zatloukal Date: Jan 07 2022 09:57:32 +0000 Subject: Revert "Revive package" This reverts commit 9517df6194acf23f52213c98a152ffbc54c39595. --- diff --git a/.gitignore b/.gitignore index ac99d23..bf597b8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ WTForms-1.0.2.zip /WTForms-2.0.zip /wtforms-2.2.1.tar.gz /WTForms-2.3.3.tar.gz -/Flask-WTF-1.0.0.tar.gz diff --git a/python-flask-wtf.spec b/python-flask-wtf.spec deleted file mode 100644 index c05f595..0000000 --- a/python-flask-wtf.spec +++ /dev/null @@ -1,167 +0,0 @@ -%global mod_name Flask-WTF - -Name: python-flask-wtf -Version: 1.0.0 -Release: 1%{?dist} -Summary: Simple integration of Flask and WTForms - -License: BSD -URL: https://github.com/lepture/flask-wtf -Source0: %{pypi_source %mod_name} - -BuildArch: noarch -BuildRequires: python3-devel - - -%description -Flask-WTF offers simple integration with WTForms. This integration -includes optional CSRF handling for greater security. - - -%package -n python3-flask-wtf -Summary: Simple integration of Flask and WTForms - -%description -n python3-flask-wtf -Flask-WTF offers simple integration with WTForms. This integration -includes optional CSRF handling for greater security. - - -%generate_buildrequires -%pyproject_buildrequires -r - - -%prep -%autosetup -p1 -n %{mod_name}-%{version} - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files flask_wtf - - -%check -%py3_check_import flask_wtf - - -%files -n python3-flask-wtf -f %{pyproject_files} -%license LICENSE.rst -%doc README.rst docs/ - - -%changelog -* Thu Dec 09 2021 Sandro Mani - 1.0.0-1 -- Update to 1.0.0 -- Modernize spec - -* Fri Jul 23 2021 Fedora Release Engineering - 0.14.3-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 0.14.3-5 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 0.14.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.14.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue May 26 2020 Miro Hrončok - 0.14.3-2 -- Rebuilt for Python 3.9 - -* Tue Apr 21 2020 Pavel Raiskup - 0.14.3-1 -- rebase to new upstream release, to be compatible with new werkzeug - -* Thu Jan 30 2020 Fedora Release Engineering - 0.14.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Sep 09 2019 Miro Hrončok - 0.14.2-7 -- Subpackage python2-flask-wtf has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Mon Aug 19 2019 Miro Hrončok - 0.14.2-6 -- Rebuilt for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 0.14.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 0.14.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.14.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 0.14.2-2 -- Rebuilt for Python 3.7 - -* Sat Mar 03 2018 Itamar Reis Peixoto - 0.14.2-1 -- new version 0.14.2 - -* Fri Feb 09 2018 Fedora Release Engineering - 0.10.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 18 2018 Iryna Shcherbina - 0.10.0-11 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.10.0-10 -- Python 2 binary package renamed to python2-flask-wtf - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.10.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 0.10.0-7 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 0.10.0-6 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 0.10.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Nov 10 2015 Fedora Release Engineering - 0.10.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - -* Thu Jun 18 2015 Fedora Release Engineering - 0.10.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Thu Jul 17 2014 Tim Flink 0.10.0-2 -- Adding missing BuildRequires for %check -- disabling %check on python3 due to missing builds -- disabling %check for rawhide and f21 due to RHBZ 1105819 - -* Thu Jul 17 2014 Tim Flink 0.10.0-1 -- Adding support for python-wtforms >= 2.0 to fix RHBZ 1120888 -- added %check - -* Wed May 21 2014 Praveen Kumar 0.9.5-1 -- Updated to new source -- Add python3 support - -* Sun Aug 04 2013 Fedora Release Engineering - 0.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 0.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Tue Oct 09 2012 Tim Flink - 0.8-1 -- Upgrade to upstream 0.8 - -* Sat Jul 21 2012 Fedora Release Engineering - 0.5.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Wed Jul 4 2012 Praveen Kumar - 0.5.2-3 -- Added python-wtforms as requires. - -* Sat Jan 14 2012 Fedora Release Engineering - 0.5.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Jul 21 2011 Praveen Kumar - 0.5.2-1 -- Initial RPM release diff --git a/python-wtforms.spec b/python-wtforms.spec new file mode 100644 index 0000000..a02129c --- /dev/null +++ b/python-wtforms.spec @@ -0,0 +1,176 @@ +%global srcname WTForms + +Name: python-wtforms +Version: 2.3.3 +Release: 5%{?dist} +Summary: Forms validation and rendering library for python + +License: BSD +URL: https://wtforms.simplecodes.com/ +Source0: %{pypi_source} + +BuildArch: noarch + +Requires: python%{python3_pkgversion}-email-validator + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools + +%global _description\ +With wtforms, your form field HTML can be generated for you.\ +This allows you to maintain separation of code and presentation,\ +and keep those messy parameters out of your python code. + +%description %_description + +%package -n python%{python3_pkgversion}-wtforms +Summary: Forms validation and rendering library for python +%{?python_provide:%python_provide python3-wtforms} + +%description -n python%{python3_pkgversion}-wtforms +With wtforms, your form field HTML can be generated for you. +This allows you to maintain separation of code and presentation, +and keep those messy parameters out of your python code. + + +%prep +%setup -q -n %{srcname}-%{version} +sed -i "s|\r||g" docs/Makefile +sed -i "s|\r||g" CHANGES.rst +rm wtforms/locale/README.md + +%build +%py3_build + +%install +%py3_install +# rm -rf %%{buildroot}/%{python3_sitelib}/wtforms/locale + +#% find_lang wtforms + +# add the check section after the upgrade to the python-wtforms 3.x +# tests in 2.3.3 are a mess... + +%files -n python%{python3_pkgversion}-wtforms +# -f wtforms.lang +%doc docs/ README.rst CHANGES.rst +%license LICENSE.rst +%{python3_sitelib}/WTForms-%{version}-py*.egg-info +%{python3_sitelib}/wtforms/ + +%changelog +* Tue Jul 27 2021 Fedora Release Engineering - 2.3.3-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 2.3.3-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 14 2020 Pavel Raiskup - 2.3.3-2 +- Require python3-email-validator + +* Fri Aug 21 2020 Frantisek Zatloukal - 2.3.3-1 +- Update to wtforms 2.3.3 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.2.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.2.1-9 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.2.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Sep 17 2019 Miro Hrončok - 2.2.1-7 +- Subpackage python2-wtforms has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Mon Aug 19 2019 Miro Hrončok - 2.2.1-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 2.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jul 08 2018 Itamar Reis Peixoto - 2.2.1-2 +- update some macros + +* Sat Jun 30 2018 Itamar Reis Peixoto - 2.2.1-1 +- new version 2.2.1 + +* Tue Jun 19 2018 Miro Hrončok - 2.0-15 +- Rebuilt for Python 3.7 + +* Fri Feb 16 2018 Itamar Reis Peixoto - 2.0-14 +- make spec file compatible with epel7 +- remove conditionals, always build for python 3 + +* Fri Feb 09 2018 Iryna Shcherbina - 2.0-13 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.0-11 +- Python 2 binary package renamed to python2-wtforms + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 2.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 2.0-8 +- Rebuild for Python 3.6 + +* Thu Feb 04 2016 Fedora Release Engineering - 2.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Dec 01 2014 Pierre-Yves Chibon - 2.0-4 +- Move the locale files into /usr/share/locale we will still have the same files + present in both the py2 and py3 but a) they are completely identical so no + conflicts from RPM and b) they are now in the proper place, system-wise + +* Sun Jun 08 2014 Fedora Release Engineering - 2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Kalev Lember - 2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Sat May 24 2014 Praveen Kumar 2.0-1 +- Upgrade to upstream version +- Add python3 support + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Aug 09 2012 Tim Flink - 1.0.2-1 +- Upgraded to upstream 1.0.2 + +* Sat Jul 21 2012 Fedora Release Engineering - 0.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 21 2011 Praveen Kumar - 0.6.3-1 +- Initial RPM release diff --git a/sources b/sources index 3728b81..4a3285b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Flask-WTF-1.0.0.tar.gz) = 4b47e3586e3fb34f2ef964fb2a84d25c8279d4ce98e2064655e5ecb5f8fd67e4637ffd81b171e4623e2cd943e5abbcb6f5980ea8a354c2745d65c64161c0fd60 +SHA512 (WTForms-2.3.3.tar.gz) = 934cf1483beec37d698d13a81e44a733d082baad1f418d3087306fd908df809d37fffe000ed1ecabf65d2c31b57034bf6f25c3b77cfc5598ae1f65bf4a115fe5