From bd2669607d36f34d2f456b8dc9d478fe6281c43f Mon Sep 17 00:00:00 2001 From: mef Date: Sun, 1 Dec 2024 05:00:41 +0000 Subject: [PATCH] (geography/R-s2)% Updatd 1.0.6 to 1.1.7 (NEWS.md is not updated to 1.1.7) # s2 1.1.5 * fix compiler problem on Alpine 3.19.0 (#251) # s2 1.1.4 * Updated more tests to pass on a forthcoming waldo package update (#237). # s2 1.1.3 * Made a test less strict to pass tests on Alpine Linux (#218, #220). * Updated tests to pass on forthcoming waldo package update (@hadley, #226). * Updated vendored file modifications to suppress a multi-line comment warning on gcc (#214, #227). # s2 1.1.2 - Fixed test for `as.data.frame()` for `s2_cell()` to comply with new wk version and the latest release of R (#207). - Fix unary union of an empty multipolygon (#208). - Added `#include ` to an Abseil header to fix compilation with gcc13 (#209, #210). - Update internal Abseil to 20220623.1 LTS (#213). # s2 1.1.1 - Fix new CRAN check warnings (#202, #203). # s2 1.1.0 - Fix for s2 build on Windows with R <= 3.6.x (#142) - Fix for s2 build on MacOS with multiple openssl versions (#142, #145, #146) - Fix for s2 build on 32-bit openssl (#143, #147) - Added `s2_convex_hull()` and `s2_convex_hull_agg()` (@spiry34, #150, #151, #163). - Added `max_distance` argument to `s2_closest_edges()`, making distance-constrained k-nearest neighbours possible (#125, #156, #162). - Added a spherical `s2_point_on_surface()` implementation for polygons (@kylebutts, #152, #161) - Added a `s2_cell_union()` vector class to represent cell coverings and operators to generate them from an s2 geography vector (e.g., `s2_covering_cell_ids()`). Cell unions are useful as compact representations of spherical geometry and can be used like a bounding box to determine a possible intersection with one or more geographies (#85, #94, #164). - Refactored the simple features compatability layer into a standalone code base for potential future use in a Python adaptation (#165). - Migrate input and output to non-deprecated wk package handlers and writers (#101, #165, #168). - Make `s2_union_agg()` more efficient using a recursive merge strategy (#103, #165). - Fix package build on Raspberry Pi (#169, #171). - Fix warning on clang14 when compiling with `-O0` (#167, #172). - Added `s2_prepared_dwithin()` and fixed `s2_dwithin_matrix()` such that it efficiently uses the index (#157, #174). - Updated `s2_lnglat()` and `s2_point()` to use `wk::xy()` (a record-style vctr) to represent point coordinates. This is much faster than the previous representation which relied on `list()` of external pointers (#181, #159). - Added arguments `planar` and `tessellate_tol_m` to `s2_as_text()`, `s2_as_binary()`. Use `planar = TRUE` and set `tessellate_tol_m` to the maximum error for your use-case to automatically subdivide edges to preserve or "straight" lines in Plate carree projection on import (#182). - Added arguments `planar` and `tessellate_tol_m` to `s2_geog_from_text()`, and `s2_geog_from_wkb()`. Use `planar = TRUE` and set `tessellate_tol_m` to the maximum error for your use-case to automatically subdivide edges to ensure or "straight" lines in Plate carree projection on export (#182). # s2 1.0.7 - Update the internal copy of s2geometry to use updated Abseil, fixing a compiler warning on gcc-11 (#79, #134). --- geography/R-s2/Makefile | 15 ++++++++++++--- geography/R-s2/distinfo | 9 ++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/geography/R-s2/Makefile b/geography/R-s2/Makefile index 1426eda58ee5..3dc514c22900 100644 --- a/geography/R-s2/Makefile +++ b/geography/R-s2/Makefile @@ -1,14 +1,23 @@ -# $NetBSD: Makefile,v 1.5 2023/10/24 22:09:19 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2024/12/01 05:00:41 mef Exp $ R_PKGNAME= s2 -R_PKGVER= 1.0.6 -PKGREVISION= 2 +R_PKGVER= 1.1.7 CATEGORIES= geography MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Spherical Geometry Operators Using the S2 Geometry Library LICENSE= apache-2.0 +TEST_DEPENDS+= R-bit64-[0-9]*:../../devel/R-bit64 +TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat +TEST_DEPENDS+= R-vctrs-[0-9]*:../../math/R-vctrs + +TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec +TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata +TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin +TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url +TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval + USE_LANGUAGES= c c++ .include "../../math/R/Makefile.extension" diff --git a/geography/R-s2/distinfo b/geography/R-s2/distinfo index 98f7ab829d67..ff10815da153 100644 --- a/geography/R-s2/distinfo +++ b/geography/R-s2/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.4 2022/10/08 20:02:06 he Exp $ +$NetBSD: distinfo,v 1.5 2024/12/01 05:00:41 mef Exp $ -BLAKE2s (R/s2_1.0.6.tar.gz) = abef7cb812ef604615cf4741c66cc4062796708c3ae8191b91d236303c436fda -SHA512 (R/s2_1.0.6.tar.gz) = 4529179020f7503217cdfe1d139135a79c622bc38472627d4a1f86181ba825e5dc5f833a9ffb9be6cb272647fb61765bd6b5db89b6f46015ebcf0e996b93b623 -Size (R/s2_1.0.6.tar.gz) = 1605788 bytes -SHA1 (patch-src_s2_util_math_exactfloat_exactfloat.cc) = 7dda8c6095ac4f07f2bdc0e9801bb055acf808e7 +BLAKE2s (R/s2_1.1.7.tar.gz) = ac2d079302b55e2ed7df820b597ff9056f859822b8f18297f8db17b9d92bb775 +SHA512 (R/s2_1.1.7.tar.gz) = 3c2b6b83a11b8979781cfc56c58fd6d788fda62cdc8a7d635b84219f4cf530eea06068b5418a07e3e04ed3455ec2d7b3e1d7a8d91b133514e94d31dab2be477a +Size (R/s2_1.1.7.tar.gz) = 2381288 bytes