[PATCH 8/8] debian: add gpgsm as build dependency

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Sep 26 10:32:47 PDT 2015


On Sun 2015-08-16 13:41:16 -0400, David Bremner wrote:
> It's not needed for the actual build, but it is needed to run
> the SMIME tests.
> ---
>  debian/control | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/debian/control b/debian/control
> index 05cd04f..37ecedd 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -22,6 +22,7 @@ Build-Depends:
>   emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~),
>   gdb [!s390x !ia64 !armel],
>   dtach (>= 0.8),
> + gpgsm, 
>   bash-completion (>=1.9.0~)
>  Standards-Version: 3.9.6
>  Homepage: http://notmuchmail.org/
> -- 
> 2.5.0
>

Apparently you can now indicate that the build-dep is only necessary for
tests with <!nocheck>, like so:

--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Build-Depends:
  emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~),
  gdb [!s390x !ia64 !armel],
  dtach (>= 0.8),
+ gpgsm <!nocheck>, 
  bash-completion (>=1.9.0~)
 Standards-Version: 3.9.6
 Homepage: http://notmuchmail.org/


See
https://wiki.debian.org/BuildProfileSpec#Build-Depends_syntax_extension_.28restriction_formulas.29
for more details.

    --dkg


More information about the notmuch mailing list