From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/apache-arrow/
Date: Mon, 08 Sep 2025 14:42:15 +0000 (UTC) [thread overview]
Message-ID: <1757342531.bb575e5598ec5daae9debe663ea4517c9ebe40bc.mgorny@gentoo> (raw)
commit: bb575e5598ec5daae9debe663ea4517c9ebe40bc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 8 13:56:17 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 8 14:42:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb575e55
dev-libs/apache-arrow: Add a live ebuild for testing
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-libs/apache-arrow/apache-arrow-9999.ebuild | 119 +++++++++++++++++++++++++
1 file changed, 119 insertions(+)
diff --git a/dev-libs/apache-arrow/apache-arrow-9999.ebuild b/dev-libs/apache-arrow/apache-arrow-9999.ebuild
new file mode 100644
index 000000000000..717616112186
--- /dev/null
+++ b/dev-libs/apache-arrow/apache-arrow-9999.ebuild
@@ -0,0 +1,119 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: upstream meson port is incomplete.
+# https://github.com/apache/arrow/issues/45778
+inherit cmake git-r3
+
+DESCRIPTION="A cross-language development platform for in-memory data"
+HOMEPAGE="
+ https://arrow.apache.org/
+ https://github.com/apache/arrow/
+"
+EGIT_REPO_URI="https://github.com/apache/arrow.git"
+EGIT_SUBMODULES=( '*' )
+S="${WORKDIR}/${P}/cpp"
+
+LICENSE="Apache-2.0"
+SLOT="0/$(ver_cut 1)"
+IUSE="
+ +brotli bzip2 +compute +dataset +json lz4 +parquet +re2 +snappy ssl
+ test zlib zstd
+"
+REQUIRED_USE="
+ test? (
+ json
+ parquet? ( zstd )
+ )
+ ssl? ( json )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ brotli? ( app-arch/brotli:= )
+ bzip2? ( app-arch/bzip2:= )
+ compute? ( dev-libs/libutf8proc:= )
+ dataset? (
+ dev-libs/libutf8proc:=
+ )
+ elibc_musl? ( sys-libs/timezone-data )
+ lz4? ( app-arch/lz4:= )
+ parquet? (
+ dev-libs/libutf8proc:=
+ dev-libs/thrift:=
+ ssl? ( dev-libs/openssl:= )
+ )
+ re2? ( dev-libs/re2:= )
+ snappy? ( app-arch/snappy:= )
+ zlib? ( sys-libs/zlib:= )
+ zstd? ( app-arch/zstd:= )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/xsimd
+ >=dev-libs/boost-1.81.0
+ json? ( dev-libs/rapidjson )
+ test? (
+ dev-cpp/gflags
+ dev-cpp/gtest
+ )
+"
+
+src_prepare() {
+ # use Gentoo CXXFLAGS, specify docdir at src_configure.
+ sed -i \
+ -e '/SetupCxxFlags/d' \
+ -e '/set(ARROW_DOC_DIR.*)/d' \
+ CMakeLists.txt \
+ || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DARROW_BUILD_STATIC=OFF
+ -DARROW_BUILD_TESTS=$(usex test ON OFF)
+ -DARROW_COMPUTE=$(usex compute ON OFF)
+ -DARROW_CSV=ON
+ -DARROW_DATASET=$(usex dataset ON OFF)
+ -DARROW_DEPENDENCY_SOURCE=SYSTEM
+ -DARROW_DEPENDENCY_USE_SHARED=ON
+ -DARROW_DOC_DIR=share/doc/${PF}
+ -DARROW_FILESYSTEM=ON
+ -DARROW_HDFS=ON
+ -DARROW_JEMALLOC=OFF
+ -DARROW_JSON=$(usex json ON OFF)
+ -DARROW_MIMALLOC=OFF
+ -DARROW_PARQUET=$(usex parquet ON OFF)
+ -DPARQUET_REQUIRE_ENCRYPTION=$(usex ssl ON OFF)
+ -DARROW_USE_CCACHE=OFF
+ -DARROW_USE_SCCACHE=OFF
+ -DARROW_WITH_BROTLI=$(usex brotli ON OFF)
+ -DARROW_WITH_BZ2=$(usex bzip2 ON OFF)
+ -DARROW_WITH_LZ4=$(usex lz4 ON OFF)
+ -DARROW_WITH_RE2=$(usex re2 ON OFF)
+ -DARROW_WITH_SNAPPY=$(usex snappy ON OFF)
+ -DARROW_WITH_ZLIB=$(usex zlib ON OFF)
+ -DARROW_WITH_ZSTD=$(usex zstd ON OFF)
+ -DCMAKE_CXX_STANDARD=17
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ local -x PARQUET_TEST_DATA="${WORKDIR}/${P}/cpp/submodules/parquet-testing/data"
+ local -x ARROW_TEST_DATA="${WORKDIR}/${P}/testing/data"
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+ if use test; then
+ cd "${D}"/usr/$(get_libdir) || die
+ rm -r cmake/ArrowTesting || die
+ rm libarrow_testing* || die
+ rm pkgconfig/arrow-testing.pc || die
+ fi
+}
next reply other threads:[~2025-09-08 14:42 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 14:42 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-02 16:30 [gentoo-commits] repo/gentoo:master commit in: dev-libs/apache-arrow/ Sam James
2025-08-02 15:11 Arthur Zamarin
2025-08-02 6:15 Michał Górny
2025-07-18 4:39 Michał Górny
2025-05-21 5:38 Michał Górny
2025-05-18 11:06 Sam James
2025-05-17 17:41 Arthur Zamarin
2025-04-29 9:52 Michał Górny
2025-04-28 3:16 Michał Górny
2025-03-08 19:29 Michał Górny
2025-03-08 16:56 Sam James
2025-03-08 14:15 Arthur Zamarin
2025-03-08 13:15 Arthur Zamarin
2025-02-19 7:56 Michał Górny
2025-02-09 12:57 Michał Górny
2025-02-08 19:07 Sam James
2025-02-08 19:07 Sam James
2025-02-08 13:55 Arthur Zamarin
2025-01-17 4:33 Michał Górny
2024-12-20 21:11 Alfredo Tupone
2024-12-16 6:11 Michał Górny
2024-12-14 12:37 Sam James
2024-12-14 10:58 Arthur Zamarin
2024-11-26 7:01 Michał Górny
2024-11-16 9:00 Arthur Zamarin
2024-11-16 8:19 Michał Górny
2024-11-16 8:09 Michał Górny
2024-11-13 1:57 Sam James
2024-11-13 1:57 Sam James
2024-10-28 18:15 Michał Górny
2024-08-05 1:56 Sam James
2024-07-17 12:35 Michał Górny
2024-06-03 1:52 Michał Górny
2024-06-01 11:32 Arthur Zamarin
2024-05-15 1:40 Michał Górny
2024-05-08 7:50 Michał Górny
2024-04-21 2:35 Michał Górny
2024-04-21 2:35 Michał Górny
2024-04-13 6:26 Arthur Zamarin
2024-03-30 15:28 Michał Górny
2024-03-29 9:44 Arthur Zamarin
2024-03-22 20:23 Arthur Zamarin
2024-03-22 20:23 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
2024-01-20 16:00 Alfredo Tupone
2023-12-28 21:13 Alfredo Tupone
2023-12-27 22:18 Alfredo Tupone
2023-12-25 22:49 Alfredo Tupone
2023-11-21 15:02 Alfredo Tupone
2023-10-26 17:00 Michał Górny
2023-10-14 7:43 Alfredo Tupone
2023-07-09 19:31 Alfredo Tupone
2023-05-14 15:49 Alfredo Tupone
2023-05-10 17:04 Alfredo Tupone
2023-05-05 19:25 Alfredo Tupone
2023-04-23 17:52 Alfredo Tupone
2023-04-23 15:45 Alfredo Tupone
2023-04-23 13:20 Alfredo Tupone
2023-04-23 6:42 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=1757342531.bb575e5598ec5daae9debe663ea4517c9ebe40bc.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