Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2024 07:44:53 GMT
From:      Zsolt Udvari <uzsolt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e6f0342457bb - main - devel/R-cran-R.methodsS3: new port
Message-ID:  <202409260744.48Q7irRv023012@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e6f0342457bb81dee4f1169b3791fa3b7d291aa8

commit e6f0342457bb81dee4f1169b3791fa3b7d291aa8
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-09-26 07:42:41 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-09-26 07:44:21 +0000

    devel/R-cran-R.methodsS3: new port
    
    Methods that simplify the setup of S3 generic functions and S3 methods.
    Major effort has been made in making definition of methods as simple as
    possible with a minimum of maintenance for package developers. For
    example, generic functions are created automatically, if missing, and
    naming conflict are automatically solved, if possible. The method
    setMethodS3() is a good start for those who in the future may want to
    migrate to S4. This is a cross-platform package implemented in pure R
    that generates standard S3 methods.
---
 devel/Makefile                     |  1 +
 devel/R-cran-R.methodsS3/Makefile  | 15 +++++++++++++++
 devel/R-cran-R.methodsS3/distinfo  |  3 +++
 devel/R-cran-R.methodsS3/pkg-descr |  7 +++++++
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e574b891454d..19ec130fecd1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6,6 +6,7 @@
     SUBDIR += R-cran-Defaults
     SUBDIR += R-cran-Hmisc
     SUBDIR += R-cran-ModelMetrics
+    SUBDIR += R-cran-R.methodsS3
     SUBDIR += R-cran-R6
     SUBDIR += R-cran-RUnit
     SUBDIR += R-cran-Rcpp
diff --git a/devel/R-cran-R.methodsS3/Makefile b/devel/R-cran-R.methodsS3/Makefile
new file mode 100644
index 000000000000..362f2e4755d6
--- /dev/null
+++ b/devel/R-cran-R.methodsS3/Makefile
@@ -0,0 +1,15 @@
+PORTNAME=	R.methodsS3
+DISTVERSION=	1.8.2
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	uzsolt@FreeBSD.org
+COMMENT=	Methods that simplify the setup of S3 generic functions
+WWW=		https://cran.r-project.org/web/packages/R.methodsS3/
+
+LICENSE=	LGPL21 LGPL3
+LICENSE_COMB=	dual
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-R.methodsS3/distinfo b/devel/R-cran-R.methodsS3/distinfo
new file mode 100644
index 000000000000..faac95708207
--- /dev/null
+++ b/devel/R-cran-R.methodsS3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727336130
+SHA256 (R.methodsS3_1.8.2.tar.gz) = 822d5e61dad4c91e8883be2b38d7b89f87492046d0fe345704eb5d2658927c2e
+SIZE (R.methodsS3_1.8.2.tar.gz) = 24131
diff --git a/devel/R-cran-R.methodsS3/pkg-descr b/devel/R-cran-R.methodsS3/pkg-descr
new file mode 100644
index 000000000000..46e7aca4bce9
--- /dev/null
+++ b/devel/R-cran-R.methodsS3/pkg-descr
@@ -0,0 +1,7 @@
+Methods that simplify the setup of S3 generic functions and S3 methods. Major
+effort has been made in making definition of methods as simple as possible with
+a minimum of maintenance for package developers. For example, generic functions
+are created automatically, if missing, and naming conflict are automatically
+solved, if possible. The method setMethodS3() is a good start for those who in
+the future may want to migrate to S4. This is a cross-platform package
+implemented in pure R that generates standard S3 methods.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409260744.48Q7irRv023012>