commit:     8f26376a6b0264e4f4333e98260fe3f3f476668d
Author:     RobinDX <robin9800xt <AT> gmail <DOT> com>
AuthorDate: Sat Jan 23 16:36:53 2016 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 16:37:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f26376a

net-p2p/qbittorrent: version bump & new 9999 ebuild

 net-p2p/qbittorrent/Manifest                           |  1 +
 ...bittorrent-9999.ebuild => qbittorrent-3.3.3.ebuild} | 18 +++++++++++-------
 net-p2p/qbittorrent/qbittorrent-9999.ebuild            | 15 +++++++++------
 3 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index 6c0c5e0..2cfa9cb 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -5,3 +5,4 @@ DIST qbittorrent-3.2.3.tar.xz 2638708 SHA256 
86a79f3772bd06736a4be104180187d76c5
 DIST qbittorrent-3.2.4.tar.xz 2664248 SHA256 
7fc128e2809c3be4ea543cfaeefd922e0327cc430330eaad0d3ec7616df51871 SHA512 
c86098d791b64bd5f0ef6b465cf3eb6f1016402b33b18ba927279f521d768aa973d3f233794adb63820c5bca7e67672bf3c64fe65a7e5bf513219f860d2b2141
 WHIRLPOOL 
c5690fdf01a8841978404e61369a16da13dd27c151618cadbb4e16add7d5377d980d9a94cea68f82005c88bd4b637a23f0ea6fb2615c3921302c5847e0763272
 DIST qbittorrent-3.2.5.tar.xz 2665980 SHA256 
98f69c7324276c7c144738eb36b21a2d28d7f01a327104568f020887626e822b SHA512 
a98c1cf8607558990d0698c50d35cd217bceeb4deffe69c590f902b1a9dabc5431496805614dbd3bb734f764c309023ede2f8a5cb014f40796301fa14ba63e90
 WHIRLPOOL 
6539bde802919351836d1bb2d880d5b28d51c97b109674f2ae3e54c9aa9ab52c5e58436371a34b7388d119d041cf9b2a597656e338808243309cbf631e03fe2b
 DIST qbittorrent-3.3.2.tar.xz 2782172 SHA256 
e9330a63e0939fef79c70d5a66dba616f00206a70386efbb82fb7c620a19af58 SHA512 
2c09c1bbf18dfc181998343845e0f8164c29cb97eeccf3a7ab25753e8ccaa11cfb7372cf0ff1fc2a8c232a9ab4381a23c88aef791e37a3a7b4c0b92b537e25e6
 WHIRLPOOL 
a2bf3f6aee46dc5bc58357ea8eb214b9a69116f470faa0a4b5aed9fc0ffdd340712a1424b128ab96273e75d6b1c83707765d01c0089ec550040bb63df236176e
+DIST qbittorrent-3.3.3.tar.xz 2782616 SHA256 
9c8d8bdc3fb2632019cb3ee5f811baaa41b41fe7ce542c753c6771bcc110db53 SHA512 
2dd954e2518a2a99e271bf62d6db38a4e1788bb91c8b7552b94aab25dfb7b6cc7b4eb0ae49bb50d524127e8a357ea07b022c3a6e3b0593f6d2e7a2ce3abf6260
 WHIRLPOOL 
e794a50215f33c2088b4782fd8733e11c33b42a45b5df2424bdf0fcee3c0929445f0d47b1e8b3526341f4ee9a4b8cd081da54a0c3019f79dea9b50a3bb5dcbad

diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild 
b/net-p2p/qbittorrent/qbittorrent-3.3.3.ebuild
similarity index 86%
copy from net-p2p/qbittorrent/qbittorrent-9999.ebuild
copy to net-p2p/qbittorrent/qbittorrent-3.3.3.ebuild
index b67c5a0..10b4254 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-3.3.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python2_7 )
 
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 inherit eutils python-r1 qt4-r2
 
 DESCRIPTION="BitTorrent client in C++ and Qt"
@@ -21,7 +21,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+dbus debug +qt4 qt5 webui +X"
+IUSE="+dbus debug qt4 qt5 webui +X"
 REQUIRED_USE="
        ^^ ( qt4 qt5 )
        dbus? ( X )
@@ -70,13 +70,17 @@ src_configure() {
                --with-qtsingleapplication=system
                $(use dbus  || echo --disable-qt-dbus)
                $(use debug && echo --enable-debug)
-               $(use qt5   && echo --with-qt5)
+               $(use qt4   && echo --with-qt4)
                $(use webui || echo --disable-webui)
                $(use X     || echo --disable-gui)
        )
 
-       echo "${myconf[@]}"
        "${myconf[@]}" || die "configure failed"
-       use qt4 && eqmake4
-       use qt5 && eqmake5
+
+       if use qt4 ;then
+               eqmake4
+       elif use qt5 ;then
+               eqmake5
+       fi
 }
+

diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild 
b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index b67c5a0..0804614 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -3,8 +3,8 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python2_7 )
 
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 inherit eutils python-r1 qt4-r2
 
 DESCRIPTION="BitTorrent client in C++ and Qt"
@@ -21,7 +21,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+dbus debug +qt4 qt5 webui +X"
+IUSE="+dbus debug qt4 qt5 webui +X"
 REQUIRED_USE="
        ^^ ( qt4 qt5 )
        dbus? ( X )
@@ -70,13 +70,16 @@ src_configure() {
                --with-qtsingleapplication=system
                $(use dbus  || echo --disable-qt-dbus)
                $(use debug && echo --enable-debug)
-               $(use qt5   && echo --with-qt5)
+               $(use qt4   && echo --with-qt4)
                $(use webui || echo --disable-webui)
                $(use X     || echo --disable-gui)
        )
 
-       echo "${myconf[@]}"
        "${myconf[@]}" || die "configure failed"
-       use qt4 && eqmake4
-       use qt5 && eqmake5
+
+       if use qt4 ;then
+               eqmake4
+       elif use qt5 ;then
+               eqmake5
+       fi
 }

Reply via email to