777aa6e
%global srcname WTForms
Praveen 4ee03fe
Praveen 4ee03fe
Name:           python-wtforms
777aa6e
Version:        2.3.3
b3e4f85
Release:        5%{?dist}
Praveen 4ee03fe
Summary:        Forms validation and rendering library for python
Praveen 4ee03fe
Praveen 4ee03fe
License:        BSD
777aa6e
URL:            https://wtforms.simplecodes.com/
777aa6e
Source0:        %{pypi_source}
e7d3224
Praveen 4ee03fe
BuildArch:      noarch
a45aab5
63a9841
Requires:       python%{python3_pkgversion}-email-validator
63a9841
a45aab5
BuildRequires:  python%{python3_pkgversion}-devel
a45aab5
BuildRequires:  python%{python3_pkgversion}-setuptools
Praveen 4ee03fe
55128a2
%global _description\
55128a2
With wtforms, your form field HTML can be generated for you.\
55128a2
This allows you to maintain separation of code and presentation,\
Praveen 4ee03fe
and keep those messy parameters out of your python code.
Praveen 4ee03fe
55128a2
%description %_description
55128a2
a45aab5
%package -n python%{python3_pkgversion}-wtforms
Praveen Kumar adfb41e
Summary:        Forms validation and rendering library for python
65830e1
%{?python_provide:%python_provide python3-wtforms}
Praveen Kumar adfb41e
a45aab5
%description -n python%{python3_pkgversion}-wtforms
777aa6e
With wtforms, your form field HTML can be generated for you.
777aa6e
This allows you to maintain separation of code and presentation,
Praveen Kumar adfb41e
and keep those messy parameters out of your python code.
Praveen Kumar adfb41e
Praveen 4ee03fe
Praveen 4ee03fe
%prep
777aa6e
%setup -q -n %{srcname}-%{version}
Praveen 4ee03fe
sed -i "s|\r||g" docs/Makefile
06e143b
sed -i "s|\r||g" CHANGES.rst
d25e21c
rm wtforms/locale/README.md
Praveen 4ee03fe
65830e1
%build
65830e1
%py3_build
Praveen 4ee03fe
Praveen 4ee03fe
%install
65830e1
%py3_install
777aa6e
# rm -rf %%{buildroot}/%{python3_sitelib}/wtforms/locale
Praveen Kumar adfb41e
d25e21c
#% find_lang wtforms
Praveen Kumar adfb41e
5c5911f
# add the check section after the upgrade to the python-wtforms 3.x
5c5911f
# tests in 2.3.3 are a mess...
5c5911f
d25e21c
%files -n python%{python3_pkgversion}-wtforms
d25e21c
# -f wtforms.lang
777aa6e
%doc docs/ README.rst CHANGES.rst
d25e21c
%license LICENSE.rst
06e143b
%{python3_sitelib}/WTForms-%{version}-py*.egg-info
e7d3224
%{python3_sitelib}/wtforms/
Praveen 4ee03fe
Praveen 4ee03fe
%changelog
b3e4f85
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-5
b3e4f85
- Second attempt - Rebuilt for
b3e4f85
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b3e4f85
9a51942
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.3.3-4
9a51942
- Rebuilt for Python 3.10
9a51942
def705b
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-3
def705b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
def705b
5c5911f
* Mon Dec 14 2020 Pavel Raiskup <praiskup@redhat.com> - 2.3.3-2
5c5911f
- Require python3-email-validator
5c5911f
777aa6e
* Fri Aug 21 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 2.3.3-1
777aa6e
- Update to wtforms 2.3.3
777aa6e
7a49c42
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-10
7a49c42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7a49c42
04192d3
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-9
04192d3
- Rebuilt for Python 3.9
04192d3
130a7f1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-8
130a7f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
130a7f1
65830e1
* Tue Sep 17 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-7
65830e1
- Subpackage python2-wtforms has been removed
65830e1
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
65830e1
e3259f9
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-6
e3259f9
- Rebuilt for Python 3.8
e3259f9
5a0bfcf
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-5
5a0bfcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5a0bfcf
5e55e86
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
5e55e86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5e55e86
d6d8410
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
d6d8410
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d6d8410
06e143b
* Sun Jul 08 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.2.1-2
06e143b
- update some macros
06e143b
d25e21c
* Sat Jun 30 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.2.1-1
d25e21c
- new version 2.2.1
d25e21c
cc2bf49
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0-15
cc2bf49
- Rebuilt for Python 3.7
cc2bf49
a45aab5
* Fri Feb 16 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.0-14
a45aab5
- make spec file compatible with epel7
a45aab5
- remove conditionals, always build for python 3
a45aab5
de486bb
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0-13
de486bb
- Update Python 2 dependency declarations to new packaging standards
de486bb
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
de486bb
b023cbd
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-12
b023cbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b023cbd
55128a2
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0-11
55128a2
- Python 2 binary package renamed to python2-wtforms
55128a2
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
55128a2
e7ae4db
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-10
e7ae4db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e7ae4db
33c43f1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-9
33c43f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
33c43f1
96af57e
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0-8
96af57e
- Rebuild for Python 3.6
96af57e
9867f37
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-7
9867f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9867f37
b2536de
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-6
b2536de
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
b2536de
fd5e39d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-5
fd5e39d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fd5e39d
e7d3224
* Mon Dec 01 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.0-4
e7d3224
- Move the locale files into /usr/share/locale we will still have the same files
e7d3224
  present in both the py2 and py3 but a) they are completely identical so no
e7d3224
  conflicts from RPM and b) they are now in the proper place, system-wise
e7d3224
e7d3224
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fdoraproject.org> - 2.0-3
3f73796
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3f73796
3f5b305
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.0-2
3f5b305
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
3f5b305
Praveen Kumar adfb41e
* Sat May 24 2014 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> 2.0-1
Praveen Kumar adfb41e
- Upgrade to upstream version
Praveen Kumar adfb41e
- Add python3 support
Praveen Kumar adfb41e
eb7e988
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
eb7e988
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eb7e988
de688a8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
de688a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
de688a8
Praveen Kumar adfb41e
* Thu Aug 09 2012 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
d740c41
- Upgraded to upstream 1.0.2
d740c41
79415bd
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-3
79415bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
79415bd
46141de
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
46141de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
46141de
Praveen 4ee03fe
* Thu Jul 21 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.6.3-1
Praveen 4ee03fe
- Initial RPM release