Re: [PATCH 5/7] gnu: Add r-optparse.

2016-09-19 Thread Ricardo Wurmus
That’s also one I’ve packaged but forgot to send to the ML :)

> +(define-public r-optparse
> +  (package
> +(name "r-optparse")
> +(version "1.3.2")
> +(source
> + (origin
> +   (method url-fetch)
> +   (uri (cran-uri "optparse" version))
> +   (sha256
> +(base32
> + "1g8as89r91xxi5j5azsd6vrfrhg84mnfx2683j7pacdp8s33radw"
> +(build-system r-build-system)
> +(propagated-inputs
> + `(("r-getopt" ,r-getopt)))
> +(home-page
> + "https://github.com/trevorld/optparse;)
> +(synopsis "Command Line Option Parser")

“Command line option parser”

> +(description
> + "This package provides a command line parser inspired by Python's
> +'optparse' library to be used with Rscript to write \"#!\" shebang
> +scripts that accept short and long flag/options.")

@code{optparse} instead of 'optparse'

and I’d drop “"#!"”. 

~~ Ricardo




[PATCH 5/7] gnu: Add r-optparse.

2016-09-15 Thread Roel Janssen
* gnu/packages/bioinformatics.scm (r-optparse): New variable.
---
 gnu/packages/bioinformatics.scm | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 225e470..af32d66 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5381,6 +5381,29 @@ Bioconductor PDF and HTML documents.  Package vignettes 
illustrate use and
 functionality.")
 (license license:artistic2.0)))
 
+(define-public r-optparse
+  (package
+(name "r-optparse")
+(version "1.3.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "optparse" version))
+   (sha256
+(base32
+ "1g8as89r91xxi5j5azsd6vrfrhg84mnfx2683j7pacdp8s33radw"
+(build-system r-build-system)
+(propagated-inputs
+ `(("r-getopt" ,r-getopt)))
+(home-page
+ "https://github.com/trevorld/optparse;)
+(synopsis "Command Line Option Parser")
+(description
+ "This package provides a command line parser inspired by Python's
+'optparse' library to be used with Rscript to write \"#!\" shebang
+scripts that accept short and long flag/options.")
+(license license:gpl2+)))
+
 (define-public r-dnacopy
   (package
 (name "r-dnacopy")
-- 
2.10.0