devel/python-amara python-amara.spec,1.2,1.3

Michael Schwendt bugs.michael at gmx.net
Thu Mar 17 17:48:55 UTC 2005


On Thu, 17 Mar 2005 12:13:33 -0500, Ignacio Vazquez-Abrams wrote:

> On Thu, 2005-03-17 at 14:03 +0100, Michael Schwendt wrote:
> > On Wed, 16 Mar 2005 18:42:01 -0500, Ignacio Vazquez-Abrams (ivazquez) wrote:
> > > +%{!?pyver: %define pyver %(python -c 'import sys;print(sys.version[0:3])')}
> > > +%define mainpyver %(python -c 'import sys;print(sys.version[0:3])')
> > 
> > > +%{_libdir}/python%{pyver}/site-packages/amara
> > 
> > Please take a look at e.g. the "bittorrent" package in devel tree on
> > how to use %python_sitelib.
> > 
> > > +%if "%{pyver}" == "%{mainpyver}"
> > 
> > I consider this unnecessary and ugly bloat, also considering that we have
> > specific Python module naming guidelines. You're over-complicating the
> > packaging.
> 
> BitTorrent is an app, Amara is a library. For the most part that "bloat"
> serves to allow Amara to be built for multiple versions of Python on the
> same platform.

Two different comments in one mail. The bottom comment did not refer
to bittorrent. Using %python_sitelib instead of "path hacks" would still
be an improvement.




More information about the scm-commits mailing list