forked from pool/python-WTForms
Accepting request 1129046 from home:alarrosa:branches:devel:languages:python
- Update to 3.1.1:
- Display Flags values in their repr.
- ~SelectField and SelectMultipleField choices can be None if
validate_choice is False
- Documentation improvements
- Unit tests improvements
- Python 3.12 support
- Restored support for 3-items tuple return value from
iter_choices
- Update to 3.1.0:
- Documentation improvements
- Translation improvements
- Implement :class:~fields.ColorField
- Delayed import of email_validator.
- <option> attributes can be passed by the
:class:~fields.SelectField choices parameter
- Use the standard datetime formats by default for
:class:~fields.DateTimeLocalField
- Python 3.11 support
- Added shorter format to
:class:~fields.DateTimeLocalField defaults
- Stop support for python 3.7
- Added shorter format to :class:~fields.WeekField defaults
- Move to pyproject.toml
- URL validator takes a allow_ip parameter
- Implement :class:~validators.ReadOnly and
:class:~validators.Disabled
OBS-URL: https://build.opensuse.org/request/show/1129046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=30
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b351bbb12dd58af57ffef05bc78425d08d1914e0fd68ee14143b7ade023c5bc
|
||||
size 137513
|
||||
3
WTForms-3.1.1.tar.gz
Normal file
3
WTForms-3.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e43cddf61ad77c3e7d9fb5ef62fa8e9d5298a9728de5feb48be74b6c98164427
|
||||
size 125250
|
||||
2
_service
2
_service
@@ -1,6 +1,6 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="versionprefix">2.3.3+git</param>
|
||||
<param name="versionprefix">3.1.1+git</param>
|
||||
<param name="url">https://github.com/wtforms/wtforms.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git*</param>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/wtforms/wtforms.git</param>
|
||||
<param name="changesrevision">2249509ed2becf3c792cc134ac6e790a340cb93e</param></service></servicedata>
|
||||
<param name="changesrevision">e737a6c1af1d1d44c35189c150a79651c125bc98</param></service></servicedata>
|
||||
@@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 08:03:06 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Update to 3.1.1:
|
||||
- Display Flags values in their repr.
|
||||
- ~SelectField and SelectMultipleField choices can be None if
|
||||
validate_choice is False
|
||||
- Documentation improvements
|
||||
- Unit tests improvements
|
||||
- Python 3.12 support
|
||||
- Restored support for 3-items tuple return value from
|
||||
iter_choices
|
||||
|
||||
- Update to 3.1.0:
|
||||
- Documentation improvements
|
||||
- Translation improvements
|
||||
- Implement :class:~fields.ColorField
|
||||
- Delayed import of email_validator.
|
||||
- <option> attributes can be passed by the
|
||||
:class:~fields.SelectField choices parameter
|
||||
- Use the standard datetime formats by default for
|
||||
:class:~fields.DateTimeLocalField
|
||||
- Python 3.11 support
|
||||
- Added shorter format to
|
||||
:class:~fields.DateTimeLocalField defaults
|
||||
- Stop support for python 3.7
|
||||
- Added shorter format to :class:~fields.WeekField defaults
|
||||
- Move to pyproject.toml
|
||||
- URL validator takes a allow_ip parameter
|
||||
- Implement :class:~validators.ReadOnly and
|
||||
:class:~validators.Disabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 26 03:05:55 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -17,15 +17,16 @@
|
||||
|
||||
|
||||
Name: python-WTForms
|
||||
Version: 3.0.1
|
||||
Version: 3.1.1
|
||||
Release: 0
|
||||
Summary: A flexible forms validation and rendering library for Python web development
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/wtforms/wtforms
|
||||
Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.tar.gz
|
||||
BuildRequires: %{python_module MarkupSafe}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module email-validator}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -70,10 +71,9 @@ Translations for builtin WTForms messages.
|
||||
WTForms is a forms validation and rendering library for Python web development.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n WTForms-%{version}
|
||||
%autosetup -p1 -n wtforms-%{version}
|
||||
|
||||
%build
|
||||
%python_exec setup.py compile_catalog
|
||||
%pyproject_wheel
|
||||
# Fix wrong EOL-encoding
|
||||
sed -i "s/\r//" CHANGES.rst
|
||||
@@ -93,7 +93,7 @@ rm docs/changes.rst
|
||||
%doc CHANGES.rst README.rst
|
||||
%exclude %{python_sitelib}/wtforms/locale
|
||||
%{python_sitelib}/wtforms
|
||||
%{python_sitelib}/WTForms-%{version}.dist-info
|
||||
%{python_sitelib}/wtforms-%{version}.dist-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%doc docs/*.rst
|
||||
|
||||
Reference in New Issue
Block a user