Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
Hi, I prepared an upload to mentors.d.n which includes a patch to integrate django-countries with iso-codes. Thanks for all the great feedback! http://mentors.debian.net/debian/pool/main/d/django-countries/django-countries_1.0.2-1.dsc Paul Wise, 2010-04-02 12:11: I suppose so, unless there are some differences. IIRC iso-codes includes lots of translations and django-countries seems to allow for translations to the country names. The translations from iso-codes are now used automatically according to the Django locale settings. I think that's really a great benefit for everyone who is going to use this package. Runtime loading of the iso-codes stuff would be better than build-depends though. The internal country list is now populated at runtime by parsing iso_3166.xml with xml.dom.minidom and it provides the three originally static lists/dicts. As for the icons I'll take a look on how to use them (and possibly the PNG variant too) directly from the famfamfam-flag-* package. Great, please do push the removal dependency upstream too. I notified upstream about my changes but I'm not sure if they will be included because they heavily depend on the availability of Debian packages. My changes will not be useful for people using it on Windows, Solaris, ... As I consider myself a poor writer of documentation someone should eventually take a look at my README.Debian to assure that it's readable and understandable for the average user. There's lots of room for improvements I guess. Kind regards, Michael -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bb713c0.7030...@fladi.at
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
On Fri, 2010-04-02 at 12:03 +0200, Michael Fladischer wrote: Wouldn't it be even better if django-countries build-depends on iso-codes and generate it's list of codes from the XML sources? I suppose so, unless there are some differences. IIRC iso-codes includes lots of translations and django-countries seems to allow for translations to the country names. Runtime loading of the iso-codes stuff would be better than build-depends though. As for the icons I'll take a look on how to use them (and possibly the PNG variant too) directly from the famfamfam-flag-* package. Great, please do push the removal dependency upstream too. -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Wise, 2010-04-02 11:52: On Fri, Apr 2, 2010 at 5:50 PM, Paul Wise p...@debian.org wrote: Bah, I forgot to say that it should be packaged separately and Build-Depended on so that a rebuild can update the list of countries. Even better would be loading it at runtime. Wouldn't it be even better if django-countries build-depends on iso-codes and generate it's list of codes from the XML sources? As for the icons I'll take a look on how to use them (and possibly the PNG variant too) directly from the famfamfam-flag-* package. Kind regards, Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAku1wNUACgkQeJ3z1zFMUGZiPACfaO9ZfWfA47ZlSvKAG2ZAwTPs nm4Ani8w3QzYADYgiIv1b/vTEiJeaxrz =xW+n -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bb5c0d6.5000...@fladi.at
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
Package: wnpp Severity: wishlist Owner: Fladischer Michael fladischermich...@fladi.at Owner: Fladischer Michael fladischermich...@fladi.at -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Package name: django-countries Version : 1.0.2 Upstream Author : Chris Beaven smileych...@gmail.com * URL : http://pypi.python.org/pypi/django-countries/ * License : MIT Programming Lang: Python Description : Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code A Django application which provides all ISO 3166-1 countries as choices for use with forms, and a country field for models. Also includes a small template filter for getting country flags by ISO 3166-1 alpha-2 country code. 247 flag icons from FamFamFam are included in GIF format. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAku1sB8ACgkQeJ3z1zFMUGaKIwCdGg1ViY0r8SEu5iN2zg4iweqF ui8An1V20CAGM7TmK5aNIHuqqu6OhVPq =gqkn -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100402085145.12380.83855.report...@fladi-uni.broker.freenet6.net
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
On Fri, Apr 2, 2010 at 4:51 PM, Fladischer Michael fladischermich...@fladi.at wrote: A Django application which provides all ISO 3166-1 countries as choices for use with forms, and a country field for models. Sounds like that duplicates iso-codes: http://packages.debian.org/sid/iso-codes Also includes a small template filter for getting country flags by ISO 3166-1 alpha-2 country code. 247 flag icons from FamFamFam are included in GIF format. The FamFamFam flags are already in Debian, please don't duplicate them: http://packages.debian.org/sid/famfamfam-flag-gif -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/l2he13a36b31004020243jf9e4520el8fc39bc9826b3...@mail.gmail.com
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
On Fri, Apr 2, 2010 at 5:43 PM, Paul Wise p...@debian.org wrote: On Fri, Apr 2, 2010 at 4:51 PM, Fladischer Michael fladischermich...@fladi.at wrote: A Django application which provides all ISO 3166-1 countries as choices for use with forms, and a country field for models. Sounds like that duplicates iso-codes: http://packages.debian.org/sid/iso-codes Looking at the upstream code, it downloads a file off the ISO website and converts that to python: http://bitbucket.org/smileychris/django-countries/src/tip/django_countries/bin/regenerate.py I wonder if the ISO considers that file to be copyrightable and if so, what the license is. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/v2we13a36b31004020250rbd4a0c35w7a8b2457d4327...@mail.gmail.com
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
On Fri, Apr 2, 2010 at 5:50 PM, Paul Wise p...@debian.org wrote: On Fri, Apr 2, 2010 at 5:43 PM, Paul Wise p...@debian.org wrote: On Fri, Apr 2, 2010 at 4:51 PM, Fladischer Michael fladischermich...@fladi.at wrote: A Django application which provides all ISO 3166-1 countries as choices for use with forms, and a country field for models. Sounds like that duplicates iso-codes: http://packages.debian.org/sid/iso-codes Looking at the upstream code, it downloads a file off the ISO website and converts that to python: http://bitbucket.org/smileychris/django-countries/src/tip/django_countries/bin/regenerate.py I wonder if the ISO considers that file to be copyrightable and if so, what the license is. Bah, I forgot to say that it should be packaged separately and Build-Depended on so that a rebuild can update the list of countries. Even better would be loading it at runtime. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/p2se13a36b31004020252h55035420i9e8740c3d8f93...@mail.gmail.com
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
Am Freitag, den 02.04.2010, 18:11 +0800 schrieb Paul Wise: On Fri, 2010-04-02 at 12:03 +0200, Michael Fladischer wrote: Wouldn't it be even better if django-countries build-depends on iso-codes and generate it's list of codes from the XML sources? I suppose so, unless there are some differences. IIRC iso-codes includes lots of translations and django-countries seems to allow for translations to the country names. Translations are a major part of iso-codes. We constantly receive updates and release a new version every four weeks. Runtime loading of the iso-codes stuff would be better than build-depends though. You might want to take a look at the package isoquery, which provides a command line program to generate various lists of the XML data. That might be easier for your program to parse. Regards, Tobias -- Tobias Quathamer | The following statement is not true. Hamburg, Germany | The previous statement is true. signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code
Quoting Paul Wise (p...@debian.org): Looking at the upstream code, it downloads a file off the ISO website and converts that to python: http://bitbucket.org/smileychris/django-countries/src/tip/django_countries/bin/regenerate.py I wonder if the ISO considers that file to be copyrightable and if so, what the license is. This is one of the reasons for which we (iso-codes maintainers) are maintaining the XML file manually and do not generate it in any way from the various maintenance agencies websites (there are several standards that iso-codes deals with and they're not maintained by the same source in ISO). signature.asc Description: Digital signature