summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosiah Mullins <jomull01@protonmail.com>2020-05-14 20:00:08 -0400
committerJoonas Niilola <juippis@gentoo.org>2020-06-08 10:45:22 +0300
commitbd2b3fc88a785a6b2af456828ef43039a339e91c (patch)
tree567971f7a34854fad48edbfca05d1817f75e008f /net-im/toxic
parentnet-libs/tox: bump to 0.2.12 (diff)
downloadgentoo-bd2b3fc88a785a6b2af456828ef43039a339e91c.tar.gz
gentoo-bd2b3fc88a785a6b2af456828ef43039a339e91c.tar.bz2
gentoo-bd2b3fc88a785a6b2af456828ef43039a339e91c.zip
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@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/15799 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/toxic')
-rw-r--r--net-im/toxic/toxic-0.8.3.ebuild16
1 files 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 a39f3e6f1ce6..fcdcabb71fd7 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
}