[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#278290: could check for python build-dep when dh_python is used



martin f krafft <madduck@debian.org> writes:
> also sprach Marc 'HE' Brockschmidt <he@debian.org> [2004.10.26.1654 +0200]:
>> Well, we are not able to do proper Makefile parsing, so such a check
>> couldn't be very effective. Can you think of another way of checking
>> this?
> Shoudn't a match against debian/rules of
>
>   /^[[:space:]]+dh_python/
>
> together with a non-match against debian/control of
>
>   /^Build-Depends(|-Indep):.+python[0-9.]*-dev/
>
> be enough?

#!/usr/bin/make -f
[...]
optional-python-package:
        foo
        bar
        dh_python

You should also think of the cdbs-based packages using
python-distutils.mk.

Marc
-- 
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,"u"(kcapnu ,""nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa&{gwmclBHIbus}gwmclBHI&{yVGa09mbbus}yVGa09mb&{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse   # <mailto:marc@marcbrockschmidt.de>

Attachment: pgpIaLaGQF7Wg.pgp
Description: PGP signature


Reply to: