summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2019-10-08 22:05:54 +0200
committerMatt Turner <mattst88@gentoo.org>2019-12-04 15:51:17 -0500
commitbfc9cd845aca68b641435f7758426aecc273c63a (patch)
tree052d20f3fe5621d1bfd12c78babbfd4acc6a801a /net-irc/telepathy-idle/telepathy-idle-0.2.0-r2.ebuild
parentmail-client/geary: bump 3.34.2 (diff)
downloadgentoo-bfc9cd845aca68b641435f7758426aecc273c63a.tar.gz
gentoo-bfc9cd845aca68b641435f7758426aecc273c63a.tar.bz2
gentoo-bfc9cd845aca68b641435f7758426aecc273c63a.zip
net-irc/telepathy-idle: fix 100% cpu usage and tests
Added latest fixes from 0.2.0 branch. - fixes tests - fixes extreme CPU usage. It's unlikely that new version (0.2.1 nor 1.x) will be released soon, so let's merge these patches. Closes: https://bugs.gentoo.org/636576 Closes: https://bugs.gentoo.org/684832 Closes: https://github.com/gentoo/gentoo/pull/13221 Signed-off-by: David Heidelberg <david@ixit.cz> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-irc/telepathy-idle/telepathy-idle-0.2.0-r2.ebuild')
-rw-r--r--net-irc/telepathy-idle/telepathy-idle-0.2.0-r2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-irc/telepathy-idle/telepathy-idle-0.2.0-r2.ebuild b/net-irc/telepathy-idle/telepathy-idle-0.2.0-r2.ebuild
new file mode 100644
index 000000000000..7a2b194475db
--- /dev/null
+++ b/net-irc/telepathy-idle/telepathy-idle-0.2.0-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Full-featured IRC connection manager for Telepathy"
+HOMEPAGE="https://cgit.freedesktop.org/telepathy/telepathy-idle"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? ( dev-python/twisted-words )
+"
+RDEPEND="
+ >=dev-libs/dbus-glib-0.51
+ >=dev-libs/glib-2.32:2
+ >=net-libs/telepathy-glib-0.21
+ sys-apps/dbus
+ ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-fixes.patch"
+)
+
+src_prepare() {
+ default
+
+ # Failed in 0.1.16 and code has not moved since october
+ # Upstream is working on 1.0
+ sed -e 's:connect/server-quit-ignore.py::' \
+ -e 's:connect/server-quit-noclose.py::' \
+ -i tests/twisted/Makefile.{am,in} || die
+}