pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-apache-arrow: Update to 8.0.0



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Sat Jul 9 13:31:49 2022 -0700
Changeset:	0fc952d0177738fdff021aeb6255cd78efe03186

Modified Files:
	py-apache-arrow/Makefile
	py-apache-arrow/PLIST
	py-apache-arrow/TODO
	py-apache-arrow/distinfo

Log Message:
py-apache-arrow: Update to 8.0.0

Release Notes: https://arrow.apache.org/release/8.0.0.html

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0fc952d0177738fdff021aeb6255cd78efe03186

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-apache-arrow/Makefile | 20 ++++++++++++-----
 py-apache-arrow/PLIST    | 56 ++++++++++++++++++++++++++++++++++++++----------
 py-apache-arrow/TODO     |  2 +-
 py-apache-arrow/distinfo |  6 +++---
 4 files changed, 64 insertions(+), 20 deletions(-)

diffs:
diff --git a/py-apache-arrow/Makefile b/py-apache-arrow/Makefile
index fb655b1029..b3f0b36c20 100644
--- a/py-apache-arrow/Makefile
+++ b/py-apache-arrow/Makefile
@@ -1,9 +1,8 @@
 # $NetBSD$
-ARROW_VERSION=	7.0.0
-DISTNAME=	apache-arrow-${ARROW_VERSION}
-PKGNAME=	${PYPKGPREFIX}-pyarrow-${ARROW_VERSION}
+DISTNAME=	apache-arrow-${APACHE_ARROW_VERSION}
+PKGNAME=	${PYPKGPREFIX}-pyarrow-${APACHE_ARROW_VERSION}
 CATEGORIES=	devel
-MASTER_SITES=	https://dlcdn.apache.org/arrow/arrow-${ARROW_VERSION}
+MASTER_SITES=	https://dlcdn.apache.org/arrow/arrow-${APACHE_ARROW_VERSION}/
 
 
 MAINTAINER=	matthewd%fastmail.us@localhost
@@ -13,12 +12,23 @@ LICENSE=	apache-2.0
 
 .include "../../mk/bsd.prefs.mk"
 .include "../../wip/apache-arrow/options.mk"
+.include "../../wip/apache-arrow/version.mk"
 
 PYSETUPSUBDIR=	python
 
 USE_LANGUAGES=	c c++
 BUILD_DEPENDS+=	cmake-[0-9]*:../../devel/cmake
-USE_TOOLS=	cmake gmake
+TEST_DEPENDS+=	${PYPKGPREFIX}-test>=3.8:../../devel/py-test
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-runner>=6.0.0:../../devel/py-test-runner
+TEST_DEPENDS+=	${PYPKGPREFIX}-pytest-lazy-fixture>=0.6.3:../../wip/py-pytest-lazy-fixture
+USE_TOOLS=	cmake gmake pkg-config
+
+do-test:
+	# Build the extension inplace, and run tests directly.  Otherwise
+	# py-test-runner gets upset about missing imports
+	cd ${WRKSRC}/python  && ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py build_ext -i
+	cd ${WRKSRC}/python  && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
+
 
 MAKE_ENV+=	PYARROW_WITH_DATASET=1
 
diff --git a/py-apache-arrow/PLIST b/py-apache-arrow/PLIST
index 2ae7f55f47..610fe0c7d8 100644
--- a/py-apache-arrow/PLIST
+++ b/py-apache-arrow/PLIST
@@ -1,12 +1,12 @@
 @comment $NetBSD$
 bin/plasma_store
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/entry_points.txt
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/not-zip-safe
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/requires.txt
-${PYSITELIB}/pyarrow-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pyarrow/__init__.pxd
 ${PYSITELIB}/pyarrow/__init__.py
 ${PYSITELIB}/pyarrow/__init__.pyc
@@ -28,6 +28,8 @@ ${PYSITELIB}/pyarrow/_dataset.so
 ${PYSITELIB}/pyarrow/_dataset_orc.pyx
 ${PYSITELIB}/pyarrow/_dataset_parquet.pyx
 ${PYSITELIB}/pyarrow/_dataset_parquet.so
+${PYSITELIB}/pyarrow/_exec_plan.pyx
+${PYSITELIB}/pyarrow/_exec_plan.so
 ${PYSITELIB}/pyarrow/_feather.pyx
 ${PYSITELIB}/pyarrow/_feather.so
 ${PYSITELIB}/pyarrow/_flight.pyx
