pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-gdal: Fixes from wiz
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Thu May 23 09:11:31 2024 -0400
Changeset: 002c823c137a04affe1f1b7c3de7bc9937c48bb6
Modified Files:
py-gdal/Makefile
Log Message:
py-gdal: Fixes from wiz
- tool depend on swig4
- require gdal-lib 3.9.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=002c823c137a04affe1f1b7c3de7bc9937c48bb6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-gdal/Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diffs:
diff --git a/py-gdal/Makefile b/py-gdal/Makefile
index 209a5a49a6..7a2cf6c561 100644
--- a/py-gdal/Makefile
+++ b/py-gdal/Makefile
@@ -26,19 +26,18 @@ PYSETUPSUBDIR= build/swig/python
# Upstream's distfile does not have a ready-to-use python module
# source directory. Creating it requires cmake, but apparently not
# building the rest of gdal.
-
-# \todo Consider enhancing cmake support to allow configure-only and
-# not overriding the rest of the targets while allowing use of wheel's
-# build/install targets.
-
+# \todo Consider enhancing cmake support to allow configure-only and
+# not overriding the rest of the targets while allowing use of
+# wheel's build/install targets.
TOOL_DEPENDS+= cmake>=0:../../devel/cmake
-
+TOOL_DEPENDS+= swig4-[0-9]*:../../devel/swig4
pre-build:
cd ${WRKSRC} && mkdir build && cd build && \
cmake .. && \
cd swig/python && \
${MAKE} python_generated_files
+BUILDLINK_API_DEPENDS.gdal-lib+= gdal-lib>=3.9.0
.include "../../geography/gdal-lib/buildlink3.mk"
# \todo Explain why wheel must be before tool (Python.h not found), or fix
# documentation of python/foo.mk.
Home |
Main Index |
Thread Index |
Old Index