public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyarrow/
Date: Sun,  7 May 2023 17:20:03 +0000 (UTC)	[thread overview]
Message-ID: <1683479944.d9d5d48dc5ee4763a6259610514b79151b25647c.tupone@gentoo> (raw)

commit:     d9d5d48dc5ee4763a6259610514b79151b25647c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun May  7 17:15:14 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun May  7 17:19:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d5d48d

dev-python/pyarrow: new package, add 12.0.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-python/pyarrow/Manifest              |  1 +
 dev-python/pyarrow/metadata.xml          | 15 ++++++++++
 dev-python/pyarrow/pyarrow-12.0.0.ebuild | 50 ++++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest
new file mode 100644
index 000000000000..451f3061e63b
--- /dev/null
+++ b/dev-python/pyarrow/Manifest
@@ -0,0 +1 @@
+DIST apache-arrow-12.0.0.tar.gz 20159048 BLAKE2B 43b4f36e1d1f84fc83c46a3627ad72cead38310f4325b8d21d17d726cd416016f0839d312c80737c0a921da6aefee537413e30309a656301c19834c2986d734e SHA512 f815be4fb20b6001ba5525270765fe239b5468708a7be34b93b60ee0ce63464727d183c9756fbc33bffd199019e1f06a7fddd306ce8388435cea7771070a2ca9

diff --git a/dev-python/pyarrow/metadata.xml b/dev-python/pyarrow/metadata.xml
new file mode 100644
index 000000000000..31b943af57cc
--- /dev/null
+++ b/dev-python/pyarrow/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>tupone@gentoo.org</email>
+		<name>Tupone Alfredo</name>
+	</maintainer>
+	<use>
+		<flag name="parquet">Enables read/write parquet data format</flag>
+	</use>
+	<upstream>
+		<remote-id type="pypi">pyarrow</remote-id>
+		<remote-id type="github">apache/arrow</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pyarrow/pyarrow-12.0.0.ebuild b/dev-python/pyarrow/pyarrow-12.0.0.ebuild
new file mode 100644
index 000000000000..f7d9e1d04d1f
--- /dev/null
+++ b/dev-python/pyarrow/pyarrow-12.0.0.ebuild
@@ -0,0 +1,50 @@
+# 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_{9..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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="parquet snappy ssl"
+RESTRICT="test" #Tests not working 'import pyarrow.lib' error out
+
+RDEPEND="
+	~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,snappy?,ssl?]
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+S="${WORKDIR}/apache-arrow-${PV}/python"
+
+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
+}


             reply	other threads:[~2023-05-07 17:20 UTC|newest]

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

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=1683479944.d9d5d48dc5ee4763a6259610514b79151b25647c.tupone@gentoo \
    --to=tupone@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