1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

archivers/py-bitshuffle: Update to 0.5.2

Changes:	https://github.com/kiyo-masui/bitshuffle/releases
This commit is contained in:
Po-Chuan Hsieh 2024-10-14 12:49:00 +08:00
parent b497a8541c
commit b1c39644b0
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 12 additions and 24 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= bitshuffle
PORTVERSION= 0.5.1
PORTVERSION= 0.5.2
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,15 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=2.4.0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0.7:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=2.4.0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.6.1,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.24,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0.7:devel/py-setuptools@${PY_FLAVOR}
USES= pkgconfig python
USES= pkgconfig python:3.9+
USE_PYTHON= autoplist concurrent cython pep517
CFLAGS+= -Wno-error=int-conversion
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1710712300
SHA256 (bitshuffle-0.5.1.tar.gz) = 988f224739aa6858475a4c59172968c7b51cc657d2249580c8f96848708fbae3
SIZE (bitshuffle-0.5.1.tar.gz) = 229441
TIMESTAMP = 1728632308
SHA256 (bitshuffle-0.5.2.tar.gz) = dc0e3fb7bdbf42be1009cc3028744180600d625a75b31833a24aa32aeaf83d8d
SIZE (bitshuffle-0.5.2.tar.gz) = 290156

View File

@ -1,14 +0,0 @@
--- lzf/lzf_filter.c.orig 2022-11-26 00:17:16 UTC
+++ lzf/lzf_filter.c
@@ -51,11 +51,7 @@
macro H5_USE_16_API is set
*/
-#if H5_VERS_MAJOR == 1 && H5_VERS_MINOR == 8 && (H5_VERS_RELEASE < 3 || !H5_USE_16_API)
#define H5PY_H5Z_NEWCLS 1
-#else
-#define H5PY_H5Z_NEWCLS 0
-#endif
size_t lzf_filter(unsigned flags, size_t cd_nelmts,
const unsigned cd_values[], size_t nbytes,

View File

@ -1,10 +1,10 @@
--- pyproject.toml.orig 2022-11-26 00:17:16 UTC
--- pyproject.toml.orig 2024-09-26 18:05:42 UTC
+++ pyproject.toml
@@ -3,7 +3,7 @@ requires = [
requires = [
"setuptools>=0.7",
"setuptools",
"Cython>=0.19",
- "oldest-supported-numpy",
- "numpy>=2.0.0rc1",
+ "numpy",
"h5py>=2.4.0",
]