net-im/psi: EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Mar 2019 09:23:19 +0000 (10:23 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Mar 2019 09:58:23 +0000 (10:58 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
net-im/psi/psi-9999.ebuild

index 4c1e85949f64e994b77eb6fa105e635e59764b7b..24d8d574291e5cf23cd9f8830258595f31b11924 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PLOCALES="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
 PLOCALE_BACKUP="en"
@@ -29,7 +29,13 @@ REQUIRED_USE="
        webengine? ( !webkit )
 "
 
-RDEPEND="
+BDEPEND="
+       dev-qt/linguist-tools:5
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+       extras? ( >=sys-devel/qconf-2.4 )
+"
+DEPEND="
        app-crypt/qca:2[ssl]
        dev-qt/qtconcurrent:5
        dev-qt/qtcore:5
@@ -57,13 +63,7 @@ RDEPEND="
        whiteboarding? ( dev-qt/qtsvg:5 )
        xscreensaver? ( x11-libs/libXScrnSaver )
 "
-DEPEND="${RDEPEND}
-       dev-qt/linguist-tools:5
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
-       extras? ( >=sys-devel/qconf-2.4 )
-"
-PDEPEND="
+RDEPEND="${DEPEND}
        dev-qt/qtimageformats
 "
 
@@ -73,14 +73,12 @@ pkg_setup() {
        MY_PN=psi
        if use extras; then
                MY_PN=psi-plus
-               echo
                ewarn "You're about to build patched version of Psi called Psi+."
                ewarn "It has new nice features not yet included to Psi."
                ewarn "Take a look at homepage for more info: http://psi-plus.com/"
-               echo
 
                if use iconsets; then
-                       echo
+                       ewarn
                        ewarn "Some artwork is from open source projects, but some is provided 'as-is'"
                        ewarn "and has not clear licensing."
                        ewarn "Possibly this build is not redistributable in some countries."
@@ -168,7 +166,7 @@ src_install() {
        emake INSTALL_ROOT="${D}" install
 
        # this way the docs will be installed in the standard gentoo dir
-       rm "${ED}"/usr/share/${MY_PN}/{COPYING,README.html} || die "Installed file set seems to be changed by upstream"
+       rm "${ED}"/usr/share/${MY_PN}/{COPYING,README.html} || die "doc files set seems to have changed"
        newdoc iconsets/roster/README README.roster
        newdoc iconsets/system/README README.system
        newdoc certs/README README.certs