blob: c1858c5e952e3cb5db59daea3129354fdf6fcade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
inherit python-any-r1
DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
HOMEPAGE="
https://telepathy.freedesktop.org
https://developer.pidgin.im/wiki/TelepathyHaze
"
SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-libs/dbus-glib
dev-libs/glib:2
net-im/pidgin:=[dbus]
net-libs/telepathy-glib
sys-apps/dbus
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
dev-libs/libxslt
dev-util/glib-utils
"
BDEPEND="
virtual/pkgconfig
test? (
dev-python/pygobject:3
$(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
)
"
RESTRICT="!test? ( test )"
PATCHES=(
# bug #887865
"${FILESDIR}/${P}-fix-Wincompatible-pointer-types.patch"
# bug #862984
"${FILESDIR}/${P}-remove-broken-test.patch"
)
python_check_deps() {
if use test ; then
python_has_version "dev-python/twisted[${PYTHON_USEDEP}]"
fi
}
|