[Bug 603245] Review Request: python-zmq - Software library for fast, message-based applications

bugzilla at redhat.com bugzilla at redhat.com
Sat Aug 14 03:36:33 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=603245

--- Comment #12 from Chen Lei <supercyper1 at gmail.com> 2010-08-13 23:36:32 EDT ---
(In reply to comment #11)
> (In reply to comment #10)
> > IMHO, the name python-zmq don't match Fedora naming guideline, though I think
> > the naming guideline for python modules isn't clearly enough and cause many
> > inconsistencies in the repo.
> 
> See:
> http://fedoraproject.org/wiki/PackageNamingGuidelines#Addon_Packages_.28python_modules.29
> """
> [snip]
> This makes a package name format of python-$NAME. When in doubt, use the name
> of the module that you type to import it in a script.
> """
> 
> The imported module is zmq -> python-zmq
> If it would be pyzmq -> python-pyzmq, but it isn't.
> Or what do you mean?
> 
I really like the name python-zmq, however many times when I perform a review,
I can't persuade even one submitter to change their package names. They tend to
use pyzmq or even python-pyzmq.

Currently, the naming guideline for python modules is ambiguous and already
cause a lot of inconsistency in fedora repo.

FYI, currently three naming scheme are used in fedora:
[1]python-[tarball_name] 
Packages of python modules (thus they rely on python as a parent) use a
slightly different naming scheme. They should take into account the upstream
name of the python module. This makes a package name format of python-$NAME

[2]python-[module_name]
When in doubt, use the name of the module that you type to import it in a
script. 

[3]tarball_name
There is an exception to this rule. If the upstream source has "py" (or "Py")
in its name, you can use that name for the package. So, for example, pygtk is
acceptable. 

Personally, I like most python-modules should use python-[module_name], only a
few packages should use python-[tarball_name](e.g. a tarball containing a lot
of different namespace or the tarball_name is much more widely used than
module_name), tarball_name should be completely forbidden.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list