git: 15bb9c00e02a - main - databases/py-fastparquet: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 May 2023 16:13:19 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=15bb9c00e02aa34d52d3915d89de99dc42c34d42 commit 15bb9c00e02aa34d52d3915d89de99dc42c34d42 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-07 16:03:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-07 16:03:41 +0000 databases/py-fastparquet: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- databases/py-fastparquet/Makefile | 5 +++-- databases/py-fastparquet/files/patch-pyproject.toml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/databases/py-fastparquet/Makefile b/databases/py-fastparquet/Makefile index 18e9ddecb495..21e2d26d91e2 100644 --- a/databases/py-fastparquet/Makefile +++ b/databases/py-fastparquet/Makefile @@ -1,6 +1,6 @@ PORTNAME= fastparquet PORTVERSION= 2023.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,6 +13,7 @@ LICENSE= APACHE20 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}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ thrift:devel/thrift @@ -23,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cramjam>=2.3:archivers/py-cramjam@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0,1:math/py-pandas@${PY_FLAVOR} USES= python:3.8+ -USE_PYTHON= autoplist concurrent cython distutils +USE_PYTHON= autoplist concurrent cython pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/databases/py-fastparquet/files/patch-pyproject.toml b/databases/py-fastparquet/files/patch-pyproject.toml new file mode 100644 index 000000000000..d5a65bd2f937 --- /dev/null +++ b/databases/py-fastparquet/files/patch-pyproject.toml @@ -0,0 +1,6 @@ +--- pyproject.toml.orig 2023-04-20 20:00:36 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"]