BSD Ports

www/py-django-localflavor 5.1 NetBSD

L18N support for Django

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
3626178991
License
modified-bsd
Categories
www, python
Package size
1032.2 KiB, 12248.6 KiB installed

Description

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.

Version history 1

  1. 5.1 3626178991

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-django-localflavor

From pkgsrc:

cd /usr/pkgsrc/www/py-django-localflavor && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_645.1
NetBSD 10.1 aarch645.1
SmartOS / illumos x86_645.1
macOS 15 arm645.1

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-django-localflavor-5.1, py313-django-localflavor-5.1, py314-django-localflavor-5.1

Commit history 1

DateCommitCreditsLog message
3626178991 adam 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 …