pyliblo_0.9.1-3_amd64.changes REJECTED

Sebastian Ramacher sramacher at debian.org
Tue Aug 27 22:47:32 UTC 2013


On 2013-08-28 00:25:29, Sebastian Ramacher wrote:
> On 2013-08-27 22:42:05, Jaromír Mikeš wrote:
> > 2013/8/27 Sebastian Ramacher <sramacher at debian.org>
> > 
> > >
> > > To run the tests, the extensions modules need to be available in
> > > PYTHONPATH. Starting with something like the test targets found at
> > > https://wiki.debian.org/Python/LibraryStyleGuide, one could use
> > >
> > > # Callable functions to determine the correct PYTHONPATH
> > > pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1))
> > >
> > > ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
> > > test-python%:
> > >   PYTHONPATH=$(call pythonpath,$*) \
> > >     python$* -m unittest discover -s test/ -p '*.py' -v
> > >
> > > override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
> > > endif
> > >
> > > (untested)
> > >
> > >
> > tested here:
> > 
> >    debian/rules override_dh_auto_test
> > make[1]: Entering directory `/tmp/buildd/pyliblo-0.9.1'
> > make[1]: *** No rule to make target `test-python2.7', needed by
> > `override_dh_auto_test'.  Stop.
> 
> The attached patch definitely did it for me. Well, except for the test
> failure of course.

... and for the test failure maybe the attached patch is enough.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overflow.patch
Type: text/x-diff
Size: 1048 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130828/e7387f7a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130828/e7387f7a/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list