summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-04-23 08:40:36 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-04-23 08:41:35 +0200
commitac277c60736d35fcddf67ef0acc479cf66091b80 (patch)
tree1b1dd94fb25a34d546785afe959d044e533bd350 /dev-libs
parentwww-servers/puma: add 6.2.2 (diff)
downloadgentoo-ac277c60736d35fcddf67ef0acc479cf66091b80.tar.gz
gentoo-ac277c60736d35fcddf67ef0acc479cf66091b80.tar.bz2
gentoo-ac277c60736d35fcddf67ef0acc479cf66091b80.zip
dev-libs/apache-arrow: add brotli, compute, ssl support
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/apache-arrow/apache-arrow-11.0.0-r1.ebuild (renamed from dev-libs/apache-arrow/apache-arrow-11.0.0.ebuild)11
-rw-r--r--dev-libs/apache-arrow/metadata.xml11
2 files changed, 19 insertions, 3 deletions
diff --git a/dev-libs/apache-arrow/apache-arrow-11.0.0.ebuild b/dev-libs/apache-arrow/apache-arrow-11.0.0-r1.ebuild
index 6d70b765d4d9..12dd7ecedf80 100644
--- a/dev-libs/apache-arrow/apache-arrow-11.0.0.ebuild
+++ b/dev-libs/apache-arrow/apache-arrow-11.0.0-r1.ebuild
@@ -23,11 +23,13 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="bzip2 dataset json lz4 parquet re2 snappy test zlib zstd"
+IUSE="brotli bzip2 compute dataset json lz4 parquet re2 snappy ssl test zlib zstd"
RESTRICT="!test? ( test )"
RDEPEND="
+ brotli? ( app-arch/brotli )
bzip2? ( app-arch/bzip2 )
+ compute? ( dev-libs/libutf8proc )
dataset? (
dev-libs/libutf8proc
re2? ( dev-libs/re2 )
@@ -36,6 +38,7 @@ RDEPEND="
parquet? (
dev-libs/libutf8proc
dev-libs/thrift
+ ssl? ( dev-libs/openssl )
)
snappy? ( app-arch/snappy )
zlib? ( sys-libs/zlib )
@@ -45,6 +48,7 @@ DEPEND="${RDEPEND}
dev-cpp/xsimd
json? ( dev-libs/rapidjson )
test? (
+ dev-cpp/gflags
dev-cpp/gtest
)
"
@@ -72,15 +76,20 @@ src_configure() {
local mycmakeargs=(
-DARROW_BUILD_STATIC=OFF
-DARROW_BUILD_TESTS=$(usex test)
+ -DARROW_COMPUTE=$(usex compute)
-DARROW_CSV=ON
-DARROW_DATASET=$(usex dataset)
-DARROW_DEPENDENCY_SOURCE=SYSTEM
-DARROW_DOC_DIR=share/doc/${PF}
+ -DARROW_FILESYSTEM=ON
+ -DARROW_HDFS=ON
-DARROW_JEMALLOC=OFF
-DARROW_JSON=$(usex json)
-DARROW_PARQUET=$(usex parquet)
+ -DPARQUET_REQUIRE_ENCRYPTION=$(usex ssl)
-DARROW_USE_CCACHE=OFF
-DARROW_USE_SCCACHE=OFF
+ -DARROW_WITH_BROTLI=$(usex brotli)
-DARROW_WITH_BZ2=$(usex bzip2)
-DARROW_WITH_LZ4=$(usex lz4)
-DARROW_WITH_RE2=$(usex re2)
diff --git a/dev-libs/apache-arrow/metadata.xml b/dev-libs/apache-arrow/metadata.xml
index 78102c94fc52..67bc36926748 100644
--- a/dev-libs/apache-arrow/metadata.xml
+++ b/dev-libs/apache-arrow/metadata.xml
@@ -6,9 +6,16 @@
<name>Tupone Alfredo</name>
</maintainer>
<use>
+ <flag name="brotli">Enable brotli compression suppor</flag>
+ <flag name="compute">Build the Arrow Compute Modules</flag>
<flag name="dataset">Build the Arrow Dataset Modules</flag>
- <flag name='json'>Enables read/write json format</flag>
- <flag name='parquet'>Enables read/write parquet data format</flag>
+ <flag name="json">Enables read/write json format</flag>
+ <flag name="parquet">Enables read/write parquet data format</flag>
<flag name="re2">Build with support for regular expressions using the re2 library</flag>
</use>
+ <upstream>
+ <remote-id type="github">apache/arrow</remote-id>
+ <remote-id type="github">apache/parquet-testing</remote-id>
+ <remote-id type="github">apache/arrow-testing</remote-id>
+ </upstream>
</pkgmetadata>