pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-django-countries py-django-countries: updated t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff9cd8f64685
branches:  trunk
changeset: 452426:ff9cd8f64685
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 10 06:06:08 2021 +0000

description:
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.

diffstat:

 www/py-django-countries/Makefile |   6 ++++--
 www/py-django-countries/PLIST    |  30 +++++++++++++++++++++++++++++-
 www/py-django-countries/distinfo |  10 +++++-----
 3 files changed, 38 insertions(+), 8 deletions(-)

diffs (121 lines):

diff -r d143583a498c -r ff9cd8f64685 www/py-django-countries/Makefile
--- a/www/py-django-countries/Makefile  Mon May 10 06:02:51 2021 +0000
+++ b/www/py-django-countries/Makefile  Mon May 10 06:06:08 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2019/11/05 09:08:09 adam Exp $
+# $NetBSD: Makefile,v 1.12 2021/05/10 06:06:08 adam Exp $
 
-DISTNAME=      django-countries-5.5
+DISTNAME=      django-countries-7.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-countries/}
@@ -15,5 +15,7 @@
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d143583a498c -r ff9cd8f64685 www/py-django-countries/PLIST
--- a/www/py-django-countries/PLIST     Mon May 10 06:02:51 2021 +0000
+++ b/www/py-django-countries/PLIST     Mon May 10 06:06:08 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2019/11/05 09:08:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/05/10 06:06:08 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -23,6 +23,12 @@
 ${PYSITELIB}/django_countries/filters.py
 ${PYSITELIB}/django_countries/filters.pyc
 ${PYSITELIB}/django_countries/filters.pyo
+${PYSITELIB}/django_countries/graphql/__init__.py
+${PYSITELIB}/django_countries/graphql/__init__.pyc
+${PYSITELIB}/django_countries/graphql/__init__.pyo
+${PYSITELIB}/django_countries/graphql/types.py
+${PYSITELIB}/django_countries/graphql/types.pyc
+${PYSITELIB}/django_countries/graphql/types.pyo
 ${PYSITELIB}/django_countries/ioc_data.py
 ${PYSITELIB}/django_countries/ioc_data.pyc
 ${PYSITELIB}/django_countries/ioc_data.pyo
@@ -36,6 +42,8 @@
 ${PYSITELIB}/django_countries/locale/ca/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/cs/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_countries/locale/cs/LC_MESSAGES/django.po
+${PYSITELIB}/django_countries/locale/da/LC_MESSAGES/django.mo
+${PYSITELIB}/django_countries/locale/da/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/de/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_countries/locale/de/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/el/LC_MESSAGES/django.mo
@@ -78,6 +86,8 @@
 ${PYSITELIB}/django_countries/locale/lt/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/lv/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_countries/locale/lv/LC_MESSAGES/django.po
+${PYSITELIB}/django_countries/locale/mn/LC_MESSAGES/django.mo
+${PYSITELIB}/django_countries/locale/mn/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/nb/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_countries/locale/nb/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/nl/LC_MESSAGES/django.mo
@@ -96,6 +106,10 @@
 ${PYSITELIB}/django_countries/locale/sk/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/sl/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_countries/locale/sl/LC_MESSAGES/django.po
+${PYSITELIB}/django_countries/locale/sr/LC_MESSAGES/django.mo
+${PYSITELIB}/django_countries/locale/sr/LC_MESSAGES/django.po
+${PYSITELIB}/django_countries/locale/sr@latin/LC_MESSAGES/django.mo
+${PYSITELIB}/django_countries/locale/sr@latin/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/sr_BA@latin/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_countries/locale/sr_BA@latin/LC_MESSAGES/django.po
 ${PYSITELIB}/django_countries/locale/sv/LC_MESSAGES/django.mo
@@ -114,6 +128,7 @@
 ${PYSITELIB}/django_countries/models.py
 ${PYSITELIB}/django_countries/models.pyc
 ${PYSITELIB}/django_countries/models.pyo
+${PYSITELIB}/django_countries/py.typed
 ${PYSITELIB}/django_countries/release.py
 ${PYSITELIB}/django_countries/release.pyc
 ${PYSITELIB}/django_countries/release.pyo
@@ -373,6 +388,7 @@
 ${PYSITELIB}/django_countries/static/flags/vu.gif
 ${PYSITELIB}/django_countries/static/flags/wf.gif
 ${PYSITELIB}/django_countries/static/flags/ws.gif
+${PYSITELIB}/django_countries/static/flags/xk.gif
 ${PYSITELIB}/django_countries/static/flags/ye.gif
 ${PYSITELIB}/django_countries/static/flags/yt.gif
 ${PYSITELIB}/django_countries/static/flags/za.gif
@@ -396,6 +412,18 @@
 ${PYSITELIB}/django_countries/tests/forms.py
 ${PYSITELIB}/django_countries/tests/forms.pyc
 ${PYSITELIB}/django_countries/tests/forms.pyo
+${PYSITELIB}/django_countries/tests/graphql/__init__.py
+${PYSITELIB}/django_countries/tests/graphql/__init__.pyc
+${PYSITELIB}/django_countries/tests/graphql/__init__.pyo
+${PYSITELIB}/django_countries/tests/graphql/schema.py
+${PYSITELIB}/django_countries/tests/graphql/schema.pyc
+${PYSITELIB}/django_countries/tests/graphql/schema.pyo
+${PYSITELIB}/django_countries/tests/graphql/test_country_type.py
+${PYSITELIB}/django_countries/tests/graphql/test_country_type.pyc
+${PYSITELIB}/django_countries/tests/graphql/test_country_type.pyo
+${PYSITELIB}/django_countries/tests/graphql/test_model.py
+${PYSITELIB}/django_countries/tests/graphql/test_model.pyc
+${PYSITELIB}/django_countries/tests/graphql/test_model.pyo
 ${PYSITELIB}/django_countries/tests/models.py
 ${PYSITELIB}/django_countries/tests/models.pyc
 ${PYSITELIB}/django_countries/tests/models.pyo
diff -r d143583a498c -r ff9cd8f64685 www/py-django-countries/distinfo
--- a/www/py-django-countries/distinfo  Mon May 10 06:02:51 2021 +0000
+++ b/www/py-django-countries/distinfo  Mon May 10 06:06:08 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2019/11/05 09:08:09 adam Exp $
+$NetBSD: distinfo,v 1.12 2021/05/10 06:06:08 adam Exp $
 
-SHA1 (django-countries-5.5.tar.gz) = b37627339baa1ae5e42303d8aefcd4bb100c30c8
-RMD160 (django-countries-5.5.tar.gz) = 903fea8c6899e715eb78438283973a0e3781200b
-SHA512 (django-countries-5.5.tar.gz) = 5a7d9b7841a4536c1bcc845c0b579b20fd9fbe9b7928ac425a29930abbca542119529f1e3ebd25cc07ac9077089a1b1675090a676058bc6138d91bd2080e4167
-Size (django-countries-5.5.tar.gz) = 476957 bytes
+SHA1 (django-countries-7.2.tar.gz) = 23d0211bc2cfc3a5dfcebd8a566e314fe8249a17
+RMD160 (django-countries-7.2.tar.gz) = 1ab62ba3c5308cae6a4156cea815e327b367146e
+SHA512 (django-countries-7.2.tar.gz) = 698c7032be96d36b37f3eee04106f91c7bd10a7e0c5808f047bbdebc95b600aaeef77168827316515a30131f90cc2d8e4564027b0459acad7d6418fe3ed10230
+Size (django-countries-7.2.tar.gz) = 644327 bytes



Home | Main Index | Thread Index | Old Index