pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-wtforms



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Feb  7 09:27:02 UTC 2025

Modified Files:
        pkgsrc/www/py-wtforms: Makefile PLIST distinfo

Log Message:
py-wtforms: updated to 3.2.1

Version 3.2.1

- Fix :class:`~fields.SelectMultipleBase` import. :issue:`861` :pr:`862`

Version 3.2.0

- Translations update: korean, chinese (traditional), portugese, russian,
  dutch, kazakh, swedish, turkish, slovak, ukranian, spanish, french.
- Move the repository to the pallets-eco organization. :pr:`854`
- Stop supporting Python 3.9 and start supporting Python 3.13 :pr:`855`
- Removed `required` flag support from :class:`~fields.HiddenWidget`,
  :class:`~fields.RangeWidget` and :class:`~fields.SelectWidget` to
  conform to W3C :pr:`810`
- :class:`~wtforms.validators.NoneOf` and :class:`~wtforms.validators.AnyOf`
  can validate multiple valued fields like :class:`~fields.SelectMultipleField`
  :pr:`538` :pr:`807`
- Use GHA and pre-commit workflows inspired from Flask. :pr:`856` :pr:`860`
- ⚠️Breaking change⚠️: Some deprecated code was removed (:pr:`859`):

  - :class:`~wtforms.Flags` can no longer be tuples. :issue:`467`
  - `iter_choices` needs a tuple of 4 items :issue:`816`

- ⚠️Breaking change⚠️: The key for form errors moved from :data:`None` to
  empty string `""`. :issue:`829` :pr:`858`

.. note::
   If you need to keep the old behavior you can set the ``_form_error_key``
   parameter of your form to :data:`None`.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/py-wtforms/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-wtforms/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-wtforms/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-wtforms/Makefile
diff -u pkgsrc/www/py-wtforms/Makefile:1.20 pkgsrc/www/py-wtforms/Makefile:1.21
--- pkgsrc/www/py-wtforms/Makefile:1.20 Wed Mar  6 21:39:44 2024
+++ pkgsrc/www/py-wtforms/Makefile      Fri Feb  7 09:27:02 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/03/06 21:39:44 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2025/02/07 09:27:02 adam Exp $
 
-DISTNAME=      wtforms-3.1.2
+DISTNAME=      wtforms-3.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/WTForms/}
@@ -10,23 +10,18 @@ HOMEPAGE=   https://wtforms.readthedocs.io
 COMMENT=       Flexible forms validation and rendering library
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
-DEPENDS+=      ${PYPKGPREFIX}-babel>=2.6.0:../../devel/py-babel
-DEPENDS+=      ${PYPKGPREFIX}-email_validator-[0-9]*:../../mail/py-email_validator
+TOOL_DEPENDS+= ${PYPKGPREFIX}-babel>=2.6.0:../../devel/py-babel
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
+# email
+DEPENDS+=      ${PYPKGPREFIX}-email_validator-[0-9]*:../../mail/py-email_validator
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-USE_LANGUAGES= # empty
+USE_LANGUAGES= # none
 
 .include "../../lang/python/pyversion.mk"
-
 .if ${PYTHON_VERSION} > 311
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 .endif
 
-post-extract:
-       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-wtforms/PLIST
diff -u pkgsrc/www/py-wtforms/PLIST:1.10 pkgsrc/www/py-wtforms/PLIST:1.11
--- pkgsrc/www/py-wtforms/PLIST:1.10    Wed Mar  6 21:25:50 2024
+++ pkgsrc/www/py-wtforms/PLIST Fri Feb  7 09:27:02 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2024/03/06 21:25:50 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2025/02/07 09:27:02 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -82,6 +82,8 @@ ${PYSITELIB}/wtforms/locale/it/LC_MESSAG
 ${PYSITELIB}/wtforms/locale/it/LC_MESSAGES/wtforms.po
 ${PYSITELIB}/wtforms/locale/ja/LC_MESSAGES/wtforms.mo
 ${PYSITELIB}/wtforms/locale/ja/LC_MESSAGES/wtforms.po
+${PYSITELIB}/wtforms/locale/kk/LC_MESSAGES/wtforms.mo
+${PYSITELIB}/wtforms/locale/kk/LC_MESSAGES/wtforms.po
 ${PYSITELIB}/wtforms/locale/ko/LC_MESSAGES/wtforms.mo
 ${PYSITELIB}/wtforms/locale/ko/LC_MESSAGES/wtforms.po
 ${PYSITELIB}/wtforms/locale/nb/LC_MESSAGES/wtforms.mo

Index: pkgsrc/www/py-wtforms/distinfo
diff -u pkgsrc/www/py-wtforms/distinfo:1.16 pkgsrc/www/py-wtforms/distinfo:1.17
--- pkgsrc/www/py-wtforms/distinfo:1.16 Wed Mar  6 21:25:50 2024
+++ pkgsrc/www/py-wtforms/distinfo      Fri Feb  7 09:27:02 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2024/03/06 21:25:50 wiz Exp $
+$NetBSD: distinfo,v 1.17 2025/02/07 09:27:02 adam Exp $
 
-BLAKE2s (wtforms-3.1.2.tar.gz) = d2edcb7a27fb6a19d8914e37586a2a0a92623ff248427ab5d4fa53eecdc241ba
-SHA512 (wtforms-3.1.2.tar.gz) = 4c4203c735f755cedf9c20ddf9805d1e80096fe2fb499dc91a9608df0ac5eb0ddf6c67eea782f9507d14b14e362454f50b567dc5518ca95ce090305a44436873
-Size (wtforms-3.1.2.tar.gz) = 134705 bytes
+BLAKE2s (wtforms-3.2.1.tar.gz) = 9192fa797354de0a3492caf02096772d0ab5c05b57c1b7a8d3cf004543343a1f
+SHA512 (wtforms-3.2.1.tar.gz) = 96aa2934e39f95f2a2d0db4cd8026215cb0adea2df9bd235305b2857f2e5eecc3ea4e959ff1c1d46090213d348bccf70df19efaf73059074d1f02c577cbb1fdf
+Size (wtforms-3.2.1.tar.gz) = 137801 bytes



Home | Main Index | Thread Index | Old Index