#7 Update to 3.0.0
Merged 2 years ago by frantisekz. Opened 2 years ago by smani.
Unknown source rawhide  into  rawhide

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

  /WTForms-2.0.zip

  /wtforms-2.2.1.tar.gz

  /WTForms-2.3.3.tar.gz

+ /WTForms-3.0.0.tar.gz

file modified
+26 -27
@@ -1,64 +1,63 @@

  %global srcname WTForms

  

  Name:           python-wtforms

- Version:        2.3.3

- Release:        5%{?dist}

+ Version:        3.0.0

+ Release:        1%{?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:  python3-devel

  

- 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,\

+ %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

+ %package -n python3-wtforms

  Summary:        Forms validation and rendering library for python

- %{?python_provide:%python_provide python3-wtforms}

  

- %description -n python%{python3_pkgversion}-wtforms

+ %description -n python3-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.

  

  

+ %generate_buildrequires

+ %pyproject_buildrequires -r

+ 

+ 

  %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

+ %autosetup -p1 -n %{srcname}-%{version}

+ 

  

  %build

- %py3_build

+ %pyproject_wheel

+ 

  

  %install

- %py3_install

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

+ %pyproject_install

+ %pyproject_save_files wtforms

+ 

  

- #% find_lang wtforms

+ %check

+ %py3_check_import 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

+ %files -n python3-wtforms -f %{pyproject_files}

  %doc docs/ README.rst CHANGES.rst

  %license LICENSE.rst

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

- %{python3_sitelib}/wtforms/

+ 

  

  %changelog

+ * Thu Dec 09 2021 Sandro Mani <manisandro@gmail.com> - 3.0.0-1

+ - Update to 3.0.0

+ 

  * Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-5

  - Second attempt - Rebuilt for

    https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

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

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

+ SHA512 (WTForms-3.0.0.tar.gz) = dbed8706a317022be07f9568d11c7dab6021642957efab38e547b7b1b83b1ac8863a521b8fb0f5f4ec15cdc2966520a76d079a00ea88ce56f40a42b335fcfc6e

Build succeeded.

rebased onto ba21746

2 years ago

Build succeeded.

Filed https://src.fedoraproject.org/rpms/python-wtf-peewee/pull-request/3# which would fix python-wtf-peewee .

Everything else seems fine, thanks!

Pull-Request has been merged by frantisekz

2 years ago