Package: django-countries / 5.3.2-1

Metadata

Package Version Patches format
django-countries 5.3.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
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 | 1040 535 + 505 - 0 !
django_countries/tests/test_countries.py | 8 7 + 1 - 0 !
2 files changed, 542 insertions(+), 506 deletions(-)

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

Debian already provides the necessary data as part of its ico-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 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

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