pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django-phonenumber-field



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 26 10:25:56 UTC 2024

Modified Files:
        pkgsrc/www/py-django-phonenumber-field: Makefile distinfo

Log Message:
py-django-phonenumber-field: updated to 8.0.0

8.0.0

Breaking changes

Remove PhoneNumberInternationalFallbackWidget

Use phonenumber_field.widgets.RegionalPhoneNumberWidget instead.

Move validation from widgets to the form fields

Previously, the widgets were validating the phone number, leaving no room for the django regular validation procedure. If you performed custom validation on PhoneNumberFields, see the migration guide 
below.

Other changes

Drop support for Django 4.1
docs: Fix representation of serializer


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-django-phonenumber-field/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-django-phonenumber-field/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-django-phonenumber-field/Makefile
diff -u pkgsrc/www/py-django-phonenumber-field/Makefile:1.7 pkgsrc/www/py-django-phonenumber-field/Makefile:1.8
--- pkgsrc/www/py-django-phonenumber-field/Makefile:1.7 Mon Nov 11 07:29:19 2024
+++ pkgsrc/www/py-django-phonenumber-field/Makefile     Tue Nov 26 10:25:55 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2024/11/11 07:29:19 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2024/11/26 10:25:55 adam Exp $
 
-DISTNAME=      django-phonenumber-field-7.3.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      django_phonenumber_field-8.0.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-phonenumber-field/}
 
@@ -16,9 +16,7 @@ DEPENDS+=     ${PYPKGPREFIX}-django>=3.2:../
 # phonenumbers
 DEPENDS+=      ${PYPKGPREFIX}-phonenumbers>=7.0.2:../../textproc/py-phonenumbers
 
-USE_LANGUAGES=         # none
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+USE_LANGUAGES= # none
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-django-phonenumber-field/distinfo
diff -u pkgsrc/www/py-django-phonenumber-field/distinfo:1.5 pkgsrc/www/py-django-phonenumber-field/distinfo:1.6
--- pkgsrc/www/py-django-phonenumber-field/distinfo:1.5 Thu Feb  8 14:41:41 2024
+++ pkgsrc/www/py-django-phonenumber-field/distinfo     Tue Nov 26 10:25:55 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2024/02/08 14:41:41 adam Exp $
+$NetBSD: distinfo,v 1.6 2024/11/26 10:25:55 adam Exp $
 
-BLAKE2s (django-phonenumber-field-7.3.0.tar.gz) = 6886a129efb391fc119de627a918082a63a65f362ad30c3389bec22e7d66e197
-SHA512 (django-phonenumber-field-7.3.0.tar.gz) = 8460259cb6adc5a6b968f81d31e8b62681ef8b485a3bd96bd618ca0f599353ceedf337bc2b5eb5db276d982bf88f821369ef1611d160c0071427da28c45bfd8d
-Size (django-phonenumber-field-7.3.0.tar.gz) = 43005 bytes
+BLAKE2s (django_phonenumber_field-8.0.0.tar.gz) = 006a6bf989aeb0f8a2bf8b2b64a1f99906885c1e31ec9b14b0da215f9260f858
+SHA512 (django_phonenumber_field-8.0.0.tar.gz) = 047ea5b35b52f46e905bdbad6f18ba96f24d4aa89dc7022390b5d15b691998f0155aa819f4529fe9b58174ec19db9a692423fb15915f66ea9eaa4c5397fb4a90
+Size (django_phonenumber_field-8.0.0.tar.gz) = 43759 bytes



Home | Main Index | Thread Index | Old Index