From nobody Tue Sep 5 02:10:31 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rfpr72wmsz4sJMP; Tue, 5 Sep 2023 02:10:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rfpr72RCbz3T2p; Tue, 5 Sep 2023 02:10:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693879831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FUgbroKzj9Y+ncrdV1IcNydnkz4o9OMQ/LsX5nlUdrY=; b=irKRKa6v8EmzvOyStul7w39cNWiJPbNi74aUphHpfoe7g8D4f5idEtB7X0ol0j6EpkJ65A oIlHaAm1HUpe8mvRo5lt1uW6tL+QsLQSTGUCo4FN3CtpwoJN0BqDrLtLd+WXJT76YCzVBc ZO/FTnkaCBrcD4lJfm85iXqpwyhAmQ0c7FNcayF1yQ4Lj7US2siuFMO3y3AWgme75S87am BJDWTgX39I7pmiT+GM92hhP4AW3ZoPi9V5AO5pV7gbiRV20NqzFEJdHuhfYT3WPXujBwrL thyggwU4jqyH4A3PGLcPR3tlvJS1QZj5dseFZnEGxEzu4in54FSoAEZggAGtTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693879831; a=rsa-sha256; cv=none; b=SK5uHOBjEA2yl3CQudUqYey+Mb1GYCeiyBQ7WBd+zqmd9Im/R6hlkdBNI1lqaQmWoZyafW fLIeBD2BLqeuSmY6tsdhHxvk/QIZi9I9Z8hPdrcPhqURUFaXHt8bFXr+LT3qdHblzQyGnO o7rwWVA/L/GnPIYXicCR83OKrEDNcRughwezbQDoGIHJHQevSncxAcv7ELzLAYchK90uPF H4yyCtt/GlerhRD3nhYf8Ks2ezv2YU6Ha1e1bKFpuvftTOXGmkLDjQL1RoW3Q014tztE4W SONPHfEe2OS6jOkCl4vfO0zGVrNlv1o5mMNk/LT11JKAP0JlsJuAOGFoRqWlkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693879831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FUgbroKzj9Y+ncrdV1IcNydnkz4o9OMQ/LsX5nlUdrY=; b=sEsESPeriBZM8CG+gt9RyMV6oyV4tPj6tWOj/BynsoqTzKeIam3BrIrA+OJKJSbTf+TNkB pHFCCaexNo/pAlF70KOvWUhDTJN5yk1BXcnJV0Od/TiGkUYRmSjBmjdhMY2HLQaPqNedNg H5vlKi+mu7eVPswPZKhEzrnbkd8DUjue08ZWyk7eaAZeZZX6ryAj7Wp41LLOS9aoyEqFDR wGHTYNc9IjTwsJg4ZRoBzEotB7TtNwWjX9QulpLZTc6WK2QzZtNZQ3MYZsaEIA1WJJt3DC L0vzOAa0qMLVt/u0ZKf1J1KeMQ/Y96+vA+JVnHTcSMRRaW6nK4gcXySnW3vtlw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rfpr71RSbzrj; Tue, 5 Sep 2023 02:10:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3852AVS0058599; Tue, 5 Sep 2023 02:10:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3852AVpo058596; Tue, 5 Sep 2023 02:10:31 GMT (envelope-from git) Date: Tue, 5 Sep 2023 02:10:31 GMT Message-Id: <202309050210.3852AVpo058596@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c4a7f0d29397 - main - databases/py-pyarrow: Add py-pyarrow 13.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c4a7f0d29397a9b13ff8e93ea8cc3db45395d377 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4a7f0d29397a9b13ff8e93ea8cc3db45395d377 commit c4a7f0d29397a9b13ff8e93ea8cc3db45395d377 Author: Po-Chuan Hsieh AuthorDate: 2023-09-05 02:10:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-05 02:10:10 +0000 databases/py-pyarrow: Add py-pyarrow 13.0.0 Python library for Apache Arrow provides a Python API for functionality provided by the Arrow C++ libraries, along with tools for Arrow integration and interoperability with pandas, NumPy, and other software in the Python ecosystem. --- databases/Makefile | 1 + databases/py-pyarrow/Makefile | 29 +++++++++++++++++++++++++ databases/py-pyarrow/distinfo | 3 +++ databases/py-pyarrow/files/patch-pyproject.toml | 11 ++++++++++ databases/py-pyarrow/pkg-descr | 3 +++ 5 files changed, 47 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 78bee4910a62..7e0493c2160d 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -808,6 +808,7 @@ SUBDIR += py-psycopg2 SUBDIR += py-psycopg2cffi SUBDIR += py-pum + SUBDIR += py-pyarrow SUBDIR += py-pycql SUBDIR += py-pylibmc SUBDIR += py-pymemcache diff --git a/databases/py-pyarrow/Makefile b/databases/py-pyarrow/Makefile new file mode 100644 index 000000000000..591e2f497972 --- /dev/null +++ b/databases/py-pyarrow/Makefile @@ -0,0 +1,29 @@ +PORTNAME= pyarrow +PORTVERSION= 13.0.0 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python library for Apache Arrow +WWW= https://arrow.apache.org/ \ + https://github.com/apache/arrow/tree/main/python + +LICENSE= APACHE20 + +BUILD_DEPENDS= arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/arrow \ + cmake:devel/cmake-core \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0.14,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=40.1.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libarrow.so:databases/arrow +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.6,1:math/py-numpy@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent cython pep517 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/databases/py-pyarrow/distinfo b/databases/py-pyarrow/distinfo new file mode 100644 index 000000000000..3ff85c5fb683 --- /dev/null +++ b/databases/py-pyarrow/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693797275 +SHA256 (pyarrow-13.0.0.tar.gz) = 83333726e83ed44b0ac94d8d7a21bbdee4a05029c3b1e8db58a863eec8fd8a33 +SIZE (pyarrow-13.0.0.tar.gz) = 1034031 diff --git a/databases/py-pyarrow/files/patch-pyproject.toml b/databases/py-pyarrow/files/patch-pyproject.toml new file mode 100644 index 000000000000..0f0c1071fd83 --- /dev/null +++ b/databases/py-pyarrow/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-08-17 08:25:47 UTC ++++ pyproject.toml +@@ -18,7 +18,7 @@ + [build-system] + requires = [ + "cython >= 0.29.31,<3", +- "oldest-supported-numpy>=0.14", ++ "numpy>=0.14", + "setuptools_scm", + "setuptools >= 40.1.0", + "wheel" diff --git a/databases/py-pyarrow/pkg-descr b/databases/py-pyarrow/pkg-descr new file mode 100644 index 000000000000..1bf07a7bd17e --- /dev/null +++ b/databases/py-pyarrow/pkg-descr @@ -0,0 +1,3 @@ +Python library for Apache Arrow provides a Python API for functionality provided +by the Arrow C++ libraries, along with tools for Arrow integration and +interoperability with pandas, NumPy, and other software in the Python ecosystem.