Sat Apr 30 14:33:39 2022 UTC ()
(lang/R-cpp11)  Updated 0.3.1 to 0.4.2

# cpp11 0.4.2

* Romain Franå·½ois is now the maintainer.

# cpp11 0.4.1

* Fix crash related to unwind protect optimization (#244)

# cpp11 0.4.0

## New Features

* New  opt-in  message  formatting  with the  {fmt}  C++  library  for
  `cpp11::messages()` `cpp11::stop()` and `cpp11::warning()`.  Set the
  `CPP11_USE_FMT`    macro   to    use    this    feature   in    your
  package. (@sbearrows, #169, #208)

* New `as_double()` and `as_integer()` methods to coerce integers to
  doubles and doubles to integers to doubles (@sbearrows, #46)

* `cpp11::matrix` iterators can now be used either row-wise or
  column-wise (the default) depending on the user's choice (@alyst,
  #229)

## Improvements and fixes

* Read-only matrix accessors are now marked const (#234)

* `writable::r_vector` default constructors now return a 0 length
  vector when converted to `SEXP` (#166)

* Read-only `r_vector` constructors now disallow implicit construction
  with named arguments (#237)

* Read-only `r_vector.attr()` methods now return const objects, so it
  is a compile time error to try to assign to them (#237)

* Fixed `+` and `+=` operators of `r_vector::[const_]iterator` to
  conform the *iterators* concept: `+=` updates the iterator, and `+`
  returns the updated copy, while keeping the original unchanged
  (@alyst, #231)

* Remove undefined behavior when constructing global `cpp11::sexp`s (#224)

* Removed redundant `.Call calls` in cpp11.cpp file (@sbearrows, #170)

* Error messages now output original file name rather than the
  temporary file name (@sbearrows, #194)

* `cpp_register()` now includes `attribute_visible` in the init
  function, so packages compiled with `C_VISIBILITY` will find the
  init function.

* Fixed bug when running `cpp_source()` on the same file more than
  once (@sbearrows, #202)

* Allow cpp11 decorators of the form `cpp11::linking_to` (@sbearrows,
  #193)

* Removed internal instances of `cpp11::stop()` and replaced with C++
  exceptions (@sbearrows, #203)

* Names of named lists are now resized along with the list elements
  (@sbearrows, #206)


(mef)
diff -r1.3 -r1.4 pkgsrc/lang/R-cpp11/Makefile
diff -r1.1 -r1.2 pkgsrc/lang/R-cpp11/buildlink3.mk
diff -r1.5 -r1.6 pkgsrc/lang/R-cpp11/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/lang/R-cpp11/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/R-cpp11/Makefile 2021/09/04 14:32:31 1.3
+++ pkgsrc/lang/R-cpp11/Makefile 2022/04/30 14:33:39 1.4
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.3 2021/09/04 14:32:31 mef Exp $ 1# $NetBSD: Makefile,v 1.4 2022/04/30 14:33:39 mef Exp $
2 2
3R_PKGNAME= cpp11 3R_PKGNAME= cpp11
4R_PKGVER= 0.3.1 4R_PKGVER= 0.4.2
5CATEGORIES= lang 5CATEGORIES= lang
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= C++11 Interface for R's C Interface 8COMMENT= C++11 Interface for R's C Interface
9LICENSE= mit # + file LICENSE 9LICENSE= mit # + file LICENSE
10 10
11# Packages suggested but not available: 'bench', 'decor', 'lobstr' 11# Packages suggested but not available: 'bench', 'decor', 'lobstr'
12 12
13TEST_DEPENDS+= R-progress-[0-9]*:../../sysutils/R-progress 13TEST_DEPENDS+= R-progress-[0-9]*:../../sysutils/R-progress
14TEST_DEPENDS+= R-brio-[0-9]*:../../devel/R-brio 14TEST_DEPENDS+= R-brio-[0-9]*:../../devel/R-brio
15TEST_DEPENDS+= R-callr-[0-9]*:../../devel/R-callr 15TEST_DEPENDS+= R-callr-[0-9]*:../../devel/R-callr
16TEST_DEPENDS+= R-cli-[0-9]*:../../devel/R-cli 16TEST_DEPENDS+= R-cli-[0-9]*:../../devel/R-cli
17TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr 17TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr

cvs diff -r1.1 -r1.2 pkgsrc/lang/R-cpp11/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/lang/R-cpp11/buildlink3.mk 2021/09/08 14:50:28 1.1
+++ pkgsrc/lang/R-cpp11/buildlink3.mk 2022/04/30 14:33:39 1.2
@@ -1,15 +1,17 @@ @@ -1,15 +1,17 @@
1# $NetBSD: buildlink3.mk,v 1.1 2021/09/08 14:50:28 mef Exp $ 1# $NetBSD: buildlink3.mk,v 1.2 2022/04/30 14:33:39 mef Exp $
2# 2#
3 3
4BUILDLINK_TREE+= r_cpp11 4BUILDLINK_TREE+= r_cpp11
5 5
6.if !defined(R_CPP11_BUILDLINK3_MK) 6.if !defined(R_CPP11_BUILDLINK3_MK)
7R_CPP11_BUILDLINK3_MK:= 7R_CPP11_BUILDLINK3_MK:=
8 8
9BUILDLINK_API_DEPENDS.r_cpp11+= R-cpp11>=0.3.1 9BUILDLINK_API_DEPENDS.r_cpp11+= R-cpp11>=0.4.2
10BUILDLINK_ABI_DEPENDS.r_cpp11+= R-cpp11>=0.3.1 10BUILDLINK_ABI_DEPENDS.r_cpp11+= R-cpp11>=0.4.2
11BUILDLINK_PKGSRCDIR.r_cpp11?= ../../lang/R-cpp11 11BUILDLINK_PKGSRCDIR.r_cpp11?= ../../lang/R-cpp11
12 12
 13BUILDLINK_FILES.r_cpp11= lib/R/library/cpp11/include/cpp11/*
 14
13.endif # R_CPP11_BUILDLINK3_MK 15.endif # R_CPP11_BUILDLINK3_MK
14 16
15BUILDLINK_TREE+= -r_cpp11 17BUILDLINK_TREE+= -r_cpp11

cvs diff -r1.5 -r1.6 pkgsrc/lang/R-cpp11/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/R-cpp11/distinfo 2021/10/26 10:51:29 1.5
+++ pkgsrc/lang/R-cpp11/distinfo 2022/04/30 14:33:39 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2021/10/26 10:51:29 nia Exp $ 1$NetBSD: distinfo,v 1.6 2022/04/30 14:33:39 mef Exp $
2 2
3BLAKE2s (R/cpp11_0.3.1.tar.gz) = 68544bca7c9032e4732869efbace759d6179f731043b7c95de6e6eb079ba624c 3BLAKE2s (R/cpp11_0.4.2.tar.gz) = be34deb7057411697440b5f1320f75ce2739066ac2f13a467e44dad9e5b0e9c0
4SHA512 (R/cpp11_0.3.1.tar.gz) = 86ccc2c64b54d40aed32f5e8f35eed2e893d1289a372484852de162ad0eaaabf36b4b600fe91a0009e435e1778a65990a2bddae3c53d2ed136cec5682e9d4e2a 4SHA512 (R/cpp11_0.4.2.tar.gz) = 078eff5924df78572fd50f443f4c04ca69a11b11a1a2986a2a20023ec05e5c0fcb3bcbad3a50873583e6637960925dc62e8afe2bdb6e3019cf2627ff50b0ff01
5Size (R/cpp11_0.3.1.tar.gz) = 217952 bytes 5Size (R/cpp11_0.4.2.tar.gz) = 317708 bytes