@@ -47,6 +49,8 @@ ${PYSITELIB}/pyarrow/_orc.pyx
 ${PYSITELIB}/pyarrow/_parquet.pxd
 ${PYSITELIB}/pyarrow/_parquet.pyx
 ${PYSITELIB}/pyarrow/_parquet.so
+${PYSITELIB}/pyarrow/_parquet_encryption.pxd
+${PYSITELIB}/pyarrow/_parquet_encryption.pyx
 ${PYSITELIB}/pyarrow/_plasma.pyx
 ${PYSITELIB}/pyarrow/_s3fs.pyx
 ${PYSITELIB}/pyarrow/array.pxi
@@ -120,6 +124,7 @@ ${PYSITELIB}/pyarrow/include/arrow/builder.h
 ${PYSITELIB}/pyarrow/include/arrow/c/abi.h
 ${PYSITELIB}/pyarrow/include/arrow/c/bridge.h
 ${PYSITELIB}/pyarrow/include/arrow/c/helpers.h
+${PYSITELIB}/pyarrow/include/arrow/chunk_resolver.h
 ${PYSITELIB}/pyarrow/include/arrow/chunked_array.h
 ${PYSITELIB}/pyarrow/include/arrow/compare.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/api.h
@@ -128,6 +133,7 @@ ${PYSITELIB}/pyarrow/include/arrow/compute/api_scalar.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/api_vector.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/cast.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec.h
+${PYSITELIB}/pyarrow/include/arrow/compute/exec/bloom_filter.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/exec_plan.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/expression.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/hash_join.h
@@ -139,12 +145,15 @@ ${PYSITELIB}/pyarrow/include/arrow/compute/exec/key_hash.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/key_map.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/options.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/order_by_impl.h
+${PYSITELIB}/pyarrow/include/arrow/compute/exec/partition_util.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/schema_util.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/task_util.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/test_util.h
+${PYSITELIB}/pyarrow/include/arrow/compute/exec/tpch_node.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec/util.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/function.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/kernel.h
+${PYSITELIB}/pyarrow/include/arrow/compute/light_array.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/registry.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/type_fwd.h
 ${PYSITELIB}/pyarrow/include/arrow/config.h
@@ -254,6 +263,7 @@ ${PYSITELIB}/pyarrow/include/arrow/python/iterators.h
 ${PYSITELIB}/pyarrow/include/arrow/python/numpy_convert.h
 ${PYSITELIB}/pyarrow/include/arrow/python/numpy_interop.h
 ${PYSITELIB}/pyarrow/include/arrow/python/numpy_to_arrow.h
+${PYSITELIB}/pyarrow/include/arrow/python/parquet_encryption.h
 ${PYSITELIB}/pyarrow/include/arrow/python/pch.h
 ${PYSITELIB}/pyarrow/include/arrow/python/platform.h
 ${PYSITELIB}/pyarrow/include/arrow/python/pyarrow.h
@@ -334,6 +344,7 @@ ${PYSITELIB}/pyarrow/include/arrow/util/config.h
 ${PYSITELIB}/pyarrow/include/arrow/util/converter.h
 ${PYSITELIB}/pyarrow/include/arrow/util/counting_semaphore.h
 ${PYSITELIB}/pyarrow/include/arrow/util/cpu_info.h
+${PYSITELIB}/pyarrow/include/arrow/util/debug.h
 ${PYSITELIB}/pyarrow/include/arrow/util/decimal.h
 ${PYSITELIB}/pyarrow/include/arrow/util/delimiting.h
 ${PYSITELIB}/pyarrow/include/arrow/util/dispatch.h
@@ -377,6 +388,7 @@ ${PYSITELIB}/pyarrow/include/arrow/util/tdigest.h
 ${PYSITELIB}/pyarrow/include/arrow/util/test_common.h
 ${PYSITELIB}/pyarrow/include/arrow/util/thread_pool.h
 ${PYSITELIB}/pyarrow/include/arrow/util/time.h
+${PYSITELIB}/pyarrow/include/arrow/util/tracing.h
 ${PYSITELIB}/pyarrow/include/arrow/util/trie.h
 ${PYSITELIB}/pyarrow/include/arrow/util/type_fwd.h
 ${PYSITELIB}/pyarrow/include/arrow/util/type_traits.h
@@ -408,6 +420,9 @@ ${PYSITELIB}/pyarrow/include/arrow/vendored/double-conversion/ieee.h
 ${PYSITELIB}/pyarrow/include/arrow/vendored/double-conversion/strtod.h
 ${PYSITELIB}/pyarrow/include/arrow/vendored/double-conversion/utils.h
 ${PYSITELIB}/pyarrow/include/arrow/vendored/optional.hpp
