git: b2bff7d6736e - main - math/R-cran-isoband: Update to 0.2.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 May 2023 00:03:50 UTC
The branch main has been updated by tota: URL: https://cgit.FreeBSD.org/ports/commit/?id=b2bff7d6736e87cdcdfac68a13c3b1403d2f0001 commit b2bff7d6736e87cdcdfac68a13c3b1403d2f0001 Author: TAKATSU Tomonari <tota@FreeBSD.org> AuthorDate: 2023-04-26 02:12:05 +0000 Commit: TAKATSU Tomonari <tota@FreeBSD.org> CommitDate: 2023-05-04 00:02:14 +0000 math/R-cran-isoband: Update to 0.2.7 - Update to 0.2.7 - Drop maintainership --- math/R-cran-isoband/Makefile | 7 ++-- math/R-cran-isoband/distinfo | 6 ++-- math/R-cran-isoband/files/patch-commit-81dfbed7 | 48 ------------------------- 3 files changed, 6 insertions(+), 55 deletions(-) diff --git a/math/R-cran-isoband/Makefile b/math/R-cran-isoband/Makefile index 6b2efc30b551..a6c6516bf29a 100644 --- a/math/R-cran-isoband/Makefile +++ b/math/R-cran-isoband/Makefile @@ -1,15 +1,14 @@ PORTNAME= isoband -PORTVERSION= 0.2.5 -PORTREVISION= 1 +PORTVERSION= 0.2.7 CATEGORIES= math DISTNAME= ${PORTNAME}_${PORTVERSION} -MAINTAINER= tota@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Generate Isolines and Isobands from Regularly Spaced Elevation Grids WWW= https://cran.r-project.org/web/packages/isoband/ LICENSE= MIT -USES= cran:auto-plist,compiles compiler:c++11-lang +USES= compiler:c++11-lang cran:auto-plist,compiles .include <bsd.port.mk> diff --git a/math/R-cran-isoband/distinfo b/math/R-cran-isoband/distinfo index ad0e1d23feb7..431f7a6c822a 100644 --- a/math/R-cran-isoband/distinfo +++ b/math/R-cran-isoband/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1626259977 -SHA256 (isoband_0.2.5.tar.gz) = 46f53fa066f0966f02cb2bf050190c0d5e950dab2cdf565feb63fc092c886ba5 -SIZE (isoband_0.2.5.tar.gz) = 1671911 +TIMESTAMP = 1682475010 +SHA256 (isoband_0.2.7.tar.gz) = 7693223343b45b86de2b5b638ff148f0dafa6d7b1237e822c5272902f79cdf61 +SIZE (isoband_0.2.7.tar.gz) = 1591812 diff --git a/math/R-cran-isoband/files/patch-commit-81dfbed7 b/math/R-cran-isoband/files/patch-commit-81dfbed7 deleted file mode 100644 index 84871ffb9554..000000000000 --- a/math/R-cran-isoband/files/patch-commit-81dfbed7 +++ /dev/null @@ -1,48 +0,0 @@ -commit 81dfbed7428a526acf7c97937902fc36d7eaeb21 -Author: Kevin Ushey <kevinushey@gmail.com> -Date: Wed Sep 21 15:50:44 2022 -0700 - - Use compatible RNG with shuffle (#1688) - - Fixes #1687 - -diff --git src/testthat/vendor/catch.h src/testthat/vendor/catch.h -index e8a10b07..83818641 100644 ---- src/testthat/vendor/catch.h -+++ src/testthat/vendor/catch.h -@@ -7165,27 +7165,23 @@ namespace Catch { - // #included from: catch_test_case_registry_impl.hpp - #define TWOBLUECUBES_CATCH_TEST_CASE_REGISTRY_IMPL_HPP_INCLUDED - --#include <vector> -+#include <algorithm> - #include <set> - #include <sstream> --#include <algorithm> -+#include <vector> -+ -+#ifdef CATCH_CONFIG_CPP11_SHUFFLE -+#include <random> -+#endif - - namespace Catch { - - struct RandomNumberGenerator { -- typedef std::ptrdiff_t result_type; -- -- result_type operator()( result_type n ) const { return rand() % n; } -- --#ifdef CATCH_CONFIG_CPP11_SHUFFLE -- static constexpr result_type min() { return 0; } -- static constexpr result_type max() { return 1000000; } -- result_type operator()() const { return rand() % max(); } --#endif - template<typename V> - static void shuffle( V& vector ) { -- RandomNumberGenerator rng; - #ifdef CATCH_CONFIG_CPP11_SHUFFLE -+ std::random_device device; -+ std::mt19937 rng( device() ); - std::shuffle( vector.begin(), vector.end(), rng ); - #else - random_shuffle( vector.begin(), vector.end(), rng );