On 05/02/2013 03:54 PM, Johannes Weberhofer wrote:
Dear all,
I'm currently packaging several python packages, and found that there are several packages available in mixed case notation (E.g. python-PyYAML or python-Sphinx). There is al global rule documented in http://en.opensuse.org/openSUSE:Package_naming_guidelines#Case_Sensitivity , saying whenever possible lowercase package-names should be used.
I would say "whenever applicable" is more to the point. Many dynamic languages have their own methodology to distribute stuff. I.e. Python has the Python Package Index and Ruby has rubygems.org. so most $LANGUAGE packaging policies adopted this naming scheme: $INTERPRETER-$UPSTREAM_NAME Examples are: python-SQLAlchemy rubygem-Saikuru perl-XML-SAX (they have replace the ":" in XML:SAX) Most of these packages are actually (fully) auto-generated and scripts just pick what upstream names it's stuff. Also, it avoids clashes. For instance, we used to have "python-mysql" but there a tons of MySQL-bindings for Python out there (same thing in other languages). To which one does this package refer? Following the above scheme is explicit and clash-free since PyPI, rubygems.org, CPAN, CTAN and all those don't allow duplicate names. Same for whatever PHP has. Another funny example is libreoffice, it actually collides with our shared library policy ;-) LibreOffice would be more obvious though. Of course you can argue which version, but that's mood....
I have found lots of packages (like php5-pear-Horde*) in the php section and also many others in the python section. Shouldn't that be cleaned up (as a long-term-target)? For cross-distribution projects it makes things a bit difficult, as e.g. Fedora uses the lower-case filenames of several python projects.
we try to be compatible where it makes sense. Here it doesn't. So the answer is no. Rumor has it that our Perl / Ruby / Python packaging even is more sophisticated than what other distros have to offer ;-) -- With kind regards, Sascha Peilicke SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org