+${PYSITELIB}/pyarrow/include/arrow/vendored/pcg/pcg_extras.hpp
+${PYSITELIB}/pyarrow/include/arrow/vendored/pcg/pcg_random.hpp
+${PYSITELIB}/pyarrow/include/arrow/vendored/pcg/pcg_uint128.hpp
 ${PYSITELIB}/pyarrow/include/arrow/vendored/string_view.hpp
 ${PYSITELIB}/pyarrow/include/arrow/vendored/strptime.h
 ${PYSITELIB}/pyarrow/include/arrow/vendored/xxhash.h
@@ -426,6 +441,7 @@ ${PYSITELIB}/pyarrow/includes/libarrow_dataset_parquet.pxd
 ${PYSITELIB}/pyarrow/includes/libarrow_feather.pxd
 ${PYSITELIB}/pyarrow/includes/libarrow_flight.pxd
 ${PYSITELIB}/pyarrow/includes/libarrow_fs.pxd
+${PYSITELIB}/pyarrow/includes/libarrow_python.pxd
 ${PYSITELIB}/pyarrow/includes/libgandiva.pxd
 ${PYSITELIB}/pyarrow/includes/libplasma.pxd
 ${PYSITELIB}/pyarrow/io.pxi
@@ -451,9 +467,12 @@ ${PYSITELIB}/pyarrow/pandas-shim.pxi
 ${PYSITELIB}/pyarrow/pandas_compat.py
 ${PYSITELIB}/pyarrow/pandas_compat.pyc
 ${PYSITELIB}/pyarrow/pandas_compat.pyo
-${PYSITELIB}/pyarrow/parquet.py
-${PYSITELIB}/pyarrow/parquet.pyc
-${PYSITELIB}/pyarrow/parquet.pyo
+${PYSITELIB}/pyarrow/parquet/__init__.py
+${PYSITELIB}/pyarrow/parquet/__init__.pyc
+${PYSITELIB}/pyarrow/parquet/__init__.pyo
+${PYSITELIB}/pyarrow/parquet/encryption.py
+${PYSITELIB}/pyarrow/parquet/encryption.pyc
+${PYSITELIB}/pyarrow/parquet/encryption.pyo
 ${PYSITELIB}/pyarrow/plasma.py
 ${PYSITELIB}/pyarrow/plasma.pyc
 ${PYSITELIB}/pyarrow/plasma.pyo
@@ -476,7 +495,7 @@ ${PYSITELIB}/pyarrow/tests/bound_function_visit_strings.pyx
 ${PYSITELIB}/pyarrow/tests/conftest.py
 ${PYSITELIB}/pyarrow/tests/conftest.pyc
 ${PYSITELIB}/pyarrow/tests/conftest.pyo
-${PYSITELIB}/pyarrow/tests/data/feather/v0.17.0.version=2-compression=lz4.feather
+${PYSITELIB}/pyarrow/tests/data/feather/v0.17.0.version.2-compression.lz4.feather
 ${PYSITELIB}/pyarrow/tests/data/orc/README.md
 ${PYSITELIB}/pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz
 ${PYSITELIB}/pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc
@@ -499,12 +518,18 @@ ${PYSITELIB}/pyarrow/tests/pandas_examples.pyo
 ${PYSITELIB}/pyarrow/tests/pandas_threaded_import.py
 ${PYSITELIB}/pyarrow/tests/pandas_threaded_import.pyc
 ${PYSITELIB}/pyarrow/tests/pandas_threaded_import.pyo
+${PYSITELIB}/pyarrow/tests/parquet/__init__.py
+${PYSITELIB}/pyarrow/tests/parquet/__init__.pyc
+${PYSITELIB}/pyarrow/tests/parquet/__init__.pyo
 ${PYSITELIB}/pyarrow/tests/parquet/common.py
 ${PYSITELIB}/pyarrow/tests/parquet/common.pyc
 ${PYSITELIB}/pyarrow/tests/parquet/common.pyo
 ${PYSITELIB}/pyarrow/tests/parquet/conftest.py
 ${PYSITELIB}/pyarrow/tests/parquet/conftest.pyc
 ${PYSITELIB}/pyarrow/tests/parquet/conftest.pyo
