Still working on this... It's not easy, but it's likely I will work
with more free projects involving multimedia, Python and the autotools
for a little while again. :)
2010/6/9 Jonas Smedegaard <d...@jones.dk>:
> It should be DEB_PYTHON_MODULE_PACKAGES (not DEB_PYTHON_PACKAGES)
Thanks! It seems to work now. It's nice that it takes care of deleting
the .pyo files. The .pyc files are byte-compiled for Python 2.5, but
it seems to work with 2.6 as well.
> Try extend the PYTHONPATH in the check target. Best to use make variable
> expansion using some of the variables calculated in
> If that fails to work then disable tests for now. I find it better to
> properly use python-autotools.mk than running the tests. But beware that
> since you know that the packaging should fail to build on certain
> architectures, then if for some reason some of those known failures only are
> discovered in the regression tests (as opposed to missing build-dependencies
> which is the more likely to happen) then the trick of not declaring specific
> supported archs but just rely on "never succesfully built before on that
> arch" will fail if postponing regression tests for later.
Well, since the unit tests mostly test the Python code, I disabled it for now.
I added the perl one-liner in the binary-fixup/scenic target. It
doesn't replace the #! line in the scripts, though. Maybe I should add
more rules or set something somewhere else?
Otherwise, I think this packaging stuff is going well. The upstream
team will be ready for the 0.6.0 release for Friday, I think.
pkg-multimedia-maintainers mailing list