[Debian-olpc-devel] python- prefix

David Farning dfarning at ubuntu.com
Sun Apr 18 02:18:33 UTC 2010


On Sat, Apr 17, 2010 at 8:24 PM, Jonas Smedegaard <dr at jones.dk> wrote:
> Hi David (and others),
>
> On Sat, Apr 17, 2010 at 07:06:06PM -0500, David Farning wrote:
>
>> Can you help me understand the differences between the python- prefix
>> and the sugar- prefix?
>
> I can try :-)
>
>
>> What is the naming difference between:
>> 1. python-sugar-toolkit-0.88 and sugar-tools-0.88 ?
>
> Debian Python Policy requires Python module packages to be named
> python-<modulename>.  I choose to interpret that as being a requirement for
> the _binary_ package, and use upstream project name for the source package.
>
> Also, due to supporting multiple branches of Sugar packages concurrently, I
> apend branch version to both source and binary packages, and provide a
> virtual binary package that fulfills the Python Policy requirement.
>
> the "*-tools" name is just a common name for packages containing optional
> scripts or utilities for a library.  Another often used name for such
> packages is "*-utils"
>
>
>> 2. python-sugar-0.88 and sugar-0.88 ?
>
> Again, the binary package is renamed to match the python module that it
> contains, while the source package is named after the upstream project.
>
>
> Hope that makes sense.
>
Yes, it does. I was thinking of  _python_module_ as anything written
in python rather than a chunk of code which is imported via the
_import_ command.

david



More information about the Debian-olpc-devel mailing list