From: Simon Ruderich Date: Sat, 7 Sep 2019 10:50:53 +0000 (+0200) Subject: Fix false positive in non-verbose check for cython's .pyx files X-Git-Tag: 0.10~2 X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=commitdiff_plain;h=5fa7a26d171b5557884db3906ec13de46ab35449 Fix false positive in non-verbose check for cython's .pyx files --- diff --git a/NEWS b/NEWS index 814d1c7..fcfcbeb 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,8 @@ Version 0.XX generated pbuilder/sbuild (pbuilder and sbuild provide build dependencies but other do not); reported by Christoph Berg and Rafael Laboissière (Debian bug #924387). +- Fix false positive in non-verbose check for cython's .pyx files; reported by + Picca Frédéric-Emmanuel (Debian Bug #939632). Version 0.09 diff --git a/bin/blhc b/bin/blhc index a6cb190..fba278f 100755 --- a/bin/blhc +++ b/bin/blhc @@ -544,7 +544,7 @@ sub is_non_verbose_build { return 0 if $line =~ /^\s*C\+\+.+?:\s+(?:yes|no)\s*$/; return 0 if $line =~ /^\s*C\+\+ Library: stdc\+\+$/; # "Compiling" non binary files. - return 0 if $line =~ /^\s*Compiling \S+\.(?:py|el)['"]?\s*(?:\.\.\.)?$/; + return 0 if $line =~ /^\s*Compiling \S+\.(?:py|pyx|el)['"]?\s*(?:\.\.\.|because it changed\.)?$/; return 0 if $line =~ /^\s*[Cc]ompiling catalog \S+\.po\b/; # "Compiling" with no file name. if ($line =~ /^\s*[Cc]ompiling\s+(.+?)(?:\.\.\.)?$/) { diff --git a/t/logs/verbose-build b/t/logs/verbose-build index 95ce318..07476f5 100644 --- a/t/logs/verbose-build +++ b/t/logs/verbose-build @@ -179,3 +179,4 @@ cd /build/scribus-1.4.5+dfsg1/obj-x86_64-linux-gnu/scribus/desaxe && /usr/lib/cc compiling catalog tap/locale/ja/LC_MESSAGES/tappy.po to tap/locale/ja/LC_MESSAGES/tappy.mo compiling catalog tap/locale/nl/LC_MESSAGES/tappy.po to tap/locale/nl/LC_MESSAGES/tappy.mo +Compiling pyzoltan/core/carray.pyx because it changed.