git: 1830a228dfc3 - main - devel/py-crick: Update to 0.0.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jan 2025 02:50:37 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1830a228dfc3ef0980e233eef7ef824db97059b9
commit 1830a228dfc3ef0980e233eef7ef824db97059b9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 02:44:14 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 02:44:14 +0000
devel/py-crick: Update to 0.0.7
Changes: https://github.com/dask/crick/releases
https://github.com/dask/crick/commits/main
---
devel/py-crick/Makefile | 12 +++++++++---
devel/py-crick/distinfo | 6 +++---
devel/py-crick/files/patch-pyproject.toml | 10 +++++++---
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/devel/py-crick/Makefile b/devel/py-crick/Makefile
index af046f14c275..32c3e86a8794 100644
--- a/devel/py-crick/Makefile
+++ b/devel/py-crick/Makefile
@@ -1,5 +1,5 @@
PORTNAME= crick
-PORTVERSION= 0.0.6
+PORTVERSION= 0.0.8
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,15 +11,21 @@ WWW= https://github.com/dask/crick
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.2,1:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}versioneer>=0:devel/py-versioneer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= python:3.10+
USE_PYTHON= autoplist concurrent cython pep517
+post-patch:
+ @${RM} ${WRKSRC}/crick/numpy_version.c
+ @${RM} ${WRKSRC}/crick/space_saving.c
+ @${RM} ${WRKSRC}/crick/stats.c
+ @${RM} ${WRKSRC}/crick/tdigest.c
+
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-crick/distinfo b/devel/py-crick/distinfo
index e64829b684c9..cfdc46e6aec2 100644
--- a/devel/py-crick/distinfo
+++ b/devel/py-crick/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720022666
-SHA256 (crick-0.0.6.tar.gz) = 851bc0802cd4dfb17f8fe99934b224dc355c84de0174ea5d9723b25c7feeb516
-SIZE (crick-0.0.6.tar.gz) = 434484
+TIMESTAMP = 1735705153
+SHA256 (crick-0.0.8.tar.gz) = 973b8315fdd72bdeb5fdf4d6b2f444753fc0ebd6380f38f8e1138f8ff8797d99
+SIZE (crick-0.0.8.tar.gz) = 478217
diff --git a/devel/py-crick/files/patch-pyproject.toml b/devel/py-crick/files/patch-pyproject.toml
index 4299751b7583..3597eec3eec7 100644
--- a/devel/py-crick/files/patch-pyproject.toml
+++ b/devel/py-crick/files/patch-pyproject.toml
@@ -1,13 +1,17 @@
---- pyproject.toml.orig 2024-05-03 20:15:33 UTC
+--- pyproject.toml.orig 2024-08-20 17:33:57 UTC
+++ pyproject.toml
-@@ -1,6 +1,6 @@ requires = [
+@@ -1,9 +1,9 @@ requires = [
[build-system]
requires = [
- "setuptools>=68.2.2",
+ "setuptools>=61",
"setuptools-scm[toml]>=6.2",
"Cython",
- "numpy>=1.26.2",
+- "numpy>=2.0.0",
++ "numpy",
+ "versioneer[toml]",
+ ]
+ build-backend = "setuptools.build_meta:__legacy__"
@@ -33,4 +33,4 @@ tag_prefix = ""
versionfile_source = "crick/_version.py"
versionfile_build = "crick/_version.py"