geography/qgis: Declare python3 incompatible

With 37, the build fails with complaints about future and the wrong
version.  With 27, it builds.  Definitive documentation is scarce, but
signs point to 27 being standard for 2.18, and 3 perhaps working,
perhaps not.  Because qgis 2.18 should be updated to 3.x anyway, don't
worry and just set the variables for now.
This commit is contained in:
gdt 2019-05-14 01:39:30 +00:00
parent 9077de02b4
commit c5db4cf619
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.73 2019/04/25 07:32:56 maya Exp $
# $NetBSD: Makefile,v 1.74 2019/05/14 01:39:30 gdt Exp $
DISTNAME= qgis-2.18.28
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= geography
MASTER_SITES= https://qgis.org/downloads/
EXTRACT_SUFX= .tar.bz2

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.12 2019/04/26 14:12:39 maya Exp $
# $NetBSD: options.mk,v 1.13 2019/05/14 01:39:30 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qgis
PKG_SUPPORTED_OPTIONS= python
@ -19,7 +19,7 @@ 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
#PYTHON_VERSIONS_INCOMPATIBLE= 36 # ?not yet ported as of ?
PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # Documentation implies 27 is supported, 3x not.
.include "../../lang/python/application.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../x11/py-qt4/buildlink3.mk"