commit:     75c011e1af02a364d4f3ae9e93f8695658eb3cdc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 14:49:07 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 16:13:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c011e1

sci-geosciences/qgis: Add overly considerate pkg_postinst info

Closes: https://bugs.gentoo.org/648948
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-geosciences/qgis/qgis-3.0.0.ebuild | 3 +++
 sci-geosciences/qgis/qgis-9999.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sci-geosciences/qgis/qgis-3.0.0.ebuild 
b/sci-geosciences/qgis/qgis-3.0.0.ebuild
index b4e04b7ffbc..d773dd57187 100644
--- a/sci-geosciences/qgis/qgis-3.0.0.ebuild
+++ b/sci-geosciences/qgis/qgis-3.0.0.ebuild
@@ -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

diff --git a/sci-geosciences/qgis/qgis-9999.ebuild 
b/sci-geosciences/qgis/qgis-9999.ebuild
index b4e04b7ffbc..d773dd57187 100644
--- a/sci-geosciences/qgis/qgis-9999.ebuild
+++ b/sci-geosciences/qgis/qgis-9999.ebuild
@@ -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

Reply via email to