14
0
Files
python-WTForms/python-WTForms.spec

110 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-WTForms
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-WTForms
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
Version: 2.1
Release: 0
Summary: A flexible forms validation and rendering library for Python web development
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://wtforms.simplecodes.com/
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
BuildRequires: python-rpm-macros
BuildRequires: unzip
Recommends: python-Babel
Recommends: python-Django
Recommends: python-SQLAlchemy
Recommends: python-python-dateutil
BuildArch: noarch
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%if %{with test}
BuildRequires: python3-Babel
BuildRequires: python3-Django
BuildRequires: python3-SQLAlchemy
BuildRequires: python3-python-dateutil
%endif
%python_subpackages
%description
WTForms is a forms validation and rendering library for Python web development.
With WTForms, form field HTML can be generated and be customized with templates.
This allows to maintain separation of code and presentation, and keep those parameters out of Python code.
Because of this loose coupling, any template engine may be used for this.
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%package -n %{name}-doc
Summary: Documentation for WTForms
Group: Documentation/HTML
Requires: %{name} = %{version}
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%description -n %{name}-doc
Documentation for WTForms, which is a forms validation and rendering library for Python web development.
%package lang
# FIXME: consider using %%lang_package macro
Summary: Languages for package %{name}
Group: System/Localization
Requires: %{name} = %{version}
Supplements: packageand(bundle-lang-other:%{name})
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
Provides: %{name}-lang-all = %{version}
%description lang
Provides translations to the package %{name}
%prep
%setup -q -n WTForms-%{version}
sed -i "s/\r//" CHANGES.rst docs/html/_static/jquery.js # Fix wrong EOL-encoding
rm -rf docs/html/.buildinfo # Remove junk
%build
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%python_build
%install
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%python_install
%find_lang wtforms
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%python_expand grep -F "%{$python_sitelib}" wtforms.lang > wtforms_%{$python_bin_suffix}.lang
%python_expand %fdupes %{buildroot}%{$python_sitelib}
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%if %{with test}
%check
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%python_exec setup.py test
%endif
%files %{python_files}
%license LICENSE.txt
%doc AUTHORS.txt CHANGES.rst README.md
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%{python_sitelib}/*
%exclude %{python_sitelib}/wtforms/locale
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%files -n %{name}-doc
%doc docs/html
%if %{have_python2} && ! 0%{?skip_python2}
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%files -n %{python2_prefix}-WTForms-lang -f wtforms_%{python2_bin_suffix}.lang
%{python2_sitelib}/wtforms/locale
%endif
%if %{have_python2} && ! 0%{?skip_python3}
Accepting request 519975 from devel:languages:python:singlespec-staging - Update to version 2.1 * Added `render_kw` to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags - singlespec auto-conversion - update to version 2.0.2: * Added more localizations and updated some * Validators for email and URL can validate IDNA-encoded domain names and new TLDs * Better DeprecationWarnings * Support localization files in /usr/share/locale (for distro packaging) - additional changes from version 2.0.1 * Released July 1, 2014 * Update wheel install to conditionally install ordereddict for python 2.6 * Doc improvements - additional changes from version 2.0 * Add new class Meta paradigm for much more powerful customization of WTForms * Move i18n into core. Deprecate wtforms.ext.i18n * Move CSRF into core. Deprecate wtforms.ext.csrf * Fix issue rendering SelectFields with value=True * Make DecimalField able to use babel locale-based number formatting * Drop Python 3.2 support (Python3 support for 3.3+ only) * passing attr=False to WTForms widgets causes the value to be ignored * Unique validator in wtforms.ext.sqlalchemy has been removed - add new dependency python-ordereddict for SLE11 - update the list of files to fix end of line encoding - use %find_lang for the lang subpackage: paths changed upstream - run the tests during build - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.md: changed upstream - Updated to version 1.0.5: + Fix a bug in validators which causes translations to happen once then clobber any future translations. + ext.sqlalchemy / ext.appengine: minor cleanups / deprecation. + Allow blank string and the string 'false' to be considered false values for BooleanField (configurable). This is technically a breaking change, but it is not likey to affect the majority of users adversely. + ext.i18n form allows passing LANGUAGES to the constructor. - from version 1.0.4: + Add widgets and field implementations for HTML5 specialty input types. + ext.appengine: Add NDB support. + Add translations: Korean, Traditional Chinese - cleaned up spec file: + created a doc package + rpmlint lang warnings script taken from python-wxWidgets - Require python-setuptools instead of distribute (upstreams merged) - Update to version 1.0.3 + Tests complete in python 3.2/3.3. + Localization for ru, fr. + Minor fixes in documentation for clarity. + FieldList now can take validators on the entire FieldList. + ext.sqlalchemy model_form: * Fix issue with QuerySelectField * Fix issue in ColumnDefault conversion * Support Enum type + Field class now allows traversal in Django 1.4 templates. - Initial python3 support - Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation - Further changes to spec based on review - Changes to spec file based on review - New package wtforms OBS-URL: https://build.opensuse.org/request/show/519975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=9
2017-08-31 16:27:33 +00:00
%files -n %{python3_prefix}-WTForms-lang -f wtforms_%{python3_bin_suffix}.lang
%{python3_sitelib}/wtforms/locale
%endif
%changelog