Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 04:06:16 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8393f46d7f4a - main - math/mlpack: Update 3.4.1 -> 3.4.2
Message-ID:  <202104250406.13P46GCd062233@gitrepo.freebsd.org>

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

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

commit 8393f46d7f4ae7d0e9cb710b1a0fab28c28f2cfd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-25 04:05:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-25 04:06:09 +0000

    math/mlpack: Update 3.4.1 -> 3.4.2
---
 math/mlpack/Makefile                   |  5 +++--
 math/mlpack/distinfo                   |  6 +++---
 math/mlpack/files/patch-CMakeLists.txt | 11 +++++++++++
 math/mlpack/pkg-plist                  |  4 ++++
 4 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/math/mlpack/Makefile b/math/mlpack/Makefile
index 2492b80bfba8..b606f3aa10c6 100644
--- a/math/mlpack/Makefile
+++ b/math/mlpack/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	mlpack
-DISTVERSION=	3.4.1
-PORTREVISION=	1
+DISTVERSION=	3.4.2
 CATEGORIES=	math # machine-learning
 MASTER_SITES=	https://mlpack.org/files/
 
@@ -24,6 +23,8 @@ USE_LDCONFIG=	yes
 CMAKE_ARGS=	-DSTB_IMAGE_INCLUDE_DIR=${LOCALBASE}/include/stb
 CMAKE_OFF=	BUILD_PYTHON_BINDINGS BUILD_TESTS
 
+BINARY_ALIAS=	git=false
+
 OPTIONS_DEFINE=		EXECUTABLES
 OPTIONS_DEFAULT=	EXECUTABLES
 OPTIONS_SUB=		yes
diff --git a/math/mlpack/distinfo b/math/mlpack/distinfo
index bc811f23e02a..50fc65a765f8 100644
--- a/math/mlpack/distinfo
+++ b/math/mlpack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600479633
-SHA256 (mlpack-3.4.1.tar.gz) = 05a20818477894b64726441fa98301a0334e36ded8c84380d2d0f800a961ad21
-SIZE (mlpack-3.4.1.tar.gz) = 5782241
+TIMESTAMP = 1619318150
+SHA256 (mlpack-3.4.2.tar.gz) = 9e5c4af5c276c86a0dcc553289f6fe7b1b340d61c1e59844b53da0debedbb171
+SIZE (mlpack-3.4.2.tar.gz) = 5782921
diff --git a/math/mlpack/files/patch-CMakeLists.txt b/math/mlpack/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..e38856f0a42c
--- /dev/null
+++ b/math/mlpack/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2021-04-25 03:10:15 UTC
++++ CMakeLists.txt
+@@ -534,7 +534,7 @@ endif ()
+ 
+ # Determine whether or not this is a git repository, so that we can set the
+ # version number if necessary.
+-find_package(Git)
++#find_package(Git)
+ set (USING_GIT "NO")
+ if (GIT_FOUND)
+   # Run 'git rev-parse HEAD' to find out if this is a working copy. If the
diff --git a/math/mlpack/pkg-plist b/math/mlpack/pkg-plist
index 63ef6d549b45..60404613fbc6 100644
--- a/math/mlpack/pkg-plist
+++ b/math/mlpack/pkg-plist
@@ -690,6 +690,8 @@ include/mlpack/methods/ann/layer/sequential.hpp
 include/mlpack/methods/ann/layer/sequential_impl.hpp
 include/mlpack/methods/ann/layer/softmax.hpp
 include/mlpack/methods/ann/layer/softmax_impl.hpp
+include/mlpack/methods/ann/layer/softmin.hpp
+include/mlpack/methods/ann/layer/softmin_impl.hpp
 include/mlpack/methods/ann/layer/softshrink.hpp
 include/mlpack/methods/ann/layer/softshrink_impl.hpp
 include/mlpack/methods/ann/layer/spatial_dropout.hpp
@@ -726,6 +728,8 @@ include/mlpack/methods/ann/loss_functions/log_cosh_loss.hpp
 include/mlpack/methods/ann/loss_functions/log_cosh_loss_impl.hpp
 include/mlpack/methods/ann/loss_functions/margin_ranking_loss.hpp
 include/mlpack/methods/ann/loss_functions/margin_ranking_loss_impl.hpp
+include/mlpack/methods/ann/loss_functions/mean_absolute_percentage_error.hpp
+include/mlpack/methods/ann/loss_functions/mean_absolute_percentage_error_impl.hpp
 include/mlpack/methods/ann/loss_functions/mean_bias_error.hpp
 include/mlpack/methods/ann/loss_functions/mean_bias_error_impl.hpp
 include/mlpack/methods/ann/loss_functions/mean_squared_error.hpp



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