git: 35ce895d1468 - main - devel/R-cran-sparsevctrs: New port: Sparse Vectors for Use in Data Frames
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Feb 2025 16:58:24 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=35ce895d1468317c6d6ab4bf1b352559acef1c0f commit 35ce895d1468317c6d6ab4bf1b352559acef1c0f Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2025-02-02 15:20:15 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2025-02-02 16:58:11 +0000 devel/R-cran-sparsevctrs: New port: Sparse Vectors for Use in Data Frames Provides sparse vectors powered by ALTREP (Alternative Representations for R Objects) that behave like regular vectors, and can thus be used in data frames. Also provides tools to convert between sparse matrices and data frames with sparse columns and functions to interact with sparse vectors. WWW: https://cran.r-project.org/web/packages/sparsevctrs/ --- devel/Makefile | 1 + devel/R-cran-sparsevctrs/Makefile | 23 +++++++++++++++++++++++ devel/R-cran-sparsevctrs/distinfo | 3 +++ devel/R-cran-sparsevctrs/pkg-descr | 5 +++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bdb49a76f5d3..146863549e77 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -136,6 +136,7 @@ SUBDIR += R-cran-sessioninfo SUBDIR += R-cran-sfsmisc SUBDIR += R-cran-sourcetools + SUBDIR += R-cran-sparsevctrs SUBDIR += R-cran-sys SUBDIR += R-cran-systemfonts SUBDIR += R-cran-testit diff --git a/devel/R-cran-sparsevctrs/Makefile b/devel/R-cran-sparsevctrs/Makefile new file mode 100644 index 000000000000..3ee17d64e794 --- /dev/null +++ b/devel/R-cran-sparsevctrs/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sparsevctrs +DISTVERSION= 0.2.0 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= eduardo@FreeBSD.org +COMMENT= Sparse Vectors for Use in Data Frames +WWW= https://cran.r-project.org/web/packages/sparsevctrs/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +CRAN_DEPENDS= R-cran-cli>=3.4.0:devel/R-cran-cli \ + R-cran-rlang>=1.1.0:devel/R-cran-rlang \ + R-cran-vctrs>0:devel/R-cran-vctrs +BUILD_DEPENDS= ${CRAN_DEPENDS} +RUN_DEPENDS= ${CRAN_DEPENDS} +TEST_DEPENDS= R-cran-knitr>0:print/R-cran-knitr \ + R-cran-testthat>0:devel/R-cran-testthat + +USES= cran:auto-plist,compiles + +.include <bsd.port.mk> diff --git a/devel/R-cran-sparsevctrs/distinfo b/devel/R-cran-sparsevctrs/distinfo new file mode 100644 index 000000000000..0def8731930f --- /dev/null +++ b/devel/R-cran-sparsevctrs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1738489648 +SHA256 (sparsevctrs_0.2.0.tar.gz) = 04f806ea5e3e7aae406e4aeb759df398b7a7871a812ee20681bdcb4dfafe3f8a +SIZE (sparsevctrs_0.2.0.tar.gz) = 83931 diff --git a/devel/R-cran-sparsevctrs/pkg-descr b/devel/R-cran-sparsevctrs/pkg-descr new file mode 100644 index 000000000000..bbb3311424f4 --- /dev/null +++ b/devel/R-cran-sparsevctrs/pkg-descr @@ -0,0 +1,5 @@ +Provides sparse vectors powered by ALTREP (Alternative Representations +for R Objects) that behave like regular vectors, and can thus be used in +data frames. Also provides tools to convert between sparse matrices and +data frames with sparse columns and functions to interact with sparse +vectors.