pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-django-localflavor
Module Name: pkgsrc
Committed By: adam
Date: Fri Oct 31 10:53:34 UTC 2025
Modified Files:
pkgsrc/www/py-django-localflavor: Makefile PLIST distinfo
Log Message:
py-django-localflavor: updated to 5.0
5.0 (2025-05-21)
------------------
Breaking data changes:
- NP: A data migration is required for users of `np.forms.NPProvinceSelect` and `np.forms.NPZoneSelect`. The following was
changed:
- `NPProvinceSelect`: province1 and province2 were removed and replaced with koshi and madhesh.
- `NPZoneSelect`: dandaki was corrected to gandaki (fixed typo).
- NO: A data migration is required for users of `no.forms.NOMunicipalitySelect`. `MUNICIPALITY_CHOICES` was updated to the
values in the 2024 update:
- austagder and vestagder have been removed and combined into agder.
- hordaland and sognogfjordane have been removed and combined into vestland.
- nordtrondelag and sortrondelag have been removed and combined into trondelag.
- hedmark and oppland have been removed and combined into innlandet.
- LV: A data migration is required for users of `lv.forms.LVMunicipalitySelect`. `MUNICIPALITY_CHOICES` was updated to the
values in the 2021 municipal reform. Details of this change can be found here:
https://en.wikipedia.org/wiki/ISO_3166-2:LV#Changes
A warning message will be displayed when `lv.forms.LVMunicipalitySelect` or `nl.forms.NOMunicipalitySelect` are used.
See the `localflavor online docs <https://django-localflavor.readthedocs.io/en/latest/#backwards-compatibility>`_ for
instructions on how to suppress this warning once the migration has been completed.
New flavors:
- Sri Lanka LocalFlavor: Support for Sri Lanka added
(`gh-493 <https://github.com/django/django-localflavor/pull/493>`_).
New fields for existing flavors:
- Added CIN Number field in Morocco flavor
(`gh-705 <https://github.com/django/django-localflavor/pull/507>`_).
Modifications to existing flavors:
- Fix Belarus passport field description punctuation
(`gh-484 <https://github.com/django/django-localflavor/pull/484>`_).
- Change `Kiev` to `Kyiv` 🇺🇦 according to ISO_3166-2:UA
- Accept French Postal Services identifiers in forms
(`gh-505 <https://github.com/django/django-localflavor/pull/505>`_).
- Extended validation of Kuwaiti Civil ID to avoid allowing invalid century Civil IDs
(`gh-511 <https://github.com/django/django-localflavor/pull/511>`_).
- Added birthdate extraction function from Kuwaiti Civil ID
(`gh-511 <https://github.com/django/django-localflavor/pull/511>`_).
- Deprecated `kw.forms.is_valid_kw_civilid_checksum` in favor of `kw.utils.is_valid_civil_id`
(`gh-511 <https://github.com/django/django-localflavor/pull/511>`_).
- Fix validation of the Romanian CNP for years ending with `00`
(`gh-515 <https://github.com/django/django-localflavor/pull/515>`_).
- Allow formatted values in `FRSIRENField` and `FRSIRETField` to be saved
(`gh-518 <https://github.com/django/django-localflavor/pull/518>`_),
(`gh-520 <https://github.com/django/django-localflavor/pull/520>`_).
- Add min and max length to brazilian Postal Code form field
(`gh-490 <https://github.com/django/django-localflavor/pull/490>`_).
- Brazilian model fields CPF, CNPJ and PostalCode create correct form
field when used by DjangoModelForm
(`gh-490 <https://github.com/django/django-localflavor/pull/490>`_).
- Update list of Latvia municipalities after municipal reform from 2021
(`gh-519 <https://github.com/django/django-localflavor/pull/519>`_).
- Update list of Norwegian counties(fylker) `according to changes at the start of 2024 <https://en.wikipedia.org/wiki/Counties_of_Norway#List_of_counties>`_
The changed counties are as follows:
- austagder and vestagder have been removed and combined into agder.
- hordaland and sognogfjordane have been removed and combined into vestland.
- nordtrondelag and sortrondelag have been removed and combined into trondelag.
- hedmark and oppland have been removed and combined into innlandet.
(`gh-509 <https://github.com/django/django-localflavor/pull/509/files>`_).
- Corrections in Nepal localflavor:
- `NPProvinceSelect`: province1 and province2 were removed and replaced with koshi and madhesh.
- `NPZoneSelect`: dandaki was corrected to gandaki (fixed typo).
(`gh-506 <https://github.com/django/django-localflavor/pull/506/files>`_).
- Allow formatted IBANs longer than 26 chars to be saved in `IBANField`
(`gh-522 <https://github.com/django/django-localflavor/pull/522>`_).
Other changes:
- Dropped support for Python < 3.9.
- Dropped support for Django < 4.2.
- Added support for Python 3.12 and 3.13.
- Added support for Django 5.0, 5.1, and 5.2.
- Switched to pyproject.toml based package build using the setuptools build backend.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-django-localflavor/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-django-localflavor/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-django-localflavor/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-localflavor/Makefile
diff -u pkgsrc/www/py-django-localflavor/Makefile:1.7 pkgsrc/www/py-django-localflavor/Makefile:1.8
--- pkgsrc/www/py-django-localflavor/Makefile:1.7 Mon Apr 14 13:30:03 2025
+++ pkgsrc/www/py-django-localflavor/Makefile Fri Oct 31 10:53:33 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2025/04/14 13:30:03 adam Exp $
+# $NetBSD: Makefile,v 1.8 2025/10/31 10:53:33 adam Exp $
-DISTNAME= django-localflavor-4.0
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+DISTNAME= django_localflavor-5.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-localflavor/}
@@ -12,7 +11,7 @@ COMMENT= L18N support for Django
LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-DEPENDS+= ${PYPKGPREFIX}-django>=3.2:../../www/py-django
+DEPENDS+= ${PYPKGPREFIX}-django>=4.2:../../www/py-django
DEPENDS+= ${PYPKGPREFIX}-stdnum>=1.6:../../misc/py-stdnum
USE_LANGUAGES= # none
Index: pkgsrc/www/py-django-localflavor/PLIST
diff -u pkgsrc/www/py-django-localflavor/PLIST:1.3 pkgsrc/www/py-django-localflavor/PLIST:1.4
--- pkgsrc/www/py-django-localflavor/PLIST:1.3 Mon Apr 14 13:30:03 2025
+++ pkgsrc/www/py-django-localflavor/PLIST Fri Oct 31 10:53:33 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2025/04/14 13:30:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/10/31 10:53:33 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -418,6 +418,24 @@ ${PYSITELIB}/localflavor/kw/kw_areas.pyo
${PYSITELIB}/localflavor/kw/kw_governorates.py
${PYSITELIB}/localflavor/kw/kw_governorates.pyc
${PYSITELIB}/localflavor/kw/kw_governorates.pyo
+${PYSITELIB}/localflavor/kw/utils.py
+${PYSITELIB}/localflavor/kw/utils.pyc
+${PYSITELIB}/localflavor/kw/utils.pyo
+${PYSITELIB}/localflavor/lk/__init__.py
+${PYSITELIB}/localflavor/lk/__init__.pyc
+${PYSITELIB}/localflavor/lk/__init__.pyo
+${PYSITELIB}/localflavor/lk/forms.py
+${PYSITELIB}/localflavor/lk/forms.pyc
+${PYSITELIB}/localflavor/lk/forms.pyo
+${PYSITELIB}/localflavor/lk/lk_districts.py
+${PYSITELIB}/localflavor/lk/lk_districts.pyc
+${PYSITELIB}/localflavor/lk/lk_districts.pyo
+${PYSITELIB}/localflavor/lk/lk_provinces.py
+${PYSITELIB}/localflavor/lk/lk_provinces.pyc
+${PYSITELIB}/localflavor/lk/lk_provinces.pyo
+${PYSITELIB}/localflavor/lk/models.py
+${PYSITELIB}/localflavor/lk/models.pyc
+${PYSITELIB}/localflavor/lk/models.pyo
${PYSITELIB}/localflavor/locale/ar/LC_MESSAGES/django.mo
${PYSITELIB}/localflavor/locale/ar/LC_MESSAGES/django.po
${PYSITELIB}/localflavor/locale/ar_DZ/LC_MESSAGES/django.mo
Index: pkgsrc/www/py-django-localflavor/distinfo
diff -u pkgsrc/www/py-django-localflavor/distinfo:1.2 pkgsrc/www/py-django-localflavor/distinfo:1.3
--- pkgsrc/www/py-django-localflavor/distinfo:1.2 Sat Dec 2 08:07:41 2023
+++ pkgsrc/www/py-django-localflavor/distinfo Fri Oct 31 10:53:33 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/12/02 08:07:41 adam Exp $
+$NetBSD: distinfo,v 1.3 2025/10/31 10:53:33 adam Exp $
-BLAKE2s (django-localflavor-4.0.tar.gz) = ada41dc79203ef53c5e24c9d24379517162137a89fbb5ed1439a477f3fe86d3d
-SHA512 (django-localflavor-4.0.tar.gz) = 1a1e9004befb853f7e18219266da7f0733e8cf30c89ecf1c1bb8592745c2bb1bf1847d3671dfdd20dd650d6f84d79627fe132e2c9ae09ae91d11241a0c75da4b
-Size (django-localflavor-4.0.tar.gz) = 4884470 bytes
+BLAKE2s (django_localflavor-5.0.tar.gz) = 1d31d28860e223c519c35efb451fc9c02e9c11a1c2803dc534e449482e303041
+SHA512 (django_localflavor-5.0.tar.gz) = 31fd8d9331a866ce55ce948e175435683131ea02e65e0a05ed081c5b55cea25f623dd46a5082375b99f35b741851e5220c2902ce6d209da2a87923787398e9de
+Size (django_localflavor-5.0.tar.gz) = 5000251 bytes
Home |
Main Index |
Thread Index |
Old Index