Created attachment 204139 [details] Update graphics/qgis-ltr from 3.4.5 to 3.4.7 This is a minor update for the QGIS LTR version 3.4.5 to 3.4.7. The port itself gets some corrections and additions. Changes of the port: - Update to 3.4.7 - Update several Python dependencies - Add USE_PYQT=webkitwidgets for plugins like 'OpenLayers Plugin' - Add USES=gnome, USE_GNOME=libxml2, USE_QT=gamepad, and LIB_DEPENDS=libsz.so:science/szip to pet 'make DEVELOPER=yes' - Add OPTIONS_DEFAULT=SERVER - Change files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py to work with REQUIRED_VERSION - Remove files/patch-python_plugins_processing_algs_saga_SagaUtils.py and files/patch-src_app_main.cpp, after they are upstream now - Remove 'world writeable rights' in pkg-plist (not necessary) - Update pkg-plist The patch is tested on Poudriere (11.2i/a, 12.0i/a, and HEADi/a), 'portlint -AC' seems happy.
testbuilds@work
Fails to build on 13: ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%DATADIR%%/python/qsci_apis/Python-3.6.api ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%DATADIR%%/python/qsci_apis/Python-%%PYTHON_VER%%.api ===> Error: Plist issues found.
Turns out: The file in question is always 3.6, it does not change with PYTHON_VER. Thanks to tobik for the hint!
Created attachment 204219 [details] patch to update graphics/qgis-ltr with corrected pkg-plist After some investigation of pi@ and me, tobik@ found the real reason for the breakage of pkg-plist. Many thanks! qsciapis/Python-3.6.api has its own version, it is not the one of Python3. The new patch is almost the same as the first one, but corrects pkg-plist.
Committed, thanks!
A commit references this bug: Author: pi Date: Sun May 5 05:57:19 UTC 2019 New revision: 500848 URL: https://svnweb.freebsd.org/changeset/ports/500848 Log: graphics/qgis-ltr: upgrade 3.4.5 -> 3.4.7 - Update several Python dependencies - Add USE_PYQT=webkitwidgets for plugins like 'OpenLayers Plugin' - Add USES=gnome, USE_GNOME=libxml2, USE_QT=gamepad, and LIB_DEPENDS=libsz.so:science/szip to pet 'make DEVELOPER=yes' - Add OPTIONS_DEFAULT=SERVER - Change files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py to work with REQUIRED_VERSION - Remove files/patch-python_plugins_processing_algs_saga_SagaUtils.py and files/patch-src_app_main.cpp, after they are upstream now - Remove 'world writeable rights' in pkg-plist (not necessary) - Update pkg-plist PR: 237685 Submitted by: Rainer Hurling <rhurlin@gwdg.de> (maintainer) Changes: head/graphics/qgis-ltr/Makefile head/graphics/qgis-ltr/distinfo head/graphics/qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py head/graphics/qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaUtils.py head/graphics/qgis-ltr/files/patch-src_app_main.cpp head/graphics/qgis-ltr/pkg-plist