From 9fdfda720d31e3e22359c52301dabbbda931b6a45f760d32efa437d19c4b4f05 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 5 Jun 2021 20:07:35 +0000 Subject: [PATCH] - Update to version 2.3.3+git.1621448902.a55be54: * Changelog * render_kw tests for SelectField and MultipleSelectField * moved test to test_radio * pass RadioField (SelectFieldBase) render_kw dict in _Option class * Changelog * Logo integration * Changelog * Changelog * Always call setattr in FormField.populate * move test * add test * fix radiofield required bug - Skip failing tests with localization file (gh#wtforms/wtforms#697) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=21 --- WTForms-2.3.3.tar.gz | 3 --- _service | 15 ++++++++++++++ _servicedata | 4 ++++ python-WTForms.changes | 18 +++++++++++++++++ python-WTForms.spec | 22 ++++++++++----------- wtforms-2.3.3+git.1621448902.a55be54.tar.gz | 3 +++ 6 files changed, 51 insertions(+), 14 deletions(-) delete mode 100644 WTForms-2.3.3.tar.gz create mode 100644 _service create mode 100644 _servicedata create mode 100644 wtforms-2.3.3+git.1621448902.a55be54.tar.gz diff --git a/WTForms-2.3.3.tar.gz b/WTForms-2.3.3.tar.gz deleted file mode 100644 index f2a5494..0000000 --- a/WTForms-2.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c -size 162945 diff --git a/_service b/_service new file mode 100644 index 0000000..c137bb4 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + 2.3.3+git + https://github.com/wtforms/wtforms.git + git + .git* + enable + mcepl@cepl.eu + + + *.tar + gz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..ac2f312 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/wtforms/wtforms.git + 2249509ed2becf3c792cc134ac6e790a340cb93e \ No newline at end of file diff --git a/python-WTForms.changes b/python-WTForms.changes index 7e0c45f..ea2145f 100644 --- a/python-WTForms.changes +++ b/python-WTForms.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Jun 05 19:37:37 UTC 2021 - mcepl@cepl.eu + +- Update to version 2.3.3+git.1621448902.a55be54: + * Changelog + * render_kw tests for SelectField and MultipleSelectField + * moved test to test_radio + * pass RadioField (SelectFieldBase) render_kw dict in _Option class + * Changelog + * Logo integration + * Changelog + * Changelog + * Always call setattr in FormField.populate + * move test + * add test + * fix radiofield required bug +- Skip failing tests with localization file (gh#wtforms/wtforms#697) + ------------------------------------------------------------------- Thu Sep 10 05:49:47 UTC 2020 - Steve Kowalik diff --git a/python-WTForms.spec b/python-WTForms.spec index ad0a403..b4fa43a 100644 --- a/python-WTForms.spec +++ b/python-WTForms.spec @@ -1,7 +1,7 @@ # # spec file for package python-WTForms # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-WTForms -Version: 2.3.3 +Version: 2.3.3+git.1621448902.a55be54 Release: 0 Summary: A flexible forms validation and rendering library for Python web development License: BSD-3-Clause -URL: http://wtforms.simplecodes.com/ -Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.tar.gz +URL: https://github.com/wtforms/wtforms +# Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%%{version}.tar.gz +Source: wtforms-%{version}.tar.gz BuildRequires: %{python_module MarkupSafe} BuildRequires: %{python_module email_validator} BuildRequires: %{python_module setuptools} @@ -42,8 +43,8 @@ BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} # /SECTION -Provides: python-WTForms-lang -Obsoletes: python-WTForms-lang +Provides: python-WTForms-lang = %{version}-%{release} +Obsoletes: python-WTForms-lang < %{version} %python_subpackages %description @@ -59,12 +60,12 @@ Summary: Documentation for WTForms Documentation for WTForms, which is a forms validation and rendering library for Python web development. %prep -%setup -q -n WTForms-%{version} +%autosetup -p1 -n wtforms-%{version} %build %python_build # Fix wrong EOL-encoding -sed -i "s/\r//" CHANGES.rst +sed -i "s/\r//" CHANGES.rst # remove reference to ../CHANGES.rst rm docs/changes.rst @@ -73,9 +74,8 @@ rm docs/changes.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -pushd tests -%python_expand $python runtests.py -popd +# Excluded tests because of gh#wtforms/wtforms#697 +%pytest -k 'not (test_us_translation or test_defaults or test_override_languages or test_ngettext or test_cache or test_typeerror or test_formatting or test_parsing)' %files %{python_files} %license LICENSE.rst diff --git a/wtforms-2.3.3+git.1621448902.a55be54.tar.gz b/wtforms-2.3.3+git.1621448902.a55be54.tar.gz new file mode 100644 index 0000000..9569573 --- /dev/null +++ b/wtforms-2.3.3+git.1621448902.a55be54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb8ac9b0bef577fb83e08d489081f2750ab9b36d9d770bdd76ca0a9f8f833f98 +size 120086