Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2019 21:56:12 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517777 - in head/devel: . R-cran-optparse
Message-ID:  <201911162156.xAGLuCu8065369@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jwb
Date: Sat Nov 16 21:56:11 2019
New Revision: 517777
URL: https://svnweb.freebsd.org/changeset/ports/517777

Log:
  devel/R-cran-optparse: Command line flag parser inspired by Python's optparse
  
  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.

Added:
  head/devel/R-cran-optparse/
  head/devel/R-cran-optparse/Makefile   (contents, props changed)
  head/devel/R-cran-optparse/distinfo   (contents, props changed)
  head/devel/R-cran-optparse/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Nov 16 21:53:37 2019	(r517776)
+++ head/devel/Makefile	Sat Nov 16 21:56:11 2019	(r517777)
@@ -56,6 +56,7 @@
     SUBDIR += R-cran-magrittr
     SUBDIR += R-cran-memoise
     SUBDIR += R-cran-microbenchmark
+    SUBDIR += R-cran-optparse
     SUBDIR += R-cran-pillar
     SUBDIR += R-cran-pkgconfig
     SUBDIR += R-cran-pkgmaker

Added: head/devel/R-cran-optparse/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/R-cran-optparse/Makefile	Sat Nov 16 21:56:11 2019	(r517777)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	optparse
+DISTVERSION=	1.6.4
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	jwb@FreeBSD.org
+COMMENT=	Command line flag parser inspired by Python's optparse
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+CRAN_DEPENDS=	R-cran-getopt>=1.20.2:devel/R-cran-getopt
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>

Added: head/devel/R-cran-optparse/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/R-cran-optparse/distinfo	Sat Nov 16 21:56:11 2019	(r517777)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1573918581
+SHA256 (optparse_1.6.4.tar.gz) = cd7855ebc2303da4ab0615282667c7eeef5329faf51bd2bf2e4b0d250561d973
+SIZE (optparse_1.6.4.tar.gz) = 37654

Added: head/devel/R-cran-optparse/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/R-cran-optparse/pkg-descr	Sat Nov 16 21:56:11 2019	(r517777)
@@ -0,0 +1,4 @@
+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.
+
+WWW: https://cran.r-project.org/web/packages/optparse/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911162156.xAGLuCu8065369>