pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-wtforms py-wtforms: Update to 3.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82672e8b9517
branches:  trunk
changeset: 379930:82672e8b9517
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Wed May 25 15:19:54 2022 +0000

description:
py-wtforms: Update to 3.0.1.

Version 3.0.1
-------------

Released 2021-12-23

-   Fixed :class:`~fields.DateTimeField` and other similar fields can
    handle multiple formats. :issue:`720` :pr:`721`
-   Stop support for python 3.6 :pr:`722`

Version 3.0.0
-------------

Released 2021-11-07

-   Fixed :class:`~fields.RadioField` validators. :issue:`477` :pr:`615`
-   :meth:`~fields.FormField.populate_obj` always calls :func:`setattr`
    :pr:`675`
-   WTForms has a new logo. :issue:`569` :pr:`689`
-   Fixed :class:`~fields.RadioField` `render_kw` rendering. :issue:`490`
    :pr:`628` :pr:`688`
-   Support for optgroups in :class:`~fields.SelectField` and
    :class:`~fields.SelectMultipleField`. :issue:`656` :pr:`667`
-   Minor documentation fix. :issue:`701`
-   Custom separators for :class:`~fields.FieldList`. :issue:`681` :pr:`694`
-   :class:`~fields.DateTimeField`, :class:`~fields.DateField` and
    :class:`~fields.TimeField` support time formats that removes leading
    zeros. :pr:`703`
-   Refactoring: split `fields/core.py` and `fields/simple.py` :pr:`710`

Version 3.0.0a1
---------------

Released 2020-11-23

-   Drop support for Python < 3.6. :pr:`554`
-   :class:`~fields.StringField` sets ``data`` to ``None`` when form
    data is empty and an initial value was not provided. Although it
    previously set an empty string, ``None`` is consistent with the
    behavior of other fields. :pr:`355`
-   Specified version of Babel required for setup to avoid errors.
    :pr:`430`
-   Replaced use of ``getattr``/``setattr`` with regular variable
    access. :issue:`482`
-   :class:`ValueError` raised by a validator are handled like regular
    exceptions. Validators need to raise
    :class:`~validators.ValidationError` or
    :class:`~validators.StopValidation` to make a validation fail.
    :issue:`445`
-   :class:`~fields.SelectField`, :class:`~fields.SelectMultipleField` and
    :class:`~fields.RadioField` *choices* parameter can be a callable.
    :pr:`608`
-   Choices shortcut for :class:`~fields.core.SelectMultipleField`.
    :issue:`603` :pr:`605`
-   Forms can have form-level errors. :issue:`55` :pr:`595`
-   Implemented :class:`~wtforms.fields.core.MonthField`. :pr:`530` :pr:`593`
-   Filters can be inline. :meth:`form.BaseForm.process` takes a
    *extra_filters* parameter. :issue:`128` :pr:`592`
-   Fields can be passed the ``name`` argument to use a HTML name
    different than their Python name. :issue:`205`, :pr:`601`
-   Render attribute names like ``for_`` and ``class_`` are normalized
    consistently so later values override those specified earlier.
    :issue:`449`, :pr:`596`
-   Flags can take non-boolean values. :issue:`406` :pr:`467`
-   Widgets are HTML5 by default. :issue:`594` :pr:`614`
-   Fixed a bug when the :class:`~wtforms.fields.core.SelectField` choices
    are list of strings. :pr:`598`
-   Error messages standardization. :issue:`613` :pr:`620` :pr:`626` :pr:`627`
-   :class:`~wtforms.fields.core.SelectMultipleField` `validate_choice`
    bugfix. :issue:`606` :pr:`642`
-   Fixed SelectMultipleField validation when using choices list shortcut.
    :issue:`612` :pr:`661`

diffstat:

 www/py-wtforms/Makefile |  12 ++----
 www/py-wtforms/PLIST    |  95 ++++++++----------------------------------------
 www/py-wtforms/distinfo |   8 ++--
 3 files changed, 24 insertions(+), 91 deletions(-)

diffs (171 lines):

diff -r 177e39330b12 -r 82672e8b9517 www/py-wtforms/Makefile
--- a/www/py-wtforms/Makefile   Wed May 25 14:06:36 2022 +0000
+++ b/www/py-wtforms/Makefile   Wed May 25 15:19:54 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2022/01/04 20:55:38 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/05/25 15:19:54 kleink Exp $
 
-DISTNAME=      WTForms-2.3.3
+DISTNAME=      WTForms-3.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/WTForms/}
 
@@ -13,15 +12,12 @@
 
 USE_LANGUAGES= # empty
 
-.include "../../lang/python/pyversion.mk"
-
 DEPENDS+=      ${PYPKGPREFIX}-babel>=2.6.0:../../devel/py-babel
 DEPENDS+=      ${PYPKGPREFIX}-email_validator-[0-9]*:../../mail/py-email_validator
-.if ${_PYTHON_VERSION} < 33
-DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-.endif
 DEPENDS+=      ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-extract:
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
 
