Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string
Approved by: portmgr (bapt)
Differential Revision: D375667971bd0fbPort details
graphics/py-gdal 3.13.3
Python binding for GDAL
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 3.13.3
- Upstream
- up to date
- Last update
- to 3.13.3 · 105417b640
- Quarterly
- 2026Q4: 3.13.3
- WWW
- https://gdal.org/
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install py312-gdalinstalls 3.13.3 fromlatest; fromquarterly(2026Q4) 3.13.3- Port
# cd /usr/ports/graphics/py-gdal && make install clean# make -C /usr/ports/graphics/py-gdal config # change options first
- Size
- 1.4 MiB download · 9.5 MiB installed
- Depends on
- graphics/gdal 3.13.3_1, lang/gcc14 14.2.0_7, lang/python312 3.12.15, math/py-numpy 2.4.6_1,1
- License
- MIT
- Options
- 1 of 1 on in the package: NUMPY
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.13.3 | 3.13.3 | – |
| FreeBSD 15 | 3.13.3 | 3.13.3 | – |
| FreeBSD 14 | 3.13.3 | 3.13.3 | 3.13.3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.13.3 | 3.13.3 | – |
| FreeBSD 14 | 3.13.3 | 3.13.3 | 3.13.3 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.13.3.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 297407 | maintainer-feedback? graphics/py-gdal does not build, asks for numpy despite options setting | New | 2026-08-09 |
Commits (125)
- Update to 2.0.1 - Add LICENSE_FILE Changes: http://trac.osgeo.org/gdal/wiki/Release/2.0.1-News5963fb2614
- Allow concurrent installation (USE_PYTHON=concurrent) - Bump PORTREVISION for package change PR: 202647 Submitted by: Matthieu Volat <mazhe@alkumuna.eu>aa0f464f71
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports using python
PR: 201077
Reviewed by: mat
With hat: portmgr
Differential Revision: https://reviews.freebsd.org/D29556e381a9d53- Update to 2.0.0 - Fix MASTER_SITES Changes: http://trac.osgeo.org/gdal/wiki/Release/2.0.0-News0cf891c0bf
- Update to 1.11.2 Changes: http://trac.osgeo.org/gdal/wiki/Release/1.11.2-Newsc2ef1535f1
- Fix numpy import PR: ports/195221 Submitted by: Matthieu Volat <mazhe@alkumuna.eu>c19a10337f
- Update to 1.11.1 - Cleanup PLIST Changes: http://trac.osgeo.org/gdal/wiki/Release/1.11.1-News0115b62d16
- Convert PYTHON_FEATURES to USE_PYTHON (which was landed several hours ago) Notified by: koobs, wgec373bbc2f
- Use USES=python4b50205f44
- Remove USE_AUTOTOOLS=libtool - Bump PORTREVISION for package change - Bump PORTREVISION for graphics/gdal shlib change [1] Approved by: portmgr (implicit) [1]61a8320e09
- Update to 1.11.0 Changes: http://trac.osgeo.org/gdal/wiki/Release/1.11.0-News0f299836c2
- Strip shared library - Bump PORTREVISION for package change02de78a49b
- Update USE_PYTHON - Use PYDISTUTILS_AUTOPLIST - Fix shebang - Bump PORTREVISION for package change4749a78700
Python cleanup: - USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)50f8eaece1
- Convert to new options helper - Support STAGEDIR8cfdaa4e2c
Add NO_STAGE all over the place in preparation for the staging support (cat: graphics)eb08c5441c
- Cosmetic change2704440db1
- Convert to new LIB_DEPENDS formatcca3efbe5e
- Update to 1.10.1 Changes: http://trac.osgeo.org/gdal/wiki/Release/1.10.1-News7f94056a2e
- Update to 1.10.0 Changes: http://trac.osgeo.org/gdal/wiki/Release/1.10.0-Newsdda98bb0c1
- Add LICENSE325e1c669d
- Update to 1.9.2 - Cleanup Makefile header Changes: http://trac.osgeo.org/gdal/wiki/Release/1.9.2-News Feature safe: yesa81fde5b9b
- Convert to new options framework5cf8b1f94e
- Add py-gdal 1.9.1 This port is the Python binding for GDAL (Geospatial Data Abstraction Library). WWW: http://www.gdal.org/783797e774