public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyarrow/
Date: Fri, 21 Jul 2023 07:10:25 +0000 (UTC)	[thread overview]
Message-ID: <1689923420.8a18d779139665d225f56dff5f68b474c077935a.mgorny@gentoo> (raw)

commit:     8a18d779139665d225f56dff5f68b474c077935a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 21 06:58:17 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 07:10:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a18d779

dev-python/pyarrow: Bump to 12.0.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyarrow/Manifest              |  1 +
 dev-python/pyarrow/pyarrow-12.0.1.ebuild | 71 ++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest
index 451f3061e63b..fec6d859a687 100644
--- a/dev-python/pyarrow/Manifest
+++ b/dev-python/pyarrow/Manifest
@@ -1 +1,2 @@
 DIST apache-arrow-12.0.0.tar.gz 20159048 BLAKE2B 43b4f36e1d1f84fc83c46a3627ad72cead38310f4325b8d21d17d726cd416016f0839d312c80737c0a921da6aefee537413e30309a656301c19834c2986d734e SHA512 f815be4fb20b6001ba5525270765fe239b5468708a7be34b93b60ee0ce63464727d183c9756fbc33bffd199019e1f06a7fddd306ce8388435cea7771070a2ca9
+DIST apache-arrow-12.0.1.tar.gz 20172604 BLAKE2B bf66761d33ceb778c2f53c2e643e0c2bb4448f29eaa94d17e9815628665f4965fde28bd47fce4a5874717d2161c3f8adbb2e8a0e6658a51ae6d617e4f09d202b SHA512 551ae200551fcc73b7deddcc5f0b06633159ab1308506901a9086e4e2e34e4437f26d609fdbacba0ebe7d1fe83bdb8e92a268e9e41575d655d5b2d4fbef7a7ce

diff --git a/dev-python/pyarrow/pyarrow-12.0.1.ebuild b/dev-python/pyarrow/pyarrow-12.0.1.ebuild
new file mode 100644
index 000000000000..7ac59fddb3d9
--- /dev/null
+++ b/dev-python/pyarrow/pyarrow-12.0.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Python library for Apache Arrow"
+HOMEPAGE="
+	https://pypi.org/project/pyarrow/
+	https://arrow.apache.org/
+"
+SRC_URI="mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz"
+S="${WORKDIR}/apache-arrow-${PV}/python"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="parquet snappy ssl"
+
+RDEPEND="
+	~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?]
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/hypothesis[${PYTHON_USEDEP}]
+		<dev-python/pandas-2[${PYTHON_USEDEP}]
+		dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+	# wtf?
+	tests/test_fs.py::test_localfs_errors
+	# these require apache-arrow with jemalloc that doesn't seem
+	# to be supported by the Gentoo package
+	tests/test_memory.py::test_env_var
+	tests/test_memory.py::test_specific_memory_pools
+	tests/test_memory.py::test_supported_memory_backends
+)
+
+src_compile() {
+	export PYARROW_PARALLEL="$(makeopts_jobs)"
+	export PYARROW_BUILD_VERBOSE=1
+	export PYARROW_CXXFLAGS="${CXXFLAGS}"
+	export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0
+	export PYARROW_CMAKE_GENERATOR=Ninja
+	export PYARROW_WITH_HDFS=1
+	if use parquet; then
+		export PYARROW_WITH_DATASET=1
+		export PYARROW_WITH_PARQUET=1
+		use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1
+	fi
+	if use snappy; then
+		export PYARROW_WITH_SNAPPY=1
+	fi
+
+	distutils-r1_src_compile
+}
+
+python_test() {
+	cd "${T}" || die
+	epytest --pyargs pyarrow
+}


             reply	other threads:[~2023-07-21  7:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-21  7:10 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05  1:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyarrow/ Sam James
2024-07-17 12:35 Michał Górny
2024-06-20 15:20 Michał Górny
2024-06-03  1:52 Michał Górny
2024-06-02 18:57 Arthur Zamarin
2024-05-15  1:40 Michał Górny
2024-05-08  9:48 Michał Górny
2024-05-01  5:28 Joonas Niilola
2024-04-22 11:04 Michał Górny
2024-04-21 13:57 Michał Górny
2024-04-11 11:48 Michał Górny
2024-04-11 11:48 Michał Górny
2024-04-11 11:48 Michał Górny
2024-03-30 17:02 Arthur Zamarin
2024-03-22 20:37 Arthur Zamarin
2024-03-19 20:09 Michał Górny
2024-03-13 20:48 Michał Górny
2024-03-13 15:03 Arthur Zamarin
2024-02-02 16:05 Michał Górny
2024-02-02 16:05 Michał Górny
2024-01-23 22:59 Jakov Smolić
2024-01-23 17:30 Arthur Zamarin
2023-12-30 18:32 Michał Górny
2023-12-28  7:23 Michał Górny
2023-11-23 15:39 Alfredo Tupone
2023-11-22  0:48 Alfredo Tupone
2023-05-10 19:34 Alfredo Tupone
2023-05-07 17:20 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689923420.8a18d779139665d225f56dff5f68b474c077935a.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox