summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2021-01-01 05:09:26 +0000
committermef <mef@pkgsrc.org>2021-01-01 05:09:26 +0000
commit9d8306ce47c936048567991ff33b1f96e16cab06 (patch)
tree96a9d6985990d3841bc9d47cd9ebeece3168d27d
parent6f32ce9b89600a396ab5124f8ee916498fc42abc (diff)
downloadpkgsrc-9d8306ce47c936048567991ff33b1f96e16cab06.tar.gz
(lang/R-cpp11) import R-cpp11-0.2.4
Provides a header only, C++11 interface to R's C interface. Compared to other approaches 'cpp11' strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with 'ALTREP' vectors.
-rw-r--r--lang/R-cpp11/DESCR4
-rw-r--r--lang/R-cpp11/Makefile17
-rw-r--r--lang/R-cpp11/distinfo6
3 files changed, 27 insertions, 0 deletions
diff --git a/lang/R-cpp11/DESCR b/lang/R-cpp11/DESCR
new file mode 100644
index 00000000000..4e8b2df256b
--- /dev/null
+++ b/lang/R-cpp11/DESCR
@@ -0,0 +1,4 @@
+Provides a header only, C++11 interface to R's C interface. Compared
+to other approaches 'cpp11' strives to be safe against long jumps from
+the C API as well as C++ exceptions, conform to normal R function
+semantics and supports interaction with 'ALTREP' vectors.
diff --git a/lang/R-cpp11/Makefile b/lang/R-cpp11/Makefile
new file mode 100644
index 00000000000..374dc86901f
--- /dev/null
+++ b/lang/R-cpp11/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/01/01 05:09:26 mef Exp $
+
+R_PKGNAME= cpp11
+R_PKGVER= 0.2.4
+CATEGORIES= lang
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= C++11 Interface for R's C Interface
+LICENSE= mit # + file LICENSE
+
+# Packages suggested but not available: 'bench', 'decor', 'lobstr'
+TEST_DEPENDS+= R-progress-[0-9]*:../../sysutils/R-progress
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/R-cpp11/distinfo b/lang/R-cpp11/distinfo
new file mode 100644
index 00000000000..fabbac261f0
--- /dev/null
+++ b/lang/R-cpp11/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/01/01 05:09:26 mef Exp $
+
+SHA1 (R/cpp11_0.2.4.tar.gz) = fd2d569b2fe21e87435a4581fd16f76f2ae46dd2
+RMD160 (R/cpp11_0.2.4.tar.gz) = 7677405de54695014246493adae53cec64e52f18
+SHA512 (R/cpp11_0.2.4.tar.gz) = 8ac8cf28cefb301549314c543ed393cd563108faa2de9715f4f0d61d29aebff3c7c86ee1d4de978421e989db6c094b052805dadf00c68778f893e402c8d9b9e0
+Size (R/cpp11_0.2.4.tar.gz) = 160632 bytes