diff -r 177e39330b12 -r 82672e8b9517 www/py-wtforms/PLIST
--- a/www/py-wtforms/PLIST      Wed May 25 14:06:36 2022 +0000
+++ b/www/py-wtforms/PLIST      Wed May 25 15:19:54 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2018/11/12 12:25:51 kleink Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/05/25 15:19:54 kleink Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,9 +7,6 @@
 ${PYSITELIB}/wtforms/__init__.py
 ${PYSITELIB}/wtforms/__init__.pyc
 ${PYSITELIB}/wtforms/__init__.pyo
-${PYSITELIB}/wtforms/compat.py
-${PYSITELIB}/wtforms/compat.pyc
-${PYSITELIB}/wtforms/compat.pyo
 ${PYSITELIB}/wtforms/csrf/__init__.py
 ${PYSITELIB}/wtforms/csrf/__init__.pyc
 ${PYSITELIB}/wtforms/csrf/__init__.pyo
@@ -19,84 +16,27 @@
 ${PYSITELIB}/wtforms/csrf/session.py
 ${PYSITELIB}/wtforms/csrf/session.pyc
 ${PYSITELIB}/wtforms/csrf/session.pyo
-${PYSITELIB}/wtforms/ext/__init__.py
-${PYSITELIB}/wtforms/ext/__init__.pyc
-${PYSITELIB}/wtforms/ext/__init__.pyo
-${PYSITELIB}/wtforms/ext/appengine/__init__.py
-${PYSITELIB}/wtforms/ext/appengine/__init__.pyc
-${PYSITELIB}/wtforms/ext/appengine/__init__.pyo
-${PYSITELIB}/wtforms/ext/appengine/db.py
-${PYSITELIB}/wtforms/ext/appengine/db.pyc
-${PYSITELIB}/wtforms/ext/appengine/db.pyo
-${PYSITELIB}/wtforms/ext/appengine/fields.py
-${PYSITELIB}/wtforms/ext/appengine/fields.pyc
-${PYSITELIB}/wtforms/ext/appengine/fields.pyo
-${PYSITELIB}/wtforms/ext/appengine/ndb.py
-${PYSITELIB}/wtforms/ext/appengine/ndb.pyc
-${PYSITELIB}/wtforms/ext/appengine/ndb.pyo
-${PYSITELIB}/wtforms/ext/csrf/__init__.py
-${PYSITELIB}/wtforms/ext/csrf/__init__.pyc
-${PYSITELIB}/wtforms/ext/csrf/__init__.pyo
-${PYSITELIB}/wtforms/ext/csrf/fields.py
-${PYSITELIB}/wtforms/ext/csrf/fields.pyc
-${PYSITELIB}/wtforms/ext/csrf/fields.pyo
-${PYSITELIB}/wtforms/ext/csrf/form.py
-${PYSITELIB}/wtforms/ext/csrf/form.pyc
-${PYSITELIB}/wtforms/ext/csrf/form.pyo
-${PYSITELIB}/wtforms/ext/csrf/session.py
-${PYSITELIB}/wtforms/ext/csrf/session.pyc
-${PYSITELIB}/wtforms/ext/csrf/session.pyo
-${PYSITELIB}/wtforms/ext/dateutil/__init__.py
-${PYSITELIB}/wtforms/ext/dateutil/__init__.pyc
-${PYSITELIB}/wtforms/ext/dateutil/__init__.pyo
-${PYSITELIB}/wtforms/ext/dateutil/fields.py
-${PYSITELIB}/wtforms/ext/dateutil/fields.pyc
-${PYSITELIB}/wtforms/ext/dateutil/fields.pyo
-${PYSITELIB}/wtforms/ext/django/__init__.py
-${PYSITELIB}/wtforms/ext/django/__init__.pyc
-${PYSITELIB}/wtforms/ext/django/__init__.pyo
-${PYSITELIB}/wtforms/ext/django/fields.py
-${PYSITELIB}/wtforms/ext/django/fields.pyc
-${PYSITELIB}/wtforms/ext/django/fields.pyo
-${PYSITELIB}/wtforms/ext/django/i18n.py
-${PYSITELIB}/wtforms/ext/django/i18n.pyc
-${PYSITELIB}/wtforms/ext/django/i18n.pyo
-${PYSITELIB}/wtforms/ext/django/orm.py
-${PYSITELIB}/wtforms/ext/django/orm.pyc
-${PYSITELIB}/wtforms/ext/django/orm.pyo
-${PYSITELIB}/wtforms/ext/django/templatetags/__init__.py
-${PYSITELIB}/wtforms/ext/django/templatetags/__init__.pyc
-${PYSITELIB}/wtforms/ext/django/templatetags/__init__.pyo
-${PYSITELIB}/wtforms/ext/django/templatetags/wtforms.py
-${PYSITELIB}/wtforms/ext/django/templatetags/wtforms.pyc
-${PYSITELIB}/wtforms/ext/django/templatetags/wtforms.pyo
-${PYSITELIB}/wtforms/ext/i18n/__init__.py
-${PYSITELIB}/wtforms/ext/i18n/__init__.pyc
-${PYSITELIB}/wtforms/ext/i18n/__init__.pyo
-${PYSITELIB}/wtforms/ext/i18n/form.py
-${PYSITELIB}/wtforms/ext/i18n/form.pyc
-${PYSITELIB}/wtforms/ext/i18n/form.pyo
-${PYSITELIB}/wtforms/ext/i18n/utils.py
-${PYSITELIB}/wtforms/ext/i18n/utils.pyc
-${PYSITELIB}/wtforms/ext/i18n/utils.pyo
-${PYSITELIB}/wtforms/ext/sqlalchemy/__init__.py
-${PYSITELIB}/wtforms/ext/sqlalchemy/__init__.pyc
-${PYSITELIB}/wtforms/ext/sqlalchemy/__init__.pyo
-${PYSITELIB}/wtforms/ext/sqlalchemy/fields.py
-${PYSITELIB}/wtforms/ext/sqlalchemy/fields.pyc
-${PYSITELIB}/wtforms/ext/sqlalchemy/fields.pyo
-${PYSITELIB}/wtforms/ext/sqlalchemy/orm.py
-${PYSITELIB}/wtforms/ext/sqlalchemy/orm.pyc
-${PYSITELIB}/wtforms/ext/sqlalchemy/orm.pyo
 ${PYSITELIB}/wtforms/fields/__init__.py
 ${PYSITELIB}/wtforms/fields/__init__.pyc
 ${PYSITELIB}/wtforms/fields/__init__.pyo
