git: db68e7212d58 - main - databases/arrow: Update 6.0.1 -> 8.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 13 Jun 2022 00:47:39 UTC
The branch main has been updated by yuri:

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

commit db68e7212d58383d791aef4e2fd64db362064c65
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-13 00:00:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-13 00:47:35 +0000

    databases/arrow: Update 6.0.1 -> 8.0.0
---
 databases/arrow/Makefile  | 37 +++++++++++---------------
 databases/arrow/distinfo  |  6 ++---
 databases/arrow/pkg-plist | 68 ++++++++++++++++++++++++++++++++---------------
 3 files changed, 65 insertions(+), 46 deletions(-)

diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile
index 7b4b75271908..e5d0d50cc273 100644
--- a/databases/arrow/Makefile
+++ b/databases/arrow/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	arrow
-DISTVERSION=	6.0.1
-PORTREVISION=	7
+DISTVERSION=	8.0.0
 CATEGORIES=	databases
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${DISTVERSION} \
 		https://github.com/apache/orc/archive/rel/:orc
@@ -26,7 +25,7 @@ CMAKE_OFF=	ARROW_BUILD_STATIC ARROW_WITH_BACKTRACE ARROW_BUILD_TESTS ARROW_BUILD
 
 OPTIONS_GROUP=			COMPRESSION COMPONENTS # components are listed in cpp/cmake_modules/DefineOptions.cmake
 OPTIONS_GROUP_COMPRESSION=	BROTLI BZ2 LZ4 SNAPPY ZLIB ZSTD
-OPTIONS_GROUP_COMPONENTS=	COMPUTE CSV DATASET FILESYSTEM FLIGHT GANDIVA HDFS HIVESERVER2 IPC JSON MIMALLOC PARQUET ORC PLASMA PYTHON S3 BUILD_UTILITIES TESTING
+OPTIONS_GROUP_COMPONENTS=	COMPUTE CSV DATASET FILESYSTEM FLIGHT GANDIVA HDFS HIVESERVER2 IPC JSON MIMALLOC PARQUET ORC PLASMA PYTHON S3 SKYHOOK SUBSTRAIT BUILD_UTILITIES TESTING
 OPTIONS_SUB=			yes
 
 COMPRESSION_DESC=		Compression support:
@@ -139,19 +138,15 @@ PLASMA_LIB_DEPENDS=		libaws-c-auth.so:security/aws-c-auth \
 BUILD_UTILITIES_DESC=		build Arrow commandline utilities
 BUILD_UTILITIES_CMAKE_BOOL=	ARROW_BUILD_UTILITIES
 
-PYTHON_DESC=			build the Arrow CPython extensions
+PYTHON_DESC=			Build python extension support
 PYTHON_CMAKE_BOOL=		ARROW_PYTHON
-PYTHON_USES=			python:3.9
-PYTHON_BUILD_DEPENDS=		${PY_NUMPY} \
-				${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+PYTHON_USES=			python:3.7+
+PYTHON_BUILD_DEPENDS=		${PYNUMPY} # see https://issues.apache.org/jira/browse/ARROW-16820
+PYTHON_CMAKE_ON=		-DPython3_EXECUTABLE=${PYTHON_CMD}
 PYTHON_LIB_DEPENDS=		libutf8proc.so:textproc/utf8proc
-PYTHON_RUN_DEPENDS=		${PY_NUMPY}
+PYTHON_RUN_DEPENDS=		${PYNUMPY}
 PYTHON_IMPLIES=			COMPUTE CSV DATASET FILESYSTEM HDFS JSON
-PYTHON_BROKEN=			py39-setuptools_scm-4.1.2_1 Unknown flavor 'py39', possible flavors: py38
-PYTHON_VARS=			PLIST_SUB=PYTHON_SUFFIX=${PYTHON_SUFFIX}
+PYTHON_VARS=			PLIST_SUB+=PYTHON_SUFFIX=${PYTHON_SUFFIX}
 
 S3_DESC=			S3 support
 S3_CMAKE_BOOL=			ARROW_S3
@@ -166,6 +161,14 @@ S3_LIB_DEPENDS=			\
 				libs2n.so:security/s2n
 S3_IMPLIES=			ZLIB
 
+SKYHOOK_DESC=			Build the Skyhook libraries
+SKYHOOK_CMAKE_BOOL=		ARROW_SKYHOOK
+SKYHOOK_BROKEN=			could NOT find librados
+
+SUBSTRAIT_DESC=			Build the Arrow Substrait Consumer Module
+SUBSTRAIT_CMAKE_BOOL=		ARROW_SUBSTRAIT
+SUBSTRAIT_BROKEN=		needs investigation
+
 TESTING_DESC=			Arrow testing libraries
 TESTING_CMAKE_BOOL=		ARROW_TESTING
 TESTING_LIB_DEPENDS=		libgtest.so:devel/googletest
@@ -178,14 +181,6 @@ OPTIONS_DEFAULT+=	${opt}
 
 .include <bsd.port.pre.mk>
 
-.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD
-LLVM_VER=	10 # clang-11 crashes on FreeBSD 14: https://bugs.llvm.org/show_bug.cgi?id=50277
-
-BUILD_DEPENDS+=	clang${LLVM_VER}:devel/llvm${LLVM_VER}
-CC=		${LOCALBASE}/bin/clang${LLVM_VER}
-CXX=		${LOCALBASE}/bin/clang++${LLVM_VER}
-.endif
-
 pre-configure-PYTHON-on:
 	@${REINPLACE_CMD} -e ' \
 		s|arrow_python|arrow_python${PYTHON_SUFFIX}|g; \
diff --git a/databases/arrow/distinfo b/databases/arrow/distinfo
index 0dc7e84a589f..ced82e21e969 100644
--- a/databases/arrow/distinfo
+++ b/databases/arrow/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1639427996
-SHA256 (apache-arrow-6.0.1.tar.gz) = 3786b3d2df954d078b3e68f98d2e5aecbaa3fa2accf075d7a3a13c187b9c5294
-SIZE (apache-arrow-6.0.1.tar.gz) = 9183616
+TIMESTAMP = 1655057054
+SHA256 (apache-arrow-8.0.0.tar.gz) = ad9a05705117c989c116bae9ac70492fe015050e1b80fb0e38fde4b5d863aaa3
+SIZE (apache-arrow-8.0.0.tar.gz) = 17962146
 SHA256 (release-1.6.6.tar.gz) = 9a92b3eaad1d8b88a18cee41058feb34eb43d919df363e0b74a0b857724e4ba0
 SIZE (release-1.6.6.tar.gz) = 13939853
diff --git a/databases/arrow/pkg-plist b/databases/arrow/pkg-plist
index 1191c02bd8e0..aa0ea34ded4f 100644
--- a/databases/arrow/pkg-plist
+++ b/databases/arrow/pkg-plist
@@ -27,6 +27,7 @@ include/arrow/builder.h
 include/arrow/c/abi.h
 include/arrow/c/bridge.h
 include/arrow/c/helpers.h
+include/arrow/chunk_resolver.h
 include/arrow/chunked_array.h
 include/arrow/compare.h
 %%COMPUTE%%include/arrow/compute/api.h
@@ -35,22 +36,27 @@ include/arrow/compare.h
 %%COMPUTE%%include/arrow/compute/api_vector.h
 %%COMPUTE%%include/arrow/compute/cast.h
 %%COMPUTE%%include/arrow/compute/exec.h
+%%COMPUTE%%include/arrow/compute/exec/bloom_filter.h
 %%COMPUTE%%include/arrow/compute/exec/exec_plan.h
 %%COMPUTE%%include/arrow/compute/exec/expression.h
 %%COMPUTE%%include/arrow/compute/exec/hash_join.h
 %%COMPUTE%%include/arrow/compute/exec/hash_join_dict.h
+%%COMPUTE%%include/arrow/compute/exec/ir_consumer.h
 %%COMPUTE%%include/arrow/compute/exec/key_compare.h
 %%COMPUTE%%include/arrow/compute/exec/key_encode.h
 %%COMPUTE%%include/arrow/compute/exec/key_hash.h
 %%COMPUTE%%include/arrow/compute/exec/key_map.h
 %%COMPUTE%%include/arrow/compute/exec/options.h
 %%COMPUTE%%include/arrow/compute/exec/order_by_impl.h
+%%COMPUTE%%include/arrow/compute/exec/partition_util.h
 %%COMPUTE%%include/arrow/compute/exec/schema_util.h
 %%COMPUTE%%include/arrow/compute/exec/task_util.h
 %%COMPUTE%%include/arrow/compute/exec/test_util.h
+%%COMPUTE%%include/arrow/compute/exec/tpch_node.h
 %%COMPUTE%%include/arrow/compute/exec/util.h
 %%COMPUTE%%include/arrow/compute/function.h
 %%COMPUTE%%include/arrow/compute/kernel.h
+%%COMPUTE%%include/arrow/compute/light_array.h
 %%COMPUTE%%include/arrow/compute/registry.h
 %%COMPUTE%%include/arrow/compute/type_fwd.h
 include/arrow/config.h
@@ -158,12 +164,14 @@ include/arrow/pretty_print.h
 %%PYTHON%%include/arrow/python/arrow_to_pandas.h
 %%PYTHON%%include/arrow/python/benchmark.h
 %%PYTHON%%include/arrow/python/common.h
+%%PYTHON%%include/arrow/python/csv.h
 %%PYTHON%%include/arrow/python/datetime.h
 %%PYTHON%%include/arrow/python/decimal.h
 %%PYTHON%%include/arrow/python/deserialize.h
 %%PYTHON%%include/arrow/python/extension_type.h
 %%PYTHON%%include/arrow/python/filesystem.h
 %%PYTHON%%include/arrow/python/flight.h
+%%PYTHON%%include/arrow/python/gdb.h
 %%PYTHON%%include/arrow/python/helpers.h
 %%PYTHON%%include/arrow/python/inference.h
 %%PYTHON%%include/arrow/python/init.h
@@ -173,6 +181,7 @@ include/arrow/pretty_print.h
 %%PYTHON%%include/arrow/python/numpy_convert.h
 %%PYTHON%%include/arrow/python/numpy_interop.h
 %%PYTHON%%include/arrow/python/numpy_to_arrow.h
+%%PYTHON%%include/arrow/python/parquet_encryption.h
 %%PYTHON%%include/arrow/python/pch.h
 %%PYTHON%%include/arrow/python/platform.h
 %%PYTHON%%include/arrow/python/pyarrow.h
@@ -195,11 +204,11 @@ include/arrow/table_builder.h
 include/arrow/tensor.h
 include/arrow/tensor/converter.h
 include/arrow/testing/async_test_util.h
+include/arrow/testing/builder.h
 include/arrow/testing/executor_util.h
 include/arrow/testing/extension_type.h
 include/arrow/testing/future_util.h
 include/arrow/testing/generator.h
-include/arrow/testing/gtest_common.h
 include/arrow/testing/gtest_compat.h
 include/arrow/testing/gtest_util.h
 include/arrow/testing/json_integration.h
@@ -242,6 +251,7 @@ include/arrow/util/bpacking_neon.h
 include/arrow/util/bpacking_simd128_generated.h
 include/arrow/util/bpacking_simd256_generated.h
 include/arrow/util/bpacking_simd512_generated.h
+include/arrow/util/byte_size.h
 include/arrow/util/byte_stream_split.h
 include/arrow/util/cancel.h
 include/arrow/util/checked_cast.h
@@ -252,6 +262,7 @@ include/arrow/util/config.h
 include/arrow/util/converter.h
 include/arrow/util/counting_semaphore.h
 include/arrow/util/cpu_info.h
+include/arrow/util/debug.h
 include/arrow/util/decimal.h
 include/arrow/util/delimiting.h
 include/arrow/util/dispatch.h
@@ -295,6 +306,7 @@ include/arrow/util/tdigest.h
 include/arrow/util/test_common.h
 include/arrow/util/thread_pool.h
 include/arrow/util/time.h
+include/arrow/util/tracing.h
 include/arrow/util/trie.h
 include/arrow/util/type_fwd.h
 include/arrow/util/type_traits.h
@@ -326,11 +338,18 @@ include/arrow/vendored/double-conversion/ieee.h
 include/arrow/vendored/double-conversion/strtod.h
 include/arrow/vendored/double-conversion/utils.h
 include/arrow/vendored/optional.hpp
+include/arrow/vendored/pcg/pcg_extras.hpp
+include/arrow/vendored/pcg/pcg_random.hpp
+include/arrow/vendored/pcg/pcg_uint128.hpp
 include/arrow/vendored/string_view.hpp
 include/arrow/vendored/strptime.h
 include/arrow/vendored/xxhash.h
+include/arrow/visit_array_inline.h
+include/arrow/visit_data_inline.h
+include/arrow/visit_scalar_inline.h
+include/arrow/visit_type_inline.h
 include/arrow/visitor.h
-include/arrow/visitor_inline.h
+include/arrow/visitor_generate.h
 %%GANDIVA%%include/gandiva/annotator.h
 %%GANDIVA%%include/gandiva/arrow.h
 %%GANDIVA%%include/gandiva/basic_decimal_scalar.h
@@ -346,6 +365,7 @@ include/arrow/visitor_inline.h
 %%GANDIVA%%include/gandiva/decimal_xlarge.h
 %%GANDIVA%%include/gandiva/dex.h
 %%GANDIVA%%include/gandiva/dex_visitor.h
+%%GANDIVA%%include/gandiva/encrypt_utils.h
 %%GANDIVA%%include/gandiva/engine.h
 %%GANDIVA%%include/gandiva/eval_batch.h
 %%GANDIVA%%include/gandiva/execution_context.h
@@ -354,6 +374,7 @@ include/arrow/visitor_inline.h
 %%GANDIVA%%include/gandiva/expr_decomposer.h
 %%GANDIVA%%include/gandiva/expr_validator.h
 %%GANDIVA%%include/gandiva/expression.h
+%%GANDIVA%%include/gandiva/expression_cache_key.h
 %%GANDIVA%%include/gandiva/expression_registry.h
 %%GANDIVA%%include/gandiva/field_descriptor.h
 %%GANDIVA%%include/gandiva/filter.h
@@ -372,16 +393,18 @@ include/arrow/visitor_inline.h
 %%GANDIVA%%include/gandiva/function_registry_timestamp_arithmetic.h
 %%GANDIVA%%include/gandiva/function_signature.h
 %%GANDIVA%%include/gandiva/gandiva_aliases.h
+%%GANDIVA%%include/gandiva/gandiva_object_cache.h
 %%GANDIVA%%include/gandiva/gdv_function_stubs.h
-%%GANDIVA%%include/gandiva/greedy_dual_size_cache.h
 %%GANDIVA%%include/gandiva/hash_utils.h
 %%GANDIVA%%include/gandiva/in_holder.h
+%%GANDIVA%%include/gandiva/interval_holder.h
 %%GANDIVA%%include/gandiva/like_holder.h
 %%GANDIVA%%include/gandiva/literal_holder.h
 %%GANDIVA%%include/gandiva/llvm_generator.h
 %%GANDIVA%%include/gandiva/llvm_includes.h
 %%GANDIVA%%include/gandiva/llvm_types.h
 %%GANDIVA%%include/gandiva/local_bitmaps_holder.h
+%%GANDIVA%%include/gandiva/lru_cache.h
 %%GANDIVA%%include/gandiva/lvalue.h
 %%GANDIVA%%include/gandiva/native_function.h
 %%GANDIVA%%include/gandiva/node.h
@@ -450,6 +473,7 @@ include/arrow/visitor_inline.h
 %%PARQUET%%include/parquet/type_fwd.h
 %%PARQUET%%include/parquet/types.h
 %%PARQUET%%include/parquet/windows_compatibility.h
+%%PARQUET%%include/parquet/windows_fixup.h
 %%PLASMA%%include/plasma/client.h
 %%PLASMA%%include/plasma/common.h
 %%PLASMA%%include/plasma/compat.h
@@ -488,13 +512,13 @@ lib/cmake/arrow/FindArrow.cmake
 %%DATASET%%lib/cmake/arrow/FindArrowDataset.cmake
 %%FLIGHT%%lib/cmake/arrow/FindArrowFlight.cmake
 %%PYTHON%%lib/cmake/arrow/FindArrowPython.cmake
-%%PLASMA%%lib/cmake/arrow/FindPlasma.cmake
 %%PYTHONFLIGHT%%lib/cmake/arrow/FindArrowPythonFlight.cmake
 %%TESTING%%lib/cmake/arrow/FindArrowTesting.cmake
 %%BROTLI%%lib/cmake/arrow/FindBrotli.cmake
 %%GANDIVA%%lib/cmake/arrow/FindGandiva.cmake
 %%LZ4%%lib/cmake/arrow/FindLz4.cmake
 %%PARQUET%%lib/cmake/arrow/FindParquet.cmake
+%%PLASMA%%lib/cmake/arrow/FindPlasma.cmake
 %%SNAPPY%%lib/cmake/arrow/FindSnappy.cmake
 %%PYTHON%%lib/cmake/arrow/Findutf8proc.cmake
 %%ZSTD%%lib/cmake/arrow/Findzstd.cmake
@@ -512,32 +536,32 @@ lib/cmake/arrow/FindArrow.cmake
 %%PLASMA%%lib/cmake/arrow/PlasmaTargets.cmake
 lib/cmake/arrow/arrow-config.cmake
 lib/libarrow.so
-lib/libarrow.so.600
-lib/libarrow.so.600.1.0
+lib/libarrow.so.800
+lib/libarrow.so.800.0.0
 %%DATASET%%lib/libarrow_dataset.so
-%%DATASET%%lib/libarrow_dataset.so.600
-%%DATASET%%lib/libarrow_dataset.so.600.1.0
+%%DATASET%%lib/libarrow_dataset.so.800
+%%DATASET%%lib/libarrow_dataset.so.800.0.0
 %%FLIGHT%%lib/libarrow_flight.so
-%%FLIGHT%%lib/libarrow_flight.so.600
-%%FLIGHT%%lib/libarrow_flight.so.600.1.0
+%%FLIGHT%%lib/libarrow_flight.so.800
+%%FLIGHT%%lib/libarrow_flight.so.800.8.0
 %%PYTHON%%lib/libarrow_python%%PYTHON_SUFFIX%%.so
-%%PYTHON%%lib/libarrow_python%%PYTHON_SUFFIX%%.so.400
-%%PYTHON%%lib/libarrow_python%%PYTHON_SUFFIX%%.so.400.1.0
+%%PYTHON%%lib/libarrow_python%%PYTHON_SUFFIX%%.so.800
+%%PYTHON%%lib/libarrow_python%%PYTHON_SUFFIX%%.so.800.0.0
 %%PYTHONFLIGHT%%lib/libarrow_python%%PYTHON_SUFFIX%%_flight.so
-%%PYTHONFLIGHT%%lib/libarrow_python%%PYTHON_SUFFIX%%_flight.so.400
-%%PYTHONFLIGHT%%lib/libarrow_python%%PYTHON_SUFFIX%%_flight.so.400.1.0
+%%PYTHONFLIGHT%%lib/libarrow_python%%PYTHON_SUFFIX%%_flight.so.800
+%%PYTHONFLIGHT%%lib/libarrow_python%%PYTHON_SUFFIX%%_flight.so.800.0.0
 %%TESTING%%lib/libarrow_testing.so
-%%TESTING%%lib/libarrow_testing.so.600
-%%TESTING%%lib/libarrow_testing.so.600.1.0
+%%TESTING%%lib/libarrow_testing.so.800
+%%TESTING%%lib/libarrow_testing.so.800.0.0
 %%GANDIVA%%lib/libgandiva.so
-%%GANDIVA%%lib/libgandiva.so.600
-%%GANDIVA%%lib/libgandiva.so.600.1.0
+%%GANDIVA%%lib/libgandiva.so.800
+%%GANDIVA%%lib/libgandiva.so.800.0.0
 %%PARQUET%%lib/libparquet.so
-%%PARQUET%%lib/libparquet.so.600
-%%PARQUET%%lib/libparquet.so.600.1.0
+%%PARQUET%%lib/libparquet.so.800
+%%PARQUET%%lib/libparquet.so.800.0.0
 %%PLASMA%%lib/libplasma.so
-%%PLASMA%%lib/libplasma.so.600
-%%PLASMA%%lib/libplasma.so.600.1.0
+%%PLASMA%%lib/libplasma.so.800
+%%PLASMA%%lib/libplasma.so.800.0.0
 %%COMPUTE%%libdata/pkgconfig/arrow-compute.pc
 %%CSV%%libdata/pkgconfig/arrow-csv.pc
 %%DATASET%%libdata/pkgconfig/arrow-dataset.pc