Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2026 16:47:24 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 10e4be932a75 - main - misc/py-numcodecs: Fix BUILD_DEPENDS
Message-ID:  <69f3879c.216f4.1fb546d0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit 10e4be932a75d17e1f0e57e2a06ce9f1a6699db5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-30 16:44:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-30 16:44:36 +0000

    misc/py-numcodecs: Fix BUILD_DEPENDS
    
    - Add missing py-numpy1
    - Remove lang/cython: it is done by USE_PYTHON=cython
    
    The error message is as follows:
    ===>  Configuring for py311-numcodecs-0.16.5
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "setup.py", line 385, in <module>
        run_setup(with_extensions)
      File "setup.py", line 366, in run_setup
        + vlen_extension()
          ^^^^^^^^^^^^^^^^
      File "setup.py", line 208, in vlen_extension
        import numpy
    ModuleNotFoundError: No module named 'numpy'
    ...
    *** Error code 1
    
    Stop.
    make: stopped making "configure" in /usr/ports/misc/py-numcodecs
    
    Approved by:    portmgr (blanket)
    Reference:      https://pkg-status.freebsd.org/beefy23/data/150amd64-default/14bd0e320b77/logs/py311-numcodecs-0.16.5.log
                    https://pkg-status.freebsd.org/beefy16/data/135amd64-default/14bd0e320b77/logs/py311-numcodecs-0.16.5.log
---
 misc/py-numcodecs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/py-numcodecs/Makefile b/misc/py-numcodecs/Makefile
index 5dd8345315d4..7f1e95c2afce 100644
--- a/misc/py-numcodecs/Makefile
+++ b/misc/py-numcodecs/Makefile
@@ -11,7 +11,7 @@ WWW=		https://numcodecs.readthedocs.io/en/stable/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=3.0:lang/cython@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy1>=1.24:math/py-numpy1@${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} \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f3879c.216f4.1fb546d0>