git: 8048e6496830 - main - math/R-cran-tensor: New port: Tensor product of arrays
Guangyuan Yang
ygy at FreeBSD.org
Mon May 24 07:50:49 UTC 2021
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8048e6496830f24279d51077e0ed3ec047cf3c38
commit 8048e6496830f24279d51077e0ed3ec047cf3c38
Author: Guangyuan Yang <ygy at FreeBSD.org>
AuthorDate: 2021-05-24 07:49:23 +0000
Commit: Guangyuan Yang <ygy at FreeBSD.org>
CommitDate: 2021-05-24 07:49:23 +0000
math/R-cran-tensor: New port: Tensor product of arrays
Approved by: lwhsu (mentor, implicit)
---
math/Makefile | 1 +
math/R-cran-tensor/Makefile | 15 +++++++++++++++
math/R-cran-tensor/distinfo | 3 +++
math/R-cran-tensor/pkg-descr | 4 ++++
4 files changed, 23 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index d4c55f4dade9..07257f707961 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -117,6 +117,7 @@
SUBDIR += R-cran-stabledist
SUBDIR += R-cran-statmod
SUBDIR += R-cran-survey
+ SUBDIR += R-cran-tensor
SUBDIR += R-cran-truncnorm
SUBDIR += R-cran-units
SUBDIR += R-cran-uroot
diff --git a/math/R-cran-tensor/Makefile b/math/R-cran-tensor/Makefile
new file mode 100644
index 000000000000..96ebd8f1d181
--- /dev/null
+++ b/math/R-cran-tensor/Makefile
@@ -0,0 +1,15 @@
+# Created by: Guangyuan Yang <ygy at FreeBSD.org>
+
+PORTNAME= tensor
+DISTVERSION= 1.5
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= ygy at FreeBSD.org
+COMMENT= Tensor product of arrays
+
+LICENSE= GPLv2+
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-tensor/distinfo b/math/R-cran-tensor/distinfo
new file mode 100644
index 000000000000..96e18c9a8555
--- /dev/null
+++ b/math/R-cran-tensor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621841003
+SHA256 (tensor_1.5.tar.gz) = e1dec23e3913a82e2c79e76313911db9050fb82711a0da227f94fc6df2d3aea6
+SIZE (tensor_1.5.tar.gz) = 2518
diff --git a/math/R-cran-tensor/pkg-descr b/math/R-cran-tensor/pkg-descr
new file mode 100644
index 000000000000..95a4ee3f652c
--- /dev/null
+++ b/math/R-cran-tensor/pkg-descr
@@ -0,0 +1,4 @@
+The tensor product of two arrays is notionally an outer product of the arrays
+collapsed in specific extents by summing along the appropriate diagonals.
+
+WWW: https://CRAN.R-project.org/package=tensor
More information about the dev-commits-ports-all
mailing list