Advene package - python2 packaging issues

Olivier Aubert olivier.aubert at liris.cnrs.fr
Thu May 26 07:28:07 UTC 2011


Hello

I did not get any answer to my previous e-mail (below), so I will
summarize the questions:

- does anyone know actual packages that use CDBS + "the new python
install helper shipped with python itself on Debian"? I am willing to
fix this in my package and submit patches to documentation, to improve
the state of things.

- once this issue is fixed, is there a DD (Jonas?) that would be willing
to collaborate with me? I am ready to handle all maintenance of the
package, but I cannot upload it.

Thanks, and have a nice day
Olivier

-------- Forwarded Message --------
From: Olivier Aubert <olivier.aubert at liris.cnrs.fr>
Reply-to: olivier.aubert at liris.cnrs.fr
To: pkg-multimedia-maintainers at lists.alioth.debian.org
Subject: Advene packag e- python2 packaging issues
Date: Fri, 13 May 2011 17:40:32 +0200

Hello Jonas (and all)

Thanks for your answer and your interest. I am of course ready to
actively maintain this package (all the more that I am the upstream
also). I have addressed most of your remarks, but I still have some
issues and would appreciate your hinsight:

> The two custom Python packaging helpers python-central and 
> python-support is deprecated.  Drop that line from debian/rules and 
> adjust the control file to use hints suitable for the new python install 
> helper shipped with python itself on Debian.
I have tried to remove the pysupport method, but setup.py is not
invoked, and I lack information on how to specify appropriate hints. I
read (many times) through

 * the CDBS doc (examples use pysupport)

 * the http://wiki.debian.org/Python/Policy (says to use either
pycentral or pysupport)

 *
http://www.debian.org/doc/packaging-manuals/python-policy/ap-packaging_tools.html#s-distutils (the CDBS part is a bit terse, and does not give any configuration examples/information).

 * the #604718 bug says to specify DEB_PYTHON_SYSTEM=python2, but it
fails in current 0.4.93 CDBS saying "leave empty for default
python2/python3"

 * the /usr/share/cdbs/1/class/python-vars.mk file, where a
DEB_PYTHON2_MODULE_PACKAGES is specified. But setting it does not invoke
setup.py.

I only found that setup.py on Debian now has an additional
--install-layout=deb but did not figure how to have CDBS properly use it
(apart from specifying it explicitly in DEB_PYTHON_INSTALL_ARGS_ALL).

Could you give me some pointer (doc or up-to-date example package)?

> I notice there are binary gettext *.mo files shipped with the
upstream 
> source.  It seems that they are only (re)generated from the source files 
> when the Makefile is invoked, and I suspect that won't happen as part of 
> the distutils routines.  Please ensure that Debian binary packages do 
> not use binary blobs shipped from upstream, but compile fresh binary 
> chunks instead.
Indeed. I will fix this upstream, but in the meantime (I will not do a
relase just for that, so it will take some weeks before appearing), I
could invoke po/Makefile in common-build-indep to overwrite shipped
files if necessary. Do you think it is appropriate?

> Please enable the CDBS utils.mk rule, enable copyright-check and hinted 
> initially when then compiling, and ensure that debian/copyright 
> appropriately contains all(!) copyright and licensing info of the source 
> tarball.  E.g. mac/Cillop seems to be from a different project but is 
> not listed with copyright holders or licensing in the copyright file. 
> Apparently upstream has a pending item related to this in doc/TODO.
Done (that is what took some time...)

> Please consider using newest draft of DEP-5.
Done.

> Instead of debian/docs I suggest to use CDBS variables in debian/rules, 
> with a wildcard for doc/* and properly listing CHANGES.txt as upstream 
> changelog file.
Done.

Have a nice day. Regards,
Olivier



_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers





More information about the pkg-multimedia-maintainers mailing list