Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qgis/
Date: Tue, 27 Feb 2018 16:14:16
Message-Id: 1519748010.75c011e1af02a364d4f3ae9e93f8695658eb3cdc.asturm@gentoo
1 commit: 75c011e1af02a364d4f3ae9e93f8695658eb3cdc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 27 14:49:07 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 27 16:13:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c011e1
7
8 sci-geosciences/qgis: Add overly considerate pkg_postinst info
9
10 Closes: https://bugs.gentoo.org/648948
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 sci-geosciences/qgis/qgis-3.0.0.ebuild | 3 +++
14 sci-geosciences/qgis/qgis-9999.ebuild | 3 +++
15 2 files changed, 6 insertions(+)
16
17 diff --git a/sci-geosciences/qgis/qgis-3.0.0.ebuild b/sci-geosciences/qgis/qgis-3.0.0.ebuild
18 index b4e04b7ffbc..d773dd57187 100644
19 --- a/sci-geosciences/qgis/qgis-3.0.0.ebuild
20 +++ b/sci-geosciences/qgis/qgis-3.0.0.ebuild
21 @@ -198,6 +198,9 @@ pkg_postinst() {
22 elog "If you do not need these plugins just disable them"
23 elog "in the Plugins menu, else you need to set USE=\"postgres\""
24 fi
25 + if has_version "<sci-geosciences/qgis-3"; then
26 + elog "QGIS is now based on PyQt5. Old scripts may not work anymore."
27 + fi
28
29 gnome2_icon_cache_update
30 xdg_mimeinfo_database_update
31
32 diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild
33 index b4e04b7ffbc..d773dd57187 100644
34 --- a/sci-geosciences/qgis/qgis-9999.ebuild
35 +++ b/sci-geosciences/qgis/qgis-9999.ebuild
36 @@ -198,6 +198,9 @@ pkg_postinst() {
37 elog "If you do not need these plugins just disable them"
38 elog "in the Plugins menu, else you need to set USE=\"postgres\""
39 fi
40 + if has_version "<sci-geosciences/qgis-3"; then
41 + elog "QGIS is now based on PyQt5. Old scripts may not work anymore."
42 + fi
43
44 gnome2_icon_cache_update
45 xdg_mimeinfo_database_update