Fwd: RFS: Scenic 0.6.0 - Telepresence software for live performances and installations

Jonas Smedegaard dr at jones.dk
Wed Jun 9 10:34:59 UTC 2010


On Wed, Jun 09, 2010 at 02:23:51AM -0400, Alexandre Quessy wrote:
>I changed my debian/rules files in order to use python-autotools.mk:
>
>{{{
>DEB_PYTHON_PRIVATE_MODULES_DIRS_scenic = /usr/lib/scenic/py
>DEB_BUILDDIR = build
>DEB_PYTHON_SYSTEM = pysupport
>DEB_PYTHON_PACKAGES = scenic rtpmidi
>
>include /usr/share/cdbs/1/class/python-autotools.mk
>include /usr/share/cdbs/1/rules/debhelper.mk
>
>DEB_CONFIGURE_EXTRA_FLAGS = --enable-mt
>DEB_MAKE_CHECK_TARGET = check
>}}}
>
>I am not sure this is correct...

It should be DEB_PYTHON_MODULE_PACKAGES (not DEB_PYTHON_PACKAGES)

I see now that morituri has it wrong too, but accidently works anyway 
there, sorry about the confusion :-/


>At the end of the building process, it runs the unit tests, and it
>fails, since it doesn't have the path to the private Python packages
>in its PYTHONPATH:

>It seems like this is built in the
>../build-area/scenic-0.5.11/build/2.5/py and
>../build-area/scenic-0.5.11/build/2.6/py directories. Maybe I can skip
>the unit tests? Maybe I can override the check target, adding these
>directories to the PYTHONPATH environment variable?

Try extend the PYTHONPATH in the check target.  Best to use make 
variable expansion using some of the variables calculated in 
/usr/share/cdbs/1/class/python-vars.mk.

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.


  - Jonas

-- 
  * Jonas Smedegaard - idealist & Internet-arkitekt
  * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100609/b7b536ef/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list