commit:     bd2b3fc88a785a6b2af456828ef43039a339e91c
Author:     Josiah Mullins <jomull01 <AT> protonmail <DOT> com>
AuthorDate: Fri May 15 00:00:08 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 07:45:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2b3fc8

net-im/toxic: updated the 0.8.3 ebuild

Updated from EAPI 6 to EAPI 7. Also added
python3_7 to the python compat list.

Signed-off-by: Josiah Mullins <JoMull01 <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15799
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-im/toxic/toxic-0.8.3.ebuild | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/net-im/toxic/toxic-0.8.3.ebuild b/net-im/toxic/toxic-0.8.3.ebuild
index a39f3e6f1ce..fcdcabb71fd 100644
--- a/net-im/toxic/toxic-0.8.3.ebuild
+++ b/net-im/toxic/toxic-0.8.3.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_6 python3_7 )
 
 inherit python-single-r1 xdg
 
@@ -17,9 +17,9 @@ KEYWORDS="~amd64 ~x86"
 IUSE="notification python qrcode +sound +video +X"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="
-       dev-libs/libconfig
-       >=net-libs/tox-0.2.8:*
+BDEPEND="dev-libs/libconfig"
+
+RDEPEND=">=net-libs/tox-0.2.8:*
        net-misc/curl
        sys-libs/ncurses:*
        notification? ( x11-libs/libnotify )
@@ -35,9 +35,7 @@ RDEPEND="
                net-libs/tox[av]
                x11-libs/libX11 )"
 
-DEPEND="
-       virtual/pkgconfig
-       ${RDEPEND}"
+DEPEND="${RDEPEND}"
 
 pkg_setup() {
        use python && python-single-r1_pkg_setup
@@ -79,6 +77,6 @@ src_configure() {
 src_install() {
        default
        if ! use sound; then
-               rm -r "${ED%/}"/usr/share/${PN}/sounds || die "Could not remove 
sounds directory"
+               rm -r "${ED}"/usr/share/${PN}/sounds || die "Could not remove 
sounds directory"
        fi
 }

Reply via email to