FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 04-02-2010, 09:43 AM
Paul Wise
 
Default 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
<FladischerMichael@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-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: l2he13a36b31004020243jf9e4520el8fc39bc9826b3efc@ma il.gmail.com">http://lists.debian.org/l2he13a36b31004020243jf9e4520el8fc39bc9826b3efc@ma il.gmail.com
 
Old 04-02-2010, 09:50 AM
Paul Wise
 
Default 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 <pabs@debian.org> wrote:
> On Fri, Apr 2, 2010 at 4:51 PM, Fladischer Michael
> <FladischerMichael@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-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: v2we13a36b31004020250rbd4a0c35w7a8b2457d4327d6f@ma il.gmail.com">http://lists.debian.org/v2we13a36b31004020250rbd4a0c35w7a8b2457d4327d6f@ma il.gmail.com
 
Old 04-02-2010, 09:52 AM
Paul Wise
 
Default 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 <pabs@debian.org> wrote:
> On Fri, Apr 2, 2010 at 5:43 PM, Paul Wise <pabs@debian.org> wrote:
>> On Fri, Apr 2, 2010 at 4:51 PM, Fladischer Michael
>> <FladischerMichael@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-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: p2se13a36b31004020252h55035420i9e8740c3d8f93252@ma il.gmail.com">http://lists.debian.org/p2se13a36b31004020252h55035420i9e8740c3d8f93252@ma il.gmail.com
 
Old 04-02-2010, 10:03 AM
Michael Fladischer
 
Default 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 <pabs@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

iEYEARECAAYFAku1wNUACgkQeJ3z1zFMUGZiPACfaO9ZfWfA47 ZlSvKAG2ZAwTPs
nm4Ani8w3QzYADYgiIv1b/vTEiJeaxrz
=xW+n
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BB5C0D6.5000902@fladi.at">http://lists.debian.org/4BB5C0D6.5000902@fladi.at
 

Thread Tools




All times are GMT. The time now is 06:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org