head 1.9; access; symbols pkgsrc-2026Q2:1.8.0.6 pkgsrc-2026Q2-base:1.8 pkgsrc-2026Q1:1.8.0.4 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.2 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.7.0.4 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.2 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.6.0.2 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.5.0.2 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.4.0.8 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.6 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.4 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.2 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.3.0.2 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2; locks; strict; comment @# @; 1.9 date 2026.08.11.06.07.35; author adam; state Exp; branches; next 1.8; commitid sRiLCrVDv6gMqbRG; 1.8 date 2025.10.31.10.53.33; author adam; state Exp; branches; next 1.7; commitid 9JWyC10TTfNQ8IgG; 1.7 date 2025.04.14.13.30.03; author adam; state Exp; branches; next 1.6; commitid bxuofO2lw6Cfr1RF; 1.6 date 2025.03.07.16.02.50; author adam; state Exp; branches; next 1.5; commitid iRs5FQTIKCVov9MF; 1.5 date 2024.11.11.07.29.19; author wiz; state Exp; branches; next 1.4; commitid 1fBDq3LwS98NncxF; 1.4 date 2023.12.02.08.07.41; author adam; state Exp; branches; next 1.3; commitid xCt9Nx26KPT2HROE; 1.3 date 2023.07.13.10.03.28; author wiz; state Exp; branches; next 1.2; commitid FVBRhonHqK8MTCwE; 1.2 date 2023.04.30.18.58.53; author wiz; state Exp; branches; next 1.1; commitid iFyfVjM7DxIZeanE; 1.1 date 2023.03.31.01.14.36; author joerg; state Exp; branches; next ; commitid WDevIVJVejSzjdjE; desc @@ 1.9 log @py-django-localflavor: updated to 5.1 5.1 (2026-08-01) New flavors: - Added local flavor for Qatar - Added local flavor for Taiwan - Added local flavor for United Arab Emirates New fields for existing flavors: - US: Added ``USIndividualTaxpayerIdentificationNumberField``, ``USAdoptionTaxpayerIdentificationNumberField``, and ``USTaxpayerIdentificationNumberField`` form and model fields for validating ITINs, ATINs, and any valid U.S. taxpayer identification number (SSN, ITIN, or ATIN). Modifications to existing flavors: - Fix REGON validation for PL - Update SI postal codes - Update BR CNPJ validator to accept new alphanumeric format - Added Falkland Islands (Malvinas), Honduras, Oman, Somalia and Yemen to IBAN_COUNTRY_CODE_LENGTH dict based on version 101 of the IBAN registry document from December 2025. The minium version of python-stdnum is now 2.2. - Updated NORDEA_COUNTRY_CODE_LENGTH with data from nordea-country-and-currency-list.pdf v2.2 @ text @# $NetBSD: Makefile,v 1.8 2025/10/31 10:53:33 adam Exp $ DISTNAME= django_localflavor-5.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-localflavor/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://django-localflavor.readthedocs.io/en/latest/ COMMENT= L18N support for Django LICENSE= modified-bsd TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools DEPENDS+= ${PYPKGPREFIX}-django>=4.2:../../www/py-django DEPENDS+= ${PYPKGPREFIX}-stdnum>=2.2:../../misc/py-stdnum USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.8 log @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 `_ 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 `_). New fields for existing flavors: - Added CIN Number field in Morocco flavor (`gh-705 `_). Modifications to existing flavors: - Fix Belarus passport field description punctuation (`gh-484 `_). - Change `Kiev` to `Kyiv` 🇺🇦 according to ISO_3166-2:UA - Accept French Postal Services identifiers in forms (`gh-505 `_). - Extended validation of Kuwaiti Civil ID to avoid allowing invalid century Civil IDs (`gh-511 `_). - Added birthdate extraction function from Kuwaiti Civil ID (`gh-511 `_). - Deprecated `kw.forms.is_valid_kw_civilid_checksum` in favor of `kw.utils.is_valid_civil_id` (`gh-511 `_). - Fix validation of the Romanian CNP for years ending with `00` (`gh-515 `_). - Allow formatted values in `FRSIRENField` and `FRSIRETField` to be saved (`gh-518 `_), (`gh-520 `_). - Add min and max length to brazilian Postal Code form field (`gh-490 `_). - Brazilian model fields CPF, CNPJ and PostalCode create correct form field when used by DjangoModelForm (`gh-490 `_). - Update list of Latvia municipalities after municipal reform from 2021 (`gh-519 `_). - Update list of Norwegian counties(fylker) `according to changes at the start of 2024 `_ 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 `_). - 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 `_). - Allow formatted IBANs longer than 26 chars to be saved in `IBANField` (`gh-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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/04/14 13:30:03 adam Exp $ d3 1 a3 1 DISTNAME= django_localflavor-5.0 d15 1 a15 1 DEPENDS+= ${PYPKGPREFIX}-stdnum>=1.6:../../misc/py-stdnum @ 1.7 log @Fix PLIST after py-setuptools update; bump depends and revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/03/07 16:02:50 adam Exp $ d3 2 a4 3 DISTNAME= django-localflavor-4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-django>=3.2:../../www/py-django @ 1.6 log @depend on www/py-django instead of py-django3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/11/11 07:29:19 wiz Exp $ d5 1 d14 1 a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools a19 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.5 log @py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/12/02 08:07:41 adam Exp $ d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-django>=3.2:../../www/py-django3 @ 1.4 log @py-django-localflavor: updated to 4.0 4.0 (2023-04-22) ------------------ New flavors: - Nepal LocalFlavor: Support for Nepal added (`gh-451 `_). - Belarus localflavor (`gh-422 `_, `gh-442 `_). - Ghana localflavor (`gh-460 `_). New fields for existing flavors: - Added `fr.forms.FRRNAField` models field (`gh-443 `_). - Added permanent account number(PAN) field in Indian flavor. (`gh-457 `_). - Added the Canadian Models fields. (`gh-465 `_). Modifications to existing flavors: - Properly validate IBANs using BBAN to ensure invalid IBANs cannot be entered, updated IBAN_SEPA_COUNTRIES and IBAN_COUNTRY_CODE_LENGTH to latest data (`gh-486 `_). - Fix typo in Marijampolė county name in LTCountySelect (`gh-480 `_). - Add support for new Finnish identity codes (`gh-478 `_). - CIF spanish starting with 'U' bug resolved (`gh-469 `_). - Fix error code for BRPostalCodeValidator (`gh-448 `_). - Fix spelling of the India state of Chhattisgarh (`gh-444 `_). - Fix CURP regex for MX flavor (`gh-449 `_). - Change text based fields that inherited from `django.forms.Field` to inherit from `django.forms.CharField`. The following fields have been updated (`gh-446 `_): - `at.forms.ATSocialSecurityNumberField` - `br.forms.BRStateChoiceField` - `ca.forms.CAProvinceField` - `ca.forms.CASocialInsuranceNumberField` - `ch.forms.CHIdentityCardNumberField` - `cu.forms.CUProvinceField` - `cu.forms.CURegionField` - `cz.forms.CZBirthNumberField` - `cz.forms.CZICNumberField` - `de.forms.DEIdentityCardNumberField` - `ee.forms.EEBusinessRegistryCode` - `ee.forms.EEPersonalIdentificationCode` - `fi.forms.FISocialSecurityNumber` - `gr.forms.GRTaxNumberCodeField` - `hr.forms.HRJMBAGField` - `hr.forms.HRJMBGField` - `hr.forms.HRLicensePlateField` - `hr.forms.HRPostalCodeField` - `id_.forms.IDLicensePlateField` - `id_.forms.IDNationalIdentityNumberField` - `id_.forms.IDPostCodeField` - `il.forms.ILIDNumberField` - `in_.forms.INAadhaarNumberField` - `in_.forms.INStateField` - `ir.forms.IRIDNumberField` - `it.forms.ITVatNumberField` - `lt.forms.LTPostalCodeField` - `lv.forms.LVPersonalCodeField` - `lv.forms.LVPostalCodeField` - `no.forms.NOSocialSecurityNumber` - `nz.forms.NZBankAccountNumberField` - `pt.forms.PTCitizenCardNumberField` - `pt.forms.PTSocialSecurityNumberField` - `ro.forms.ROCountyField` - `tr.forms.TRIdentificationNumberField` - `us.forms.USStateField` - Removed inconvenient word VACA from CURP_INCONVENIENT_WORDS for MX flavor Other changes: - Use 'return value' when value is in the empty_values list (`gh-461 `_). - Dropped support for Django 2.2, 3.0 and 3.1. - Dropped support for Python 3.5. - Added support for Python 3.10 and 3.11. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/07/13 10:03:28 wiz Exp $ a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel @ 1.3 log @*: switch django users to py-django3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/04/30 18:58:53 wiz Exp $ d3 1 a3 1 DISTNAME= django-localflavor-3.1 d5 1 a5 2 PKGREVISION= 1 CATEGORIES= www d13 4 a16 2 DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3 DEPENDS+= ${PYPKGPREFIX}-stdnum-[0-9]*:../../misc/py-stdnum d22 1 a22 1 .include "../../lang/python/egg.mk" @ 1.2 log @*: not for python 2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/03/31 01:14:36 joerg Exp $ d5 1 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django @ 1.1 log @Add py-django-localflavor-3.1: django-localflavor is a collection of assorted pieces of code that are useful for particular countries or cultures. These are called the "local flavor" add-ons and live in the localflavor package. Inside that package, country- or culture-specific code is organized into subpackages, named using ISO 3166 country codes. Most of the localflavor add-ons are localized form components deriving from the forms framework - for example, a USStateField that knows how to validate U.S. state abbreviations, and a FISocialSecurityNumber that knows how to validate Finnish social security numbers. @ text @d1 1 a1 1 # $NetBSD$ d13 3 d18 1 a18 2 DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django DEPENDS+= ${PYPKGPREFIX}-stdnum-[0-9]*:../../misc/py-stdnum @