#4 WTForms 2.3.3
Merged 3 years ago by kumarpraveen. Opened 3 years ago by frantisekz.
rpms/ frantisekz/python-wtforms master  into  master

file modified
+1
@@ -2,3 +2,4 @@ 

  WTForms-1.0.2.zip

  /WTForms-2.0.zip

  /wtforms-2.2.1.tar.gz

+ /WTForms-2.3.3.tar.gz

file modified
+13 -10
@@ -1,13 +1,13 @@ 

- %global mod_name wtforms

+ %global srcname WTForms

  

  Name:           python-wtforms

- Version:        2.2.1

- Release:        10%{?dist}

+ Version:        2.3.3

+ Release:        1%{?dist}

  Summary:        Forms validation and rendering library for python

  

  License:        BSD

- URL:            http://wtforms.simplecodes.com/

- Source0:        http://pypi.python.org/packages/source/W/%{mod_name}/%{mod_name}-%{version}.tar.gz

+ URL:            https://wtforms.simplecodes.com/

+ Source0:        %{pypi_source}

  

  BuildArch:      noarch

  
@@ -26,13 +26,13 @@ 

  %{?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, 

+ 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 %{mod_name}-%{version}

+ %setup -q -n %{srcname}-%{version}

  sed -i "s|\r||g" docs/Makefile

  sed -i "s|\r||g" CHANGES.rst

  rm wtforms/locale/README.md
@@ -42,18 +42,21 @@ 

  

  %install

  %py3_install

- # rm -rf %{buildroot}/%{python3_sitelib}/wtforms/locale

+ # rm -rf %%{buildroot}/%{python3_sitelib}/wtforms/locale

  

  #% find_lang wtforms

  

  %files -n python%{python3_pkgversion}-wtforms

  # -f wtforms.lang

- %doc docs/ README.rst AUTHORS.rst  CHANGES.rst

+ %doc docs/ README.rst CHANGES.rst

  %license LICENSE.rst

  %{python3_sitelib}/WTForms-%{version}-py*.egg-info

  %{python3_sitelib}/wtforms/

  

  %changelog

+ * Fri Aug 21 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 2.3.3-1

+ - Update to wtforms 2.3.3

+ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-10

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (wtforms-2.2.1.tar.gz) = db989ff5352d6834fc51c0ed208de11c12a2c0ad90f73dfeaa8f9995edc7f840deb427f1ffc6167f1c24e44f2137ecbb27ee1113258a6c55ed256a603657ef97

+ SHA512 (WTForms-2.3.3.tar.gz) = 934cf1483beec37d698d13a81e44a733d082baad1f418d3087306fd908df809d37fffe000ed1ecabf65d2c31b57034bf6f25c3b77cfc5598ae1f65bf4a115fe5

I've tested this against blockerbugs (which is using flask-wtf).

I think this can/should also be backported to f33.

I've tried to enable tests during rpmbuild but without a success yet, I expect to have another PR or that ready in the future.

Pull-Request has been merged by kumarpraveen

3 years ago