Package: django-countries / 7.6.1-2

Metadata

Package Version Patches format
django-countries 7.6.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 dont_include_flag_icons.patch | (download)

setup.cfg | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't install the included flag icons

 Debian already provides appropriate flag icons with the packages
 famfamfam-flag-(png|gif). Therefore ignore the images shipped by upstream.
0002 Don t use the shipped static lists for the country c.patch | (download)

django_countries/data.py | 1105 529 + 576 - 0 !
1 file changed, 529 insertions(+), 576 deletions(-)

 don't use the shipped static lists for the country-codes

Debian already provides the necessary data as part of its iso-codes package.
This patch changes the upstream behaviour to gather the data at runtime by
parsing the XML files shipped with the iso-codes package.
Translations for the countries names are also taken from iso-codes by using
the symlinked .mo files with Django's lazy translation.
Sorting function by Jakub Wilk.

0003 Fix tests to work with local XML data from iso codes.patch | (download)

django_countries/tests/test_countries.py | 6 4 + 2 - 0 !
django_countries/tests/test_fields.py | 13 4 + 9 - 0 !
2 files changed, 8 insertions(+), 11 deletions(-)

 fix tests to work with local xml data from iso-codes package.


0004 Skip graphene tests if package is not available.patch | (download)

django_countries/tests/graphql/__init__.py | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 skip graphene tests if package is not available.