Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2026 22:49:43 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bbea9171d95c - main - misc/py-numcodecs: Update to 0.16.5
Message-ID:  <69f28b07.204a8.6aeb35a8@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit bbea9171d95c59cc03d10c677a166373137d5208
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-29 18:39:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-29 22:49:35 +0000

    misc/py-numcodecs: Update to 0.16.5
    
    - Update DISTVERSION from 0.13.0 to 0.16.5
    - Remove PORTREVISION as we are updating to a new version
    - Update BUILD_DEPENDS: add cython>=3.0 and setuptools-scm>=6.2, keep py-cpuinfo
    - Update RUN_DEPENDS: use numpy>=1.24 (instead of numpy1>=1.16), add typing-extensions, keep msgpack and zfp
    - Add TEST_DEPENDS with pytest, pytest-cov, and pyzstd (tests as of 0.16.5)
    - Update distinfo with new SHA256 and SIZE checksums
    - Add patch to remove deprecated 'license' field from pyproject.toml for compatibility
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
 finance/py-pandas-market-calendars/Makefile         |  4 ++--
 finance/py-pandas-market-calendars/distinfo         |  6 +++---
 .../files/patch-pyproject.toml                      | 15 +++++++++++++++
 math/py-PuLP/files/setup.py                         |  3 +++
 misc/py-numcodecs/Makefile                          | 21 ++++++++++++---------
 misc/py-numcodecs/distinfo                          |  6 +++---
 misc/py-numcodecs/files/patch-pyproject.toml        | 10 ++++++++++
 7 files changed, 48 insertions(+), 17 deletions(-)

diff --git a/finance/py-pandas-market-calendars/Makefile b/finance/py-pandas-market-calendars/Makefile
index 09ac8d7bd30c..9d1a77e0b605 100644
--- a/finance/py-pandas-market-calendars/Makefile
+++ b/finance/py-pandas-market-calendars/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pandas-market-calendars
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.0.0
+DISTVERSION=	5.3.2
 CATEGORIES=	finance python
 #MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -29,6 +29,6 @@ GH_PROJECT=	${PORTNAME:S/-/_/g}
 
 NO_ARCH=	yes
 
-# tests as of 4.5.1: 1434 passed in 446.26s (0:07:26)
+# tests as of 5.3.2: 1471 passed, 1 failed in 47.10s
 
 .include <bsd.port.mk>
diff --git a/finance/py-pandas-market-calendars/distinfo b/finance/py-pandas-market-calendars/distinfo
index b2236c7c232b..de9a30aa5b21 100644
--- a/finance/py-pandas-market-calendars/distinfo
+++ b/finance/py-pandas-market-calendars/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744169376
-SHA256 (rsheftel-pandas_market_calendars-v5.0.0_GH0.tar.gz) = fe7d66dd99bbad0efe84f5b67da6afc7e863a71db0cbcb3a937eac7f0a87ea11
-SIZE (rsheftel-pandas_market_calendars-v5.0.0_GH0.tar.gz) = 243852
+TIMESTAMP = 1777481290
+SHA256 (rsheftel-pandas_market_calendars-v5.3.2_GH0.tar.gz) = aa4523b45b09d3f28238cf0ade3e0c0752929dcd84418ee5f63cd5a68ad39d86
+SIZE (rsheftel-pandas_market_calendars-v5.3.2_GH0.tar.gz) = 262042
diff --git a/finance/py-pandas-market-calendars/files/patch-pyproject.toml b/finance/py-pandas-market-calendars/files/patch-pyproject.toml
new file mode 100644
index 000000000000..168b73594678
--- /dev/null
+++ b/finance/py-pandas-market-calendars/files/patch-pyproject.toml
@@ -0,0 +1,15 @@
+-- Reduce setuptools requirement to work with FreeBSD ports setuptools version
+-- The package requires setuptools >= 77.0.3 but FreeBSD ports only has 63.1.0
+-- Lowering to 60.0.0 which should be sufficient
+
+--- pyproject.toml.orig	2026-04-29 09:58:30.359874000 -0700
++++ pyproject.toml	2026-04-29 09:58:30.360755000 -0700
+@@ -26,7 +26,7 @@
+ ]
+ 
+ [build-system]
+-requires = ["setuptools >= 77.0.3"]
++requires = ["setuptools >= 60.0.0"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.setuptools]
diff --git a/math/py-PuLP/files/setup.py b/math/py-PuLP/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/math/py-PuLP/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()
diff --git a/misc/py-numcodecs/Makefile b/misc/py-numcodecs/Makefile
index a897e7137ddb..5dd8345315d4 100644
--- a/misc/py-numcodecs/Makefile
+++ b/misc/py-numcodecs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	numcodecs
-DISTVERSION=	0.13.0
-PORTREVISION=	2
+DISTVERSION=	0.16.5
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +11,20 @@ WWW=		https://numcodecs.readthedocs.io/en/stable/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py-cpuinfo>0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=3.0:lang/cython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}py-cpuinfo>0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.24:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}zfp>0:devel/py-zfp@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyzstd>=0:archivers/py-pyzstd@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils cython autoplist pytest # tests fail to find the library in the staged directory for some reason
-
+USE_PYTHON=	distutils cython autoplist pytest
+# tests as of 0.16.5
 CXXFLAGS_i386=	-msse2 # otherwise it fails to compile: #error SSE2 is not supported by the target architecture/platform and/or this compiler.
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/misc/py-numcodecs/distinfo b/misc/py-numcodecs/distinfo
index 263ad8d5532a..580fde7f40f3 100644
--- a/misc/py-numcodecs/distinfo
+++ b/misc/py-numcodecs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720850082
-SHA256 (numcodecs-0.13.0.tar.gz) = ba4fac7036ea5a078c7afe1d4dffeb9685080d42f19c9c16b12dad866703aa2e
-SIZE (numcodecs-0.13.0.tar.gz) = 5922216
+TIMESTAMP = 1777486790
+SHA256 (numcodecs-0.16.5.tar.gz) = 0d0fb60852f84c0bd9543cc4d2ab9eefd37fc8efcc410acd4777e62a1d300318
+SIZE (numcodecs-0.16.5.tar.gz) = 6276387
diff --git a/misc/py-numcodecs/files/patch-pyproject.toml b/misc/py-numcodecs/files/patch-pyproject.toml
new file mode 100644
index 000000000000..67551b758830
--- /dev/null
+++ b/misc/py-numcodecs/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	2026-04-29 11:34:44.748376000 -0700
++++ pyproject.toml	2026-04-29 11:34:44.749156000 -0700
+@@ -33,7 +33,6 @@
+ maintainers = [
+     { name = "Alistair Miles", email = "alimanfoo@googlemail.com" },
+ ]
+-license = "MIT"
+ license-files = [
+     "LICENSE.txt",
+     "c-blosc/LICENSE.txt",


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f28b07.204a8.6aeb35a8>