py-django-localflavor: updated to 4.0

4.0   (2023-04-22)
------------------

New flavors:

- Nepal LocalFlavor: Support for Nepal added
  (`gh-451 <https://github.com/django/django-localflavor/pull/451>`_).
- Belarus localflavor
  (`gh-422 <https://github.com/django/django-localflavor/pull/422>`_,
  `gh-442 <https://github.com/django/django-localflavor/pull/442>`_).
- Ghana localflavor
  (`gh-460 <https://github.com/django/django-localflavor/pull/460>`_).

New fields for existing flavors:

- Added `fr.forms.FRRNAField` models field
  (`gh-443 <https://github.com/django/django-localflavor/pull/443>`_).
- Added permanent account number(PAN) field in Indian flavor.
  (`gh-457 <https://github.com/django/django-localflavor/pull/457>`_).
- Added the Canadian Models fields.
  (`gh-465 <https://github.com/django/django-localflavor/pull/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 <https://github.com/django/django-localflavor/pull/486>`_).
- Fix typo in Marijampolė county name in LTCountySelect
  (`gh-480 <https://github.com/django/django-localflavor/pull/480>`_).
- Add support for new Finnish identity codes
  (`gh-478 <https://github.com/django/django-localflavor/pull/478>`_).
- CIF spanish starting with 'U' bug resolved
  (`gh-469 <https://github.com/django/django-localflavor/pull/469>`_).
- Fix error code for BRPostalCodeValidator
  (`gh-448 <https://github.com/django/django-localflavor/pull/448>`_).
- Fix spelling of the India state of Chhattisgarh
  (`gh-444 <https://github.com/django/django-localflavor/pull/444>`_).
- Fix CURP regex for MX flavor
  (`gh-449 <https://github.com/django/django-localflavor/pull/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 <https://github.com/django/django-localflavor/pull/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 <https://github.com/django/django-localflavor/pull/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.
This commit is contained in:
adam 2023-12-02 08:07:41 +00:00
parent b1bfd0c884
commit bd324d448b
3 changed files with 69 additions and 22 deletions

View File

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.3 2023/07/13 10:03:28 wiz Exp $
# $NetBSD: Makefile,v 1.4 2023/12/02 08:07:41 adam Exp $
DISTNAME= django-localflavor-3.1
DISTNAME= django-localflavor-4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= www
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-localflavor/}
MAINTAINER= pkgsrc-users@NetBSD.org
@ -11,12 +10,14 @@ HOMEPAGE= https://django-localflavor.readthedocs.io/en/latest/
COMMENT= L18N support for Django
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3
DEPENDS+= ${PYPKGPREFIX}-stdnum-[0-9]*:../../misc/py-stdnum
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-django>=3.2:../../www/py-django3
DEPENDS+= ${PYPKGPREFIX}-stdnum>=1.6:../../misc/py-stdnum
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,14 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2023/03/31 01:14:36 joerg Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt.py
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt.py
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt.py
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt.py
@comment $NetBSD: PLIST,v 1.2 2023/12/02 08:07:41 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/localflavor/__init__.py
${PYSITELIB}/localflavor/__init__.pyc
${PYSITELIB}/localflavor/__init__.pyo
@ -84,6 +79,21 @@ ${PYSITELIB}/localflavor/br/models.pyo
${PYSITELIB}/localflavor/br/validators.py
${PYSITELIB}/localflavor/br/validators.pyc
${PYSITELIB}/localflavor/br/validators.pyo
${PYSITELIB}/localflavor/by/__init__.py
${PYSITELIB}/localflavor/by/__init__.pyc
${PYSITELIB}/localflavor/by/__init__.pyo
${PYSITELIB}/localflavor/by/by_regions.py
${PYSITELIB}/localflavor/by/by_regions.pyc
${PYSITELIB}/localflavor/by/by_regions.pyo
${PYSITELIB}/localflavor/by/forms.py
${PYSITELIB}/localflavor/by/forms.pyc
${PYSITELIB}/localflavor/by/forms.pyo
${PYSITELIB}/localflavor/by/models.py
${PYSITELIB}/localflavor/by/models.pyc
${PYSITELIB}/localflavor/by/models.pyo
${PYSITELIB}/localflavor/by/validators.py
${PYSITELIB}/localflavor/by/validators.pyc
${PYSITELIB}/localflavor/by/validators.pyo
${PYSITELIB}/localflavor/ca/__init__.py
${PYSITELIB}/localflavor/ca/__init__.pyc
${PYSITELIB}/localflavor/ca/__init__.pyo
@ -93,6 +103,9 @@ ${PYSITELIB}/localflavor/ca/ca_provinces.pyo
${PYSITELIB}/localflavor/ca/forms.py
${PYSITELIB}/localflavor/ca/forms.pyc
${PYSITELIB}/localflavor/ca/forms.pyo
${PYSITELIB}/localflavor/ca/models.py
${PYSITELIB}/localflavor/ca/models.pyc
${PYSITELIB}/localflavor/ca/models.pyo
${PYSITELIB}/localflavor/ch/__init__.py
${PYSITELIB}/localflavor/ch/__init__.pyc
${PYSITELIB}/localflavor/ch/__init__.pyo
@ -276,6 +289,18 @@ ${PYSITELIB}/localflavor/generic/models.pyo
${PYSITELIB}/localflavor/generic/validators.py
${PYSITELIB}/localflavor/generic/validators.pyc
${PYSITELIB}/localflavor/generic/validators.pyo
${PYSITELIB}/localflavor/gh/__init__.py
${PYSITELIB}/localflavor/gh/__init__.pyc
${PYSITELIB}/localflavor/gh/__init__.pyo
${PYSITELIB}/localflavor/gh/forms.py
${PYSITELIB}/localflavor/gh/forms.pyc
${PYSITELIB}/localflavor/gh/forms.pyo
${PYSITELIB}/localflavor/gh/gh_regions.py
${PYSITELIB}/localflavor/gh/gh_regions.pyc
${PYSITELIB}/localflavor/gh/gh_regions.pyo
${PYSITELIB}/localflavor/gh/models.py
${PYSITELIB}/localflavor/gh/models.pyc
${PYSITELIB}/localflavor/gh/models.pyo
${PYSITELIB}/localflavor/gr/__init__.py
${PYSITELIB}/localflavor/gr/__init__.pyc
${PYSITELIB}/localflavor/gr/__init__.pyo
@ -336,6 +361,9 @@ ${PYSITELIB}/localflavor/in_/in_states.pyo
${PYSITELIB}/localflavor/in_/models.py
${PYSITELIB}/localflavor/in_/models.pyc
${PYSITELIB}/localflavor/in_/models.pyo
${PYSITELIB}/localflavor/in_/validators.py
${PYSITELIB}/localflavor/in_/validators.pyc
${PYSITELIB}/localflavor/in_/validators.pyo
${PYSITELIB}/localflavor/ir/__init__.py
${PYSITELIB}/localflavor/ir/__init__.pyc
${PYSITELIB}/localflavor/ir/__init__.pyo
@ -627,6 +655,24 @@ ${PYSITELIB}/localflavor/no/forms.pyo
${PYSITELIB}/localflavor/no/no_municipalities.py
${PYSITELIB}/localflavor/no/no_municipalities.pyc
${PYSITELIB}/localflavor/no/no_municipalities.pyo
${PYSITELIB}/localflavor/np/__init__.py
${PYSITELIB}/localflavor/np/__init__.pyc
${PYSITELIB}/localflavor/np/__init__.pyo
${PYSITELIB}/localflavor/np/forms.py
${PYSITELIB}/localflavor/np/forms.pyc
${PYSITELIB}/localflavor/np/forms.pyo
${PYSITELIB}/localflavor/np/models.py
${PYSITELIB}/localflavor/np/models.pyc
${PYSITELIB}/localflavor/np/models.pyo
${PYSITELIB}/localflavor/np/np_districts.py
${PYSITELIB}/localflavor/np/np_districts.pyc
${PYSITELIB}/localflavor/np/np_districts.pyo
${PYSITELIB}/localflavor/np/np_provinces.py
${PYSITELIB}/localflavor/np/np_provinces.pyc
${PYSITELIB}/localflavor/np/np_provinces.pyo
${PYSITELIB}/localflavor/np/np_zones.py
${PYSITELIB}/localflavor/np/np_zones.pyc
${PYSITELIB}/localflavor/np/np_zones.pyo
${PYSITELIB}/localflavor/nz/__init__.py
${PYSITELIB}/localflavor/nz/__init__.pyc
${PYSITELIB}/localflavor/nz/__init__.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/03/31 01:14:36 joerg Exp $
$NetBSD: distinfo,v 1.2 2023/12/02 08:07:41 adam Exp $
BLAKE2s (django-localflavor-3.1.tar.gz) = fea224aee75f6df900ededd3c4a0b6615dc53ade21d0774b7959d29d4fb6c018
SHA512 (django-localflavor-3.1.tar.gz) = e256a36df358831c4e0b4a94ef53ba7227a48796cdd1514f3765bfd59ba3e47fabec8dad4f4f993f6d73e2c061e7d97d301fca91a619e615cc06f9bfb76891cc
Size (django-localflavor-3.1.tar.gz) = 4643499 bytes
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