Created
August 14, 2018 04:18
-
-
Save ndowens/22c1396657a7b79c9a66904884cef0f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
math/mlpack: | |
* Update to 3.0.3 | |
* Removed compiler:c++14-lang | |
-- Compiles fine without | |
* Removed -DBUILD_PYTHON_BINDINGS=false | |
-- Doesn't enable/disable bindings | |
-- Added OPTIONS + %%PYTHON%% in pkg-plist | |
to enable/disable install of bindings | |
Changelog: https://github.com/mlpack/mlpack/blob/mlpack-3.0.3/HISTORY.md | |
Index: math/mlpack/Makefile | |
=================================================================== | |
--- math/mlpack/Makefile (revision 477123) | |
+++ math/mlpack/Makefile (working copy) | |
@@ -1,8 +1,7 @@ | |
# $FreeBSD$ | |
PORTNAME= mlpack | |
-DISTVERSION= 3.0.1 | |
-PORTREVISION= 1 | |
+DISTVERSION= 3.0.3 | |
CATEGORIES= math | |
MASTER_SITES= http://mlpack.org/files/ | |
@@ -9,15 +8,37 @@ | |
MAINTAINER= [email protected] | |
COMMENT= Fast, flexible machine learning library | |
-LICENSE= BSD3CLAUSE | |
+LICENSE= BSD3CLAUSE | |
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT.txt | |
+BROKEN_mips= Sub-dep depends on gcc7(not avilable on mips) | |
+ | |
LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ | |
libboost_unit_test_framework.so:devel/boost-libs \ | |
libboost_serialization.so:devel/boost-libs \ | |
libarmadillo.so:math/armadillo | |
-USES= cmake:outsource compiler:c++14-lang | |
-CMAKE_ARGS+= -DBUILD_TESTS:BOOL=false -DBUILD_CLI_EXECUTABLES=false -DBUILD_PYTHON_BINDINGS=false | |
+USES= cmake:outsource | |
+CMAKE_ARGS+= -DBUILD_TESTS:BOOL=false -DBUILD_CLI_EXECUTABLES=false | |
USE_LDCONFIG= yes | |
+OPTIONS_DEFINE= DOCS EXAMPLES PYTHON | |
+OPTIONS_DEFAULT= PYTHON | |
+OPTIONS_SUB= yes | |
+PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ | |
+ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ | |
+ ${NUMPY} cython:lang/cython | |
+PYTHON_USES= python | |
+ | |
+PORTEXAMPLES= sample-ml-app | |
+DOCS= guide tutorials | |
+ | |
+do-install-DOCS-on: | |
+ @${MKDIR} ${STAGEDIR}${DOCSDIR} | |
+ (cd ${WRKSRC}/doc && ${CP} -R ${DOCS} ${STAGEDIR}${DOCSDIR}) | |
+ | |
+do-install-EXAMPLES-on: | |
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | |
+ (cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}) | |
+ | |
.include <bsd.port.mk> | |
Index: math/mlpack/distinfo | |
=================================================================== | |
--- math/mlpack/distinfo (revision 477123) | |
+++ math/mlpack/distinfo (working copy) | |
@@ -1,3 +1,3 @@ | |
-TIMESTAMP = 1526504906 | |
-SHA256 (mlpack-3.0.1.tar.gz) = 74fe128e1c12fa760885def6ce8bee58e6c4dfd1364e186a60521c543654202f | |
-SIZE (mlpack-3.0.1.tar.gz) = 2854183 | |
+TIMESTAMP = 1534209560 | |
+SHA256 (mlpack-3.0.3.tar.gz) = b6128e7eb700c69873c3cd5c3a78c79e9f5b7d92bc8d962670733c677d905d90 | |
+SIZE (mlpack-3.0.3.tar.gz) = 2897122 | |
Index: math/mlpack/pkg-plist | |
=================================================================== | |
--- math/mlpack/pkg-plist (revision 477123) | |
+++ math/mlpack/pkg-plist (working copy) | |
@@ -24,27 +24,27 @@ | |
include/mlpack/bindings/cli/set_param.hpp | |
include/mlpack/bindings/cli/string_type_param.hpp | |
include/mlpack/bindings/cli/string_type_param_impl.hpp | |
-include/mlpack/bindings/python/get_arma_type.hpp | |
-include/mlpack/bindings/python/get_cython_type.hpp | |
-include/mlpack/bindings/python/get_numpy_type.hpp | |
-include/mlpack/bindings/python/get_numpy_type_char.hpp | |
-include/mlpack/bindings/python/get_param.hpp | |
-include/mlpack/bindings/python/get_printable_param.hpp | |
-include/mlpack/bindings/python/get_python_type.hpp | |
-include/mlpack/bindings/python/import_decl.hpp | |
-include/mlpack/bindings/python/mlpack/arma_util.hpp | |
-include/mlpack/bindings/python/mlpack/cli_util.hpp | |
-include/mlpack/bindings/python/mlpack/serialization.hpp | |
-include/mlpack/bindings/python/print_class_defn.hpp | |
-include/mlpack/bindings/python/print_defn.hpp | |
-include/mlpack/bindings/python/print_doc.hpp | |
-include/mlpack/bindings/python/print_doc_functions.hpp | |
-include/mlpack/bindings/python/print_doc_functions_impl.hpp | |
-include/mlpack/bindings/python/print_input_processing.hpp | |
-include/mlpack/bindings/python/print_output_processing.hpp | |
-include/mlpack/bindings/python/print_pyx.hpp | |
-include/mlpack/bindings/python/py_option.hpp | |
-include/mlpack/bindings/python/strip_type.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_arma_type.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_cython_type.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_numpy_type.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_numpy_type_char.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_param.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_printable_param.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/get_python_type.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/import_decl.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/mlpack/arma_util.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/mlpack/cli_util.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/mlpack/serialization.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_class_defn.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_defn.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_doc.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_doc_functions.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_doc_functions_impl.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_input_processing.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_output_processing.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/print_pyx.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/py_option.hpp | |
+%%PYTHON%%include/mlpack/bindings/python/strip_type.hpp | |
include/mlpack/bindings/tests/clean_memory.hpp | |
include/mlpack/bindings/tests/delete_allocated_memory.hpp | |
include/mlpack/bindings/tests/get_allocated_memory.hpp | |
@@ -507,6 +507,8 @@ | |
include/mlpack/methods/ann/layer/add_merge_impl.hpp | |
include/mlpack/methods/ann/layer/alpha_dropout.hpp | |
include/mlpack/methods/ann/layer/alpha_dropout_impl.hpp | |
+include/mlpack/methods/ann/layer/atrous_convolution.hpp | |
+include/mlpack/methods/ann/layer/atrous_convolution_impl.hpp | |
include/mlpack/methods/ann/layer/base_layer.hpp | |
include/mlpack/methods/ann/layer/batch_norm.hpp | |
include/mlpack/methods/ann/layer/batch_norm_impl.hpp | |
@@ -539,6 +541,8 @@ | |
include/mlpack/methods/ann/layer/join.hpp | |
include/mlpack/methods/ann/layer/join_impl.hpp | |
include/mlpack/methods/ann/layer/layer.hpp | |
+include/mlpack/methods/ann/layer/layer_norm.hpp | |
+include/mlpack/methods/ann/layer/layer_norm_impl.hpp | |
include/mlpack/methods/ann/layer/layer_traits.hpp | |
include/mlpack/methods/ann/layer/layer_types.hpp | |
include/mlpack/methods/ann/layer/leaky_relu.hpp | |
@@ -559,6 +563,8 @@ | |
include/mlpack/methods/ann/layer/mean_pooling_impl.hpp | |
include/mlpack/methods/ann/layer/multiply_constant.hpp | |
include/mlpack/methods/ann/layer/multiply_constant_impl.hpp | |
+include/mlpack/methods/ann/layer/multiply_merge.hpp | |
+include/mlpack/methods/ann/layer/multiply_merge_impl.hpp | |
include/mlpack/methods/ann/layer/negative_log_likelihood.hpp | |
include/mlpack/methods/ann/layer/negative_log_likelihood_impl.hpp | |
include/mlpack/methods/ann/layer/parametric_relu.hpp | |
@@ -573,6 +579,8 @@ | |
include/mlpack/methods/ann/layer/select_impl.hpp | |
include/mlpack/methods/ann/layer/sequential.hpp | |
include/mlpack/methods/ann/layer/sequential_impl.hpp | |
+include/mlpack/methods/ann/layer/transposed_convolution.hpp | |
+include/mlpack/methods/ann/layer/transposed_convolution_impl.hpp | |
include/mlpack/methods/ann/layer/vr_class_reward.hpp | |
include/mlpack/methods/ann/layer/vr_class_reward_impl.hpp | |
include/mlpack/methods/ann/loss_functions/cross_entropy_error.hpp | |
@@ -642,6 +650,12 @@ | |
include/mlpack/methods/block_krylov_svd/randomized_block_krylov_svd.hpp | |
include/mlpack/methods/cf/cf.hpp | |
include/mlpack/methods/cf/cf_impl.hpp | |
+include/mlpack/methods/cf/decomposition_policies/batch_svd_method.hpp | |
+include/mlpack/methods/cf/decomposition_policies/nmf_method.hpp | |
+include/mlpack/methods/cf/decomposition_policies/randomized_svd_method.hpp | |
+include/mlpack/methods/cf/decomposition_policies/regularized_svd_method.hpp | |
+include/mlpack/methods/cf/decomposition_policies/svd_complete_method.hpp | |
+include/mlpack/methods/cf/decomposition_policies/svd_incomplete_method.hpp | |
include/mlpack/methods/cf/svd_wrapper.hpp | |
include/mlpack/methods/cf/svd_wrapper_impl.hpp | |
include/mlpack/methods/dbscan/dbscan.hpp | |
@@ -820,6 +834,7 @@ | |
include/mlpack/methods/reinforcement_learning/environment/cart_pole.hpp | |
include/mlpack/methods/reinforcement_learning/environment/continuous_mountain_car.hpp | |
include/mlpack/methods/reinforcement_learning/environment/mountain_car.hpp | |
+include/mlpack/methods/reinforcement_learning/environment/pendulum.hpp | |
include/mlpack/methods/reinforcement_learning/policy/aggregated_policy.hpp | |
include/mlpack/methods/reinforcement_learning/policy/greedy_policy.hpp | |
include/mlpack/methods/reinforcement_learning/q_learning.hpp | |
@@ -855,3 +870,33 @@ | |
lib/libmlpack.so | |
lib/libmlpack.so.3 | |
lib/libmlpack.so.3.0 | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/bindings.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/build.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/build_windows.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/cli_quickstart.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/cv.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/formats.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/hpt.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/iodoc.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/matrices.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/python_quickstart.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/sample.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/sample_ml_app.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/timer.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/guide/version.hpp | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/README.md | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/amf/amf.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/ann/ann.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/approx_kfn/approx_kfn.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/cf/cf.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/cne/cne.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/det/det.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/emst/emst.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/fastmks/fastmks.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/kmeans/kmeans.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/linear_regression/linear_regression.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/neighbor_search/neighbor_search.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/optimizer/optimizer.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/range_search/range_search.txt | |
+%%PORTDOCS%%%%DOCSDIR%%/tutorials/tutorials.txt | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment