pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/qgis geography/qgis: Mark as not for python 2.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b2b4befd3f1
branches: trunk
changeset: 452018:5b2b4befd3f1
user: gdt <gdt%pkgsrc.org@localhost>
date: Tue May 04 16:27:38 2021 +0000
description:
geography/qgis: Mark as not for python 2.7
It's unlikely that this built ok with 2.7, and really unlikely anyone
was actually doing that. However, py-gdal is not python 3.x only, so be explicit.
(No revbump because default has been some form of python 3.x.)
diffstat:
geography/qgis/options.mk | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 203a559b037c -r 5b2b4befd3f1 geography/qgis/options.mk
--- a/geography/qgis/options.mk Tue May 04 16:16:26 2021 +0000
+++ b/geography/qgis/options.mk Tue May 04 16:27:38 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2021/05/03 15:32:03 gdt Exp $
+# $NetBSD: options.mk,v 1.21 2021/05/04 16:27:38 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qgis
PKG_SUPPORTED_OPTIONS= python
@@ -12,25 +12,32 @@
.include "../../mk/bsd.options.mk"
.if empty(PKG_OPTIONS:Mpython)
+
CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=FALSE
+
PYTHON_FOR_BUILD_ONLY= YES
.include "../../lang/python/application.mk"
+
.else
+
CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=TRUE
CMAKE_ARGS+= -DSIP_BINARY_PATH:PATH=${BUILDLINK_PREFIX.py-sip}/bin
CMAKE_ARGS+= -DWITH_INTERNAL_MARKUPSAFE=FALSE
PLIST_SRC+= ${PKGDIR}/PLIST.python
+
.include "../../lang/python/application.mk"
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../math/py-numpy/buildlink3.mk"
.include "../../x11/py-qt5/buildlink3.mk"
.include "../../x11/py-qt5-qscintilla/buildlink3.mk"
.include "../../x11/py-sip/buildlink3.mk"
+
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
DEPENDS+= ${PYPKGPREFIX}-gdal-[0-9]*:../../geography/py-gdal
DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
-
# py-owslib # metasearch
# py-yaml # quickosm
Home |
Main Index |
Thread Index |
Old Index