sci-geosciences/qgis: Add overly considerate pkg_postinst info
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 27 Feb 2018 14:49:07 +0000 (15:49 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 27 Feb 2018 16:13:30 +0000 (17:13 +0100)
Closes: https://bugs.gentoo.org/648948
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sci-geosciences/qgis/qgis-3.0.0.ebuild
sci-geosciences/qgis/qgis-9999.ebuild

index b4e04b7ffbcd8a939abb4f4306d4682d78bdccd6..d773dd57187696e81dd51b62f4e10f0949dc1316 100644 (file)
@@ -198,6 +198,9 @@ pkg_postinst() {
                elog "If you do not need these plugins just disable them"
                elog "in the Plugins menu, else you need to set USE=\"postgres\""
        fi
+       if has_version "<sci-geosciences/qgis-3"; then
+               elog "QGIS is now based on PyQt5. Old scripts may not work anymore."
+       fi
 
        gnome2_icon_cache_update
        xdg_mimeinfo_database_update
index b4e04b7ffbcd8a939abb4f4306d4682d78bdccd6..d773dd57187696e81dd51b62f4e10f0949dc1316 100644 (file)
@@ -198,6 +198,9 @@ pkg_postinst() {
                elog "If you do not need these plugins just disable them"
                elog "in the Plugins menu, else you need to set USE=\"postgres\""
        fi
+       if has_version "<sci-geosciences/qgis-3"; then
+               elog "QGIS is now based on PyQt5. Old scripts may not work anymore."
+       fi
 
        gnome2_icon_cache_update
        xdg_mimeinfo_database_update