+${PYSITELIB}/wtforms/fields/choices.py
+${PYSITELIB}/wtforms/fields/choices.pyc
+${PYSITELIB}/wtforms/fields/choices.pyo
 ${PYSITELIB}/wtforms/fields/core.py
 ${PYSITELIB}/wtforms/fields/core.pyc
 ${PYSITELIB}/wtforms/fields/core.pyo
-${PYSITELIB}/wtforms/fields/html5.py
-${PYSITELIB}/wtforms/fields/html5.pyc
-${PYSITELIB}/wtforms/fields/html5.pyo
+${PYSITELIB}/wtforms/fields/datetime.py
+${PYSITELIB}/wtforms/fields/datetime.pyc
+${PYSITELIB}/wtforms/fields/datetime.pyo
+${PYSITELIB}/wtforms/fields/form.py
+${PYSITELIB}/wtforms/fields/form.pyc
+${PYSITELIB}/wtforms/fields/form.pyo
+${PYSITELIB}/wtforms/fields/list.py
+${PYSITELIB}/wtforms/fields/list.pyc
+${PYSITELIB}/wtforms/fields/list.pyo
+${PYSITELIB}/wtforms/fields/numeric.py
+${PYSITELIB}/wtforms/fields/numeric.pyc
+${PYSITELIB}/wtforms/fields/numeric.pyo
 ${PYSITELIB}/wtforms/fields/simple.py
 ${PYSITELIB}/wtforms/fields/simple.pyc
 ${PYSITELIB}/wtforms/fields/simple.pyo
@@ -183,6 +123,3 @@
 ${PYSITELIB}/wtforms/widgets/core.py
 ${PYSITELIB}/wtforms/widgets/core.pyc
 ${PYSITELIB}/wtforms/widgets/core.pyo
-${PYSITELIB}/wtforms/widgets/html5.py
-${PYSITELIB}/wtforms/widgets/html5.pyc
-${PYSITELIB}/wtforms/widgets/html5.pyo
diff -r 177e39330b12 -r 82672e8b9517 www/py-wtforms/distinfo
--- a/www/py-wtforms/distinfo   Wed May 25 14:06:36 2022 +0000
+++ b/www/py-wtforms/distinfo   Wed May 25 15:19:54 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 11:30:51 nia Exp $
+$NetBSD: distinfo,v 1.15 2022/05/25 15:19:54 kleink Exp $
 
-BLAKE2s (WTForms-2.3.3.tar.gz) = d30d8d54eee3e42e66627bdd8d3fdb15c3ea45b3b26b4c97146970b42c6846f4
-SHA512 (WTForms-2.3.3.tar.gz) = 934cf1483beec37d698d13a81e44a733d082baad1f418d3087306fd908df809d37fffe000ed1ecabf65d2c31b57034bf6f25c3b77cfc5598ae1f65bf4a115fe5
-Size (WTForms-2.3.3.tar.gz) = 162945 bytes
+BLAKE2s (WTForms-3.0.1.tar.gz) = 4f4e2e3bd497d7f62b579d02d646a49431cef2b95d788af017eee632c22716fe
+SHA512 (WTForms-3.0.1.tar.gz) = a6db54a7ef9bc96b8fdf69cd65d3810fab9436ff9c056e1cfc580f5ecd0ed8837dcbb7c2adf92419cc5f74e865bb3a023e316407a87d5c5277da5d30e6836fb3
+Size (WTForms-3.0.1.tar.gz) = 137513 bytes



Home | Main Index | Thread Index | Old Index