Tue May 4 16:27:38 2021 UTC ()
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.)


(gdt)
diff -r1.20 -r1.21 pkgsrc/geography/qgis/options.mk

cvs diff -r1.20 -r1.21 pkgsrc/geography/qgis/Attic/options.mk (expand / switch to unified diff)

--- pkgsrc/geography/qgis/Attic/options.mk 2021/05/03 15:32:03 1.20
+++ pkgsrc/geography/qgis/Attic/options.mk 2021/05/04 16:27:38 1.21
@@ -1,37 +1,44 @@ @@ -1,37 +1,44 @@
1# $NetBSD: options.mk,v 1.20 2021/05/03 15:32:03 gdt Exp $ 1# $NetBSD: options.mk,v 1.21 2021/05/04 16:27:38 gdt Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.qgis 3PKG_OPTIONS_VAR= PKG_OPTIONS.qgis
4PKG_SUPPORTED_OPTIONS= python 4PKG_SUPPORTED_OPTIONS= python
5# \todo After 2020Q2, drop python option (making it on). Python 5# \todo After 2020Q2, drop python option (making it on). Python
6# within qgis is so huge that it is hard to imagine someone wanting to 6# within qgis is so huge that it is hard to imagine someone wanting to
7# build qgis without python, and the cost of that theoretical person 7# build qgis without python, and the cost of that theoretical person
8# putting up with a few more bits is smaller than the maintenance pain 8# putting up with a few more bits is smaller than the maintenance pain
9# of having an option. 9# of having an option.
10PKG_SUGGESTED_OPTIONS+= python 10PKG_SUGGESTED_OPTIONS+= python
11 11
12.include "../../mk/bsd.options.mk" 12.include "../../mk/bsd.options.mk"
13 13
14.if empty(PKG_OPTIONS:Mpython) 14.if empty(PKG_OPTIONS:Mpython)
 15
15CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=FALSE 16CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=FALSE
 17
16PYTHON_FOR_BUILD_ONLY= YES 18PYTHON_FOR_BUILD_ONLY= YES
17.include "../../lang/python/application.mk" 19.include "../../lang/python/application.mk"
 20
18.else 21.else
 22
19CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=TRUE 23CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=TRUE
20CMAKE_ARGS+= -DSIP_BINARY_PATH:PATH=${BUILDLINK_PREFIX.py-sip}/bin 24CMAKE_ARGS+= -DSIP_BINARY_PATH:PATH=${BUILDLINK_PREFIX.py-sip}/bin
21CMAKE_ARGS+= -DWITH_INTERNAL_MARKUPSAFE=FALSE 25CMAKE_ARGS+= -DWITH_INTERNAL_MARKUPSAFE=FALSE
22PLIST_SRC+= ${PKGDIR}/PLIST.python 26PLIST_SRC+= ${PKGDIR}/PLIST.python
 27
23.include "../../lang/python/application.mk" 28.include "../../lang/python/application.mk"
 29PYTHON_VERSIONS_INCOMPATIBLE= 27
 30
24.include "../../math/py-numpy/buildlink3.mk" 31.include "../../math/py-numpy/buildlink3.mk"
25.include "../../x11/py-qt5/buildlink3.mk" 32.include "../../x11/py-qt5/buildlink3.mk"
26.include "../../x11/py-qt5-qscintilla/buildlink3.mk" 33.include "../../x11/py-qt5-qscintilla/buildlink3.mk"
27.include "../../x11/py-sip/buildlink3.mk" 34.include "../../x11/py-sip/buildlink3.mk"
 35
28DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests 36DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
29DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2 37DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
30DEPENDS+= ${PYPKGPREFIX}-gdal-[0-9]*:../../geography/py-gdal 38DEPENDS+= ${PYPKGPREFIX}-gdal-[0-9]*:../../geography/py-gdal
31DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 39DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
32DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe 40DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
33 
34# py-owslib # metasearch 41# py-owslib # metasearch
35# py-yaml # quickosm 42# py-yaml # quickosm
36 43
37.endif 44.endif