forked from Lainports/freebsd-ports
archivers/py-blosc2: Update to 3.0.0
- Update WWW Changes: https://github.com/Blosc/python-blosc2/releases
This commit is contained in:
parent
af9ea82918
commit
8d0bb7a044
3 changed files with 17 additions and 23 deletions
|
|
@ -1,26 +1,26 @@
|
|||
PORTNAME= blosc2
|
||||
PORTVERSION= 2.7.1
|
||||
PORTVERSION= 3.0.0
|
||||
CATEGORIES= archivers python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Python wrapper for the C-Blosc2 library
|
||||
WWW= https://github.com/Blosc/python-blosc2
|
||||
WWW= https://www.blosc.org/python-blosc2/ \
|
||||
https://github.com/Blosc/python-blosc2
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= c-blosc2>=2.15.1:archivers/c-blosc2 \
|
||||
ninja:devel/ninja \
|
||||
BUILD_DEPENDS= c-blosc2>=2.15.2:archivers/c-blosc2 \
|
||||
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
|
||||
${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0:devel/py-scikit-build-core@${PY_FLAVOR}
|
||||
LIB_DEPENDS= libblosc2.so:archivers/c-blosc2
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}ndindex>=1.4:math/py-ndindex@${PY_FLAVOR} \
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}ndindex>=0:math/py-ndindex@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}numexpr>=0:math/py-numexpr@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.21,1:math/py-numpy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.25.0,1:math/py-numpy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR}
|
||||
|
||||
USES= cmake:indirect pkgconfig python:3.10+
|
||||
|
|
@ -28,10 +28,6 @@ USE_PYTHON= autoplist concurrent cython pep517
|
|||
|
||||
MAKE_ENV= CMAKE_ARGS=-DUSE_SYSTEM_BLOSC2=ON
|
||||
|
||||
post-patch:
|
||||
# Clean up bundled libraries
|
||||
@${RM} -r ${WRKSRC}/blosc2/c-blosc2/
|
||||
|
||||
post-install:
|
||||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1722711177
|
||||
SHA256 (blosc2-2.7.1.tar.gz) = 34db4d41543b16e894d507d6c7d10a9a67c9dd420ff40b072f7c39185cbb8fe8
|
||||
SIZE (blosc2-2.7.1.tar.gz) = 5149754
|
||||
TIMESTAMP = 1734888098
|
||||
SHA256 (blosc2-3.0.0.tar.gz) = d8c03a09ed11b644b48bf050bd108972ec56ac9cbc3f2aedca077255ed81ac69
|
||||
SIZE (blosc2-3.0.0.tar.gz) = 7331805
|
||||
|
|
|
|||
|
|
@ -1,15 +1,13 @@
|
|||
--- pyproject.toml.orig 2024-04-01 17:37:16 UTC
|
||||
--- pyproject.toml.orig 2024-12-12 13:22:18 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -2,10 +2,8 @@ requires = [
|
||||
@@ -1,8 +1,8 @@ requires = [
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools",
|
||||
"scikit-build",
|
||||
"scikit-build-core",
|
||||
- "cython>=3",
|
||||
- "cmake",
|
||||
- "ninja",
|
||||
- "numpy>=2.0.0",
|
||||
+ "cython",
|
||||
+ "numpy",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
build-backend = "scikit_build_core.build"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue