From nobody Wed Apr 05 17:33:14 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 4PsBYR2BKTz43p5K; Wed, 5 Apr 2023 17:33:15 +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 4PsBYR0w6yz47CB; Wed, 5 Apr 2023 17:33:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680715995; 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=g/LzvUBSe0ptBlxeOAE+o3DVloNLr9b5VcRS33JwnJk=; b=bRzktHCSZOa4Nzfmc8oaDZbcIuJuGtuqfk6PMU5i1UHPD8aBNnJG+S1uNd95OumWefQZQV 3Zc45a7shCV9DW7YEkMfq/nhTbjeNdvN3qEthxrDQJMjYQ7phCojLYmsHeLdhnpoIXMbcR bWEraBH3c2qgth3Eblc16cqoYEts8L2AZgKKiBkM9vGwtsUvY9SKttnOCLWh5fKCIZ+Lz8 GBMb7o4qMnYmNoA5NUokFQwJaHw5pXKjMk2thsfvmr3Jlk0El+Zpq9UDc7imJCShPCccL3 gNdBHXuKWLkC+wf2PmCYUEwly+twoEKBFs6+XWtyhg7/a536S1j6Ss3ZZ4pcDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680715995; 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=g/LzvUBSe0ptBlxeOAE+o3DVloNLr9b5VcRS33JwnJk=; b=Ua8FWiJi+guxV3pJp71E5GTNjZqp3opp9KrVlksdob9FvV0J8fD/twLszed3ffzWT3BjrW AaLwHHmlEBSRRdwbDFQrNWYwbKE2iaDzMl4af8F4B1+D8bCMUDF5usMXfxlYS5oQSGNQ9D USX9sHuRMzykJDOGGFILmLqxcCCLuAxYLHJiH10ij4Ct76bMo5Q24dwkCtRhkFCZxDNpnD 7P5CxRjTPz/6b9dZ8yvaGcuNSrF7te6wLIC4HZAjtIkzMOSyg8imMGU0hmAy1eS5M40qFt QPENHGTHTI4iriV6EdpDBGf+p5+o0qpkvwGkZRTJ3bCHoqvfcnL1lqWwrYq0vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680715995; a=rsa-sha256; cv=none; b=oSZXp7MkYNBK2CKvrjE25lLZgB4DRAXJeFxGUz1sOev5S1EBf/HrI5U6CpzaMlZR/1PILc NOorFbfXGQ009rZ9T8oKZQCWDva71rsHlrtKShP5gi2k4CGomhS0NLdWqHXEJ02FODII50 n3yMG3yQJLmXQnMPOlnS/6HlIXpOYxC3TztxSTTSIox96QO0T3xl4r1VPbpxbCry2Dp9sS tFeKUrhLuTdPsDf+Z8D7hDavTNdc88/U8GQD/woXnSNteHmPQpxXh+pUfKyntFtB/2IDcQ hVixJqI6BmziJr83degQ546o0he1zpioKtKO1r9ZWWGv12uWSJLa4Uemr8ZzPQ== 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 4PsBYQ6kC5zWvj; Wed, 5 Apr 2023 17:33:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 335HXEXW083233; Wed, 5 Apr 2023 17:33:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 335HXE2Y083232; Wed, 5 Apr 2023 17:33:14 GMT (envelope-from git) Date: Wed, 5 Apr 2023 17:33:14 GMT Message-Id: <202304051733.335HXE2Y083232@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: 2a685ab209b7 - main - databases/py-fastparquet: Add py-fastparquet 2023.2.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: 2a685ab209b7b7d03f1d03f6bd2d33676f8efd36 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a685ab209b7b7d03f1d03f6bd2d33676f8efd36 commit 2a685ab209b7b7d03f1d03f6bd2d33676f8efd36 Author: Po-Chuan Hsieh AuthorDate: 2023-04-05 17:07:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-05 17:29:38 +0000 databases/py-fastparquet: Add py-fastparquet 2023.2.0 fastparquet is a python implementation of the parquet format, aiming integrate into python-based big data work-flows. It is used implicitly by the projects Dask, Pandas and intake-parquet. We offer a high degree of support for the features of the parquet format, and very competitive performance, in a small install size and codebase. --- databases/Makefile | 1 + databases/py-fastparquet/Makefile | 30 +++++++++++++++++++++++++++ databases/py-fastparquet/distinfo | 3 +++ databases/py-fastparquet/files/patch-setup.py | 20 ++++++++++++++++++ databases/py-fastparquet/pkg-descr | 6 ++++++ 5 files changed, 60 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 32b05e235f23..9edea03dced9 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -747,6 +747,7 @@ SUBDIR += py-duckdb SUBDIR += py-fakeredis SUBDIR += py-fastapi-users-db-ormar + SUBDIR += py-fastparquet SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-sqlalchemy diff --git a/databases/py-fastparquet/Makefile b/databases/py-fastparquet/Makefile new file mode 100644 index 000000000000..6fd05dd8cbe2 --- /dev/null +++ b/databases/py-fastparquet/Makefile @@ -0,0 +1,30 @@ +PORTNAME= fastparquet +PORTVERSION= 2023.2.0 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python support for Parquet file format +WWW= https://github.com/dask/fastparquet + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.5.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ + thrift:devel/thrift +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cramjam>=2.3:archivers/py-cramjam@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fsspec>=0:devel/py-fsspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.20.3,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0,1:math/py-pandas@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= autoplist concurrent cython distutils + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/databases/py-fastparquet/distinfo b/databases/py-fastparquet/distinfo new file mode 100644 index 000000000000..1f4e3a5e6f89 --- /dev/null +++ b/databases/py-fastparquet/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679498488 +SHA256 (fastparquet-2023.2.0.tar.gz) = 7611447ce3ff5696539f7e43289da2491ea41f7cb92d4dbada374012b62c51c3 +SIZE (fastparquet-2023.2.0.tar.gz) = 392472 diff --git a/databases/py-fastparquet/files/patch-setup.py b/databases/py-fastparquet/files/patch-setup.py new file mode 100644 index 000000000000..aa3535977588 --- /dev/null +++ b/databases/py-fastparquet/files/patch-setup.py @@ -0,0 +1,20 @@ +--- setup.py.orig 2022-11-18 01:33:09 UTC ++++ setup.py +@@ -44,7 +44,6 @@ else: + extra = {'ext_modules': cythonize(modules, language_level=3)} + + install_requires = open('requirements.txt').read().strip().split('\n') +-subprocess.call(["git", "status"], stdout=sys.stdout, stderr=sys.stderr) + + setup( + name='fastparquet', +@@ -57,8 +56,7 @@ setup( + 'setuptools>18.0', + 'setuptools-scm>1.5.4', + 'Cython', +- 'pytest-runner', +- 'oldest-supported-numpy' ++ 'numpy' + ], + description='Python support for Parquet file format', + author='Martin Durant', diff --git a/databases/py-fastparquet/pkg-descr b/databases/py-fastparquet/pkg-descr new file mode 100644 index 000000000000..d8b5b47d5700 --- /dev/null +++ b/databases/py-fastparquet/pkg-descr @@ -0,0 +1,6 @@ +fastparquet is a python implementation of the parquet format, aiming integrate +into python-based big data work-flows. It is used implicitly by the projects +Dask, Pandas and intake-parquet. + +We offer a high degree of support for the features of the parquet format, and +very competitive performance, in a small install size and codebase.