❦ 11 août 2013 20:13 CEST, Piotr Ożarowski <pi...@debian.org> :

>> - From my understanding of the manual page, I should be able to use
>> pybuild for a single binary package without having a debian/install
>> file. This does not seem the case.
>> 
>> See:
>>  svn://anonscm.debian.org/python-modules/packages/pycha/trunk/
>> 
>> I suppose this is because it is installed in debian/tmp. Should I bump
>> the compatibility level to avoid this or should this case be handled
>> by pybuild?
>
> fixed in git commit 30e5d808a5589c10a8f6c0a1cf6d1d88f2e83820
> (I will wait till the current one migrates to testing before
> uploading fixed version, i.e. about a week)

OK, thanks!

> BTW, this should work for you since 1.20130807-1:
>
> --- ../trunk/debian/rules       2013-08-11 19:40:43.181921243 +0200
> +++ debian/rules        2013-08-11 20:11:45.505968928 +0200
> @@ -1,13 +1,11 @@
>  #!/usr/bin/make -f
>  # -*- mode: makefile; coding: utf-8 -*-
>  
> +export PYBUILD_TEST_NOSE=1
> +
>  %:
>         dh $@ --with python2 --buildsystem=pybuild
>  
> -override_dh_auto_test:
> -       PYBUILD_SYSTEM=custom \
> -       PYBUILD_TEST_ARGS="nosetests --with-doctest tests/*.py" dh_auto_test
> -

Unfortunately, the files in tests are not prefixed by `test_`. So I
still need explicit test command, right?
-- 
Use variable names that mean something.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to