GNU bug report logs - #25835
[PATCH 00/19] gnu: Add perl-anyevent-i3.

Previous Next

Package: guix-patches;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Wed, 22 Feb 2017 15:00:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kei Kebreau <kei <at> openmailbox.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 25835 <at> debbugs.gnu.org
Subject: bug#25835: [PATCH 06/19] gnu: Add perl-module-build-xsutil.
Date: Sat, 25 Feb 2017 13:45:46 -0500
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:

> * gnu/packages/perl.scm (perl-module-build-xsutil): New variable.
> ---
>  gnu/packages/perl.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 47 insertions(+)
>
> diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
> index d16d144d2..88b596c98 100644
> --- a/gnu/packages/perl.scm
> +++ b/gnu/packages/perl.scm
> @@ -4051,6 +4051,53 @@ replacement.  Whereas Module::Build has over 6,700 lines of code; this module
>  has less than 120, yet supports the features needed by most distributions.")
>      (license (package-license perl))))
>  
> +(define-public perl-module-build-xsutil
> +  (package
> +    (name "perl-module-build-xsutil")
> +    (version "0.16")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://cpan/authors/id/H/HI/HIDEAKIO/"
> +                                  "Module-Build-XSUtil-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1nrs0b6hmwl3sw3g50b9857qgp5cbbbpl716zwn30h9vwjj2yxhm"))))
> +    (build-system perl-build-system)
> +    (native-inputs
> +     `(("perl-capture-tiny" ,perl-capture-tiny)
> +       ("perl-cwd-guard" ,perl-cwd-guard)
> +       ("perl-file-copy-recursive" ,perl-file-copy-recursive)
> +       ("perl-module-build" ,perl-module-build)))
> +    (propagated-inputs
> +     `(("perl-devel-checkcompiler" ,perl-devel-checkcompiler)))
> +    (home-page "http://search.cpan.org/dist/Module-Build-XSUtil")
> +    (synopsis "Module::Build class for building XS modules")
> +    (description
> +     "@code{Module::Build::XSUtil} is subclass of @code{Module::Build}
> +for support building XS modules.
> +
> +This is a list of a new parameters in the @code{Module::Build::new} method:
> +
> +@enumerate
> +@item @code{needs_compiler_c99}: This option checks C99 compiler availability.
> +
> +@item @code{needs_compiler_cpp}: This option checks C++ compiler availability.
> +Can also pass 'extra_compiler_flags' and 'extra_linker_flags' for C++.
> +
> +@item @code{generate_ppport_h}: Generate ppport.h by @code{Devel::PPPort}.
> +
> +@item @code{generate_xshelper_h}: Generate xshelper.h which is a helper header
> +file to include EXTERN.h, perl.h, XSUB.h and ppport.h, and defines some
> +portability stuff which are not supported by ppport.h.
> +
> +It is ported from @code{Module::Install::XSUtil}.
> +
> +@item @code{cc_warnings}: Toggle compiler warnings. Enabled by default.

Two spaces here, please.

> +
> +@item @code{-g options}: Invoke Build.PL with '-g' to enable debug options.

Could you wrap the second '-g' option using @code instead of quotes?

> +@end enumerate")
> +    (license (package-license perl))))
> +
>  (define-public perl-module-find
>    (package
>      (name "perl-module-find")

The rest LGTM.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.