Subject: CVS commit: pkgsrc/www/py-django-countries
From: Adam Ciarcinski
Date: 2021-05-10 08:06:09
Message id: 20210510060609.18D6AFA95@cvs.NetBSD.org

Log Message:
py-django-countries: updated to 7.2

7.2 (10 May 2021)
Allow the character field to work with custom country codes that are not 2 \ 
characters (such as "GB-WLS").
Fix compatibility with django-migrations-ignore-attrs library.

7.1 (17 March 2021)
Allow customising the str_attr of Country objects returned from a CountryField \ 
via a new countries_str_attr keyword argument (thanks C. Quentin).
Add pyuca as an extra dependency, so that it can be installed like pip install \ 
django-countries[pyuca].
Add Django 3.2 support.

7.0 (5 December 2020)
Add name_only as an option to the Django Rest Framework serializer field (thanks \ 
Miguel Marques).
Add in Python typing.
Add Python 3.9, Django 3.1, and Django Rest Framework 3.12 support.
Drop Python 3.5 support.
Improve IOC code functionality, allowing them to be overridden in \ 
COUNTRIES_OVERRIDE using the complex dictionary format.

6.1.3 (18 August 2020)
Update flag of Mauritania.
Add flag for Kosovo (under its temporary code of XK).

6.1.2 (26 March 2020)
Fix Python 3.5 syntax error (no f-strings just yet...).

6.1.1 (26 March 2020)
Change ISO country import so that "Falkland Islands [Malvinas]" => \ 
"Falkland Islands (Malvinas)".

6.1 (20 March 2020)
Add a GraphQL object type for a django Country object.

6.0 (28 February 2020)
Make DRF CountryField respect blank=False. This is a backwards incompatible \ 
change since blank input will now return a validation error (unless blank is \ 
explicitly set to True).
Fix COUNTRIES_OVERRIDE when using the complex dictionary format and a single name.
Add bandit to the test suite for basic security analysis.
Drop Python 2.7 and Python 3.4 support.
Add Rest Framework 3.10 and 3.11 to the test matrix, remove 3.8.
Fix a memory leak when using PyUCA. Thanks Meiyer (aka interDist)!

5.5 (11 September 2019)
Django 3.0 compatibility.
Plugin system for extending the Country object.

5.4 (11 August 2019)
Renamed Macedonia -> North Macedonia.
Fix an outlying makemigrations error.
Pulled in new translations which were provided but missing from previous version.
Fixed Simplified Chinese translation (needed to be locale/zh_Hans).
Introduce an optional complex format for COUNTRIES_ONLY and COUNTRIES_OVERRIDE \ 
to allow for multiple names for a country, a custom three character code, and a \ 
custom numeric country code.

5.3.3 (16 February 2019)
Add test coverage for Django Rest Framework 3.9.

5.3.2 (27 August 2018)
Tests for Django 2.1 and Django Rest Framework 3.8.

5.3.1 (12 June 2018)
Fix dumpdata and loaddata for CountryField(multiple=True).

5.3 (20 April 2018)
Iterating a Countries object now returns named tuples. This makes things nicer \ 
when using {% get_countries %} or using the country list elsewhere in your code.

Files:
RevisionActionfile
1.12modifypkgsrc/www/py-django-countries/Makefile
1.8modifypkgsrc/www/py-django-countries/PLIST
1.12modifypkgsrc/www/py-django-countries/distinfo