[Bug 297407] graphics/py-gdal does not build, asks for numpy despite options setting

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297407

            Bug ID: 297407
           Summary: graphics/py-gdal does not build, asks for numpy
                    despite options setting
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

FreeBSD 14-STABLE, 2026Q3 branch as of 7/11/26. The graphics/py-gdal port
refuses to build:

[00:00:05] writing manifest file 'gdal-utils/gdal.egg-info/SOURCES.txt'
[00:00:05] 
[00:00:05] ERROR Missing dependencies:
[00:00:05]      numpy>=2.0.0rc1
[00:00:05] *** Error code 1

So numpy is actually built at this point, but even so ... BUILD_DEPENDS does
not appear to have numpy in and this build fails. I tested this issue by
patching this way:

--- a/graphics/py-gdal/Makefile
+++ b/graphics/py-gdal/Makefile
@@ -12,6 +12,7 @@ WWW=          https://gdal.org/ \
 LICENSE=       MIT

 BUILD_DEPENDS=
${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+              
${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0rc1:math/py-numpy@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=   libgdal.so:graphics/gdal

and the build is ok after this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.