git: 98f7c93626f2 - main - databases/py-fastparquet: Update to 2024.11.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:41:41 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98f7c93626f2c7adb1af6124c9edc36744585f6b

commit 98f7c93626f2c7adb1af6124c9edc36744585f6b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:20:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:38:03 +0000

    databases/py-fastparquet: Update to 2024.11.0
    
    Changes:        https://github.com/dask/fastparquet/blob/main/docs/source/releasenotes.rst
                    https://github.com/dask/fastparquet/commits/main
                    https://fastparquet.readthedocs.io/en/latest/releasenotes.html
---
 databases/py-fastparquet/Makefile                   | 14 ++++++++++----
 databases/py-fastparquet/distinfo                   |  6 +++---
 databases/py-fastparquet/files/patch-pyproject.toml |  6 +++---
 databases/py-fastparquet/files/patch-setup.py       | 20 --------------------
 4 files changed, 16 insertions(+), 30 deletions(-)

diff --git a/databases/py-fastparquet/Makefile b/databases/py-fastparquet/Makefile
index fb513b66004d..d040327ccb0e 100644
--- a/databases/py-fastparquet/Makefile
+++ b/databases/py-fastparquet/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	fastparquet
-PORTVERSION=	2024.2.0
+PORTVERSION=	2024.11.0
 CATEGORIES=	databases python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -13,18 +13,24 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=1.5.4:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: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:filesystems/py-fsspec@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.20.3,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=0,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
 USE_PYTHON=	autoplist concurrent cython pep517
 
+BINARY_ALIAS=	git=false
+MAKE_ENV=	SETUPTOOLS_SCM_PRETEND_VERSION=${PORTVERSION}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dask
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
diff --git a/databases/py-fastparquet/distinfo b/databases/py-fastparquet/distinfo
index 3b45f116da68..45000aa61e84 100644
--- a/databases/py-fastparquet/distinfo
+++ b/databases/py-fastparquet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710712396
-SHA256 (fastparquet-2024.2.0.tar.gz) = 81a8f60c51793eb2436b4fdbbf115ff8578a4a457a179240bc08f9d9573d57a4
-SIZE (fastparquet-2024.2.0.tar.gz) = 465078
+TIMESTAMP = 1731679212
+SHA256 (dask-fastparquet-2024.11.0_GH0.tar.gz) = 312c2252bc2a5507430561efeb7e574035da70fbe16cb894f9cf0abda4392dfa
+SIZE (dask-fastparquet-2024.11.0_GH0.tar.gz) = 28909048
diff --git a/databases/py-fastparquet/files/patch-pyproject.toml b/databases/py-fastparquet/files/patch-pyproject.toml
index d5a65bd2f937..5f966b7ccd01 100644
--- a/databases/py-fastparquet/files/patch-pyproject.toml
+++ b/databases/py-fastparquet/files/patch-pyproject.toml
@@ -1,6 +1,6 @@
---- pyproject.toml.orig	2023-04-20 20:00:36 UTC
+--- pyproject.toml.orig	2024-11-12 19:40:57 UTC
 +++ pyproject.toml
 @@ -1,2 +1,2 @@
  [build-system]
--requires = ["setuptools", "wheel", "Cython >= 0.29.23", "oldest-supported-numpy", "pytest-runner"]
-+requires = ["setuptools", "wheel", "Cython >= 0.29.23", "numpy"]
+-requires = ["setuptools", "setuptools_scm", "Cython >= 0.29.23", "numpy>=2.0.0rc1"]
++requires = ["setuptools", "setuptools_scm", "Cython >= 0.29.23", "numpy"]
diff --git a/databases/py-fastparquet/files/patch-setup.py b/databases/py-fastparquet/files/patch-setup.py
deleted file mode 100644
index aa3535977588..000000000000
--- a/databases/py-fastparquet/files/patch-setup.py
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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',