Skip to content
Permalink
Browse files

qgis3: Update to 3.0.0

  • Loading branch information
ryandesign committed Mar 3, 2018
1 parent 6637638 commit ca282e5a50d54db46d29c59312f785fbc3e2a325
Showing with 13 additions and 15 deletions.
  1. +6 −8 gis/qgis3/Portfile
  2. +7 −7 gis/qgis3/files/patch-FindPyQt5_py.diff
@@ -7,10 +7,9 @@ PortGroup cxx11 1.1
PortGroup github 1.0
PortGroup qt5 1.0

github.setup qgis QGIS 3_0_0 final-
name qgis3
set commit 36bf093
github.setup qgis QGIS ${commit}
version 2.99.20180124
version [string map {_ .} ${github.version}]
categories gis
maintainers {vince @Veence}
description QGIS 3 is a user-friendly GIS based on Qt 5
@@ -24,10 +23,9 @@ license GPL-2+

homepage http://www.qgis.org/

checksums rmd160 d53c504d41960b547e407e1922e1c1b3d876629a \
sha256 17fa868f00f30184431e219f41fcb785d818e5ba89678dc9ec2ad9630c83237f

worksrcdir QGIS-${commit}
checksums rmd160 f72016dbf0c5d7ad34393713f1372be379fe3bbc \
sha256 c54d5deb739532aee858d049deaa45edff34c0a56ce2d6556250d86be6f4d2e7 \
size 111733389

depends_lib-append port:libiconv \
port:expat \
@@ -194,7 +192,7 @@ variant grass description "Build Grass 7 plugin" {

depends_lib-append port:grass7
global grass_version
set grass_version 7.2.2
set grass_version 7.4.0
post-patch {
reinplace "s|@GRASS_VERSION@|${grass_version}|g" \
${worksrcpath}/mac/app.info.plist.in
@@ -1,11 +1,11 @@
--- cmake/FindPyQt5.py.orig 2017-12-07 07:54:53.000000000 +0100
+++ cmake/FindPyQt5.py 2017-12-07 07:56:08.000000000 +0100
@@ -38,7 +38,7 @@
import sipconfig # won't work for SIP v5
--- cmake/FindPyQt5.py.orig 2018-02-23 06:09:53.000000000 -0600
+++ cmake/FindPyQt5.py 2018-02-27 08:01:26.000000000 -0600
@@ -39,7 +39,7 @@
import os.path
import sys
cfg = sipconfig.Configuration()
- sip_dir = cfg.default_sip_dir
+ sip_dir = "@FRAMEWORKS_DIR@/Python.framework/Versions/@PYVERSION@/share/sip"
for p in (os.path.join(sip_dir, "PyQt5"), sip_dir):
if os.path.exists(os.path.join(p, "QtCore", "QtCoremod.sip")):
sip_dir = p
if sys.platform.startswith('freebsd'):
py_version = str(sys.version_info.major) + str(sys.version_info.minor)
sip_dir = sip_dir.replace(py_version, '')

0 comments on commit ca282e5

Please sign in to comment.
You can’t perform that action at this time.