summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/mlpack/Makefile5
-rw-r--r--math/mlpack/distinfo6
-rw-r--r--math/mlpack/files/patch-CMakeLists.txt11
-rw-r--r--math/mlpack/pkg-plist4
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