+${PYSITELIB}/pyarrow/tests/parquet/encryption.py
+${PYSITELIB}/pyarrow/tests/parquet/encryption.pyc
+${PYSITELIB}/pyarrow/tests/parquet/encryption.pyo
 ${PYSITELIB}/pyarrow/tests/parquet/test_basic.py
 ${PYSITELIB}/pyarrow/tests/parquet/test_basic.pyc
 ${PYSITELIB}/pyarrow/tests/parquet/test_basic.pyo
@@ -520,6 +545,9 @@ ${PYSITELIB}/pyarrow/tests/parquet/test_dataset.pyo
 ${PYSITELIB}/pyarrow/tests/parquet/test_datetime.py
 ${PYSITELIB}/pyarrow/tests/parquet/test_datetime.pyc
 ${PYSITELIB}/pyarrow/tests/parquet/test_datetime.pyo
+${PYSITELIB}/pyarrow/tests/parquet/test_encryption.py
+${PYSITELIB}/pyarrow/tests/parquet/test_encryption.pyc
+${PYSITELIB}/pyarrow/tests/parquet/test_encryption.pyo
 ${PYSITELIB}/pyarrow/tests/parquet/test_metadata.py
 ${PYSITELIB}/pyarrow/tests/parquet/test_metadata.pyc
 ${PYSITELIB}/pyarrow/tests/parquet/test_metadata.pyo
@@ -533,6 +561,9 @@ ${PYSITELIB}/pyarrow/tests/parquet/test_parquet_writer.py
 ${PYSITELIB}/pyarrow/tests/parquet/test_parquet_writer.pyc
 ${PYSITELIB}/pyarrow/tests/parquet/test_parquet_writer.pyo
 ${PYSITELIB}/pyarrow/tests/pyarrow_cython_example.pyx
+${PYSITELIB}/pyarrow/tests/read_record_batch.py
+${PYSITELIB}/pyarrow/tests/read_record_batch.pyc
+${PYSITELIB}/pyarrow/tests/read_record_batch.pyo
 ${PYSITELIB}/pyarrow/tests/strategies.py
 ${PYSITELIB}/pyarrow/tests/strategies.pyc
 ${PYSITELIB}/pyarrow/tests/strategies.pyo
@@ -572,6 +603,9 @@ ${PYSITELIB}/pyarrow/tests/test_dataset.pyo
 ${PYSITELIB}/pyarrow/tests/test_deprecations.py
 ${PYSITELIB}/pyarrow/tests/test_deprecations.pyc
 ${PYSITELIB}/pyarrow/tests/test_deprecations.pyo
+${PYSITELIB}/pyarrow/tests/test_exec_plan.py
+${PYSITELIB}/pyarrow/tests/test_exec_plan.pyc
+${PYSITELIB}/pyarrow/tests/test_exec_plan.pyo
 ${PYSITELIB}/pyarrow/tests/test_extension_type.py
 ${PYSITELIB}/pyarrow/tests/test_extension_type.pyc
 ${PYSITELIB}/pyarrow/tests/test_extension_type.pyo
diff --git a/py-apache-arrow/TODO b/py-apache-arrow/TODO
index 66212fcc85..63035985a2 100644
--- a/py-apache-arrow/TODO
+++ b/py-apache-arrow/TODO
@@ -1,2 +1,2 @@
 * Build python support as a separate package
-* Try and run tests?
+* Investigate failing tests
diff --git a/py-apache-arrow/distinfo b/py-apache-arrow/distinfo
index 305675d598..0178874f0b 100644
--- a/py-apache-arrow/distinfo
+++ b/py-apache-arrow/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (apache-arrow-7.0.0.tar.gz) = 3c14a2ca983fd0e41146d23d869c0e33fea4b1c6a39c0d7cf44efb2e9af71b14
-SHA512 (apache-arrow-7.0.0.tar.gz) = 6727ea625b1a4dc3fd452e94ef5e8fd7a5bdebcf44b105f0ba684687cf126163317caef9e91cfd3722a8defca1f0295741ed0dde2393e85d15559bddd7ecb9a2
-Size (apache-arrow-7.0.0.tar.gz) = 11949886 bytes
+BLAKE2s (apache-arrow-8.0.0.tar.gz) = f3bc6d5fc8e26743d0c1bd7c1ca5c73c7a4ba0c77cb1ddfdd4e7be95a5ca1a6e
+SHA512 (apache-arrow-8.0.0.tar.gz) = 8280ce775c05296e33a292241c976caee2bddda7da396ef3c5da700347cb616a932475140139a5e96027781e71f66466e27fcf6423440bf720fbc83faabf0f3d
+Size (apache-arrow-8.0.0.tar.gz) = 17962146 bytes


Home | Main Index | Thread Index | Old Index