Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/telepathy-qt/
Date: Sun, 17 Nov 2019 12:46:44
Message-Id: 1573994766.193f4178b9861ee3710d192287d45fe724a8dc24.asturm@gentoo
1 commit: 193f4178b9861ee3710d192287d45fe724a8dc24
2 Author: Alexander Akulich <akulichalexander <AT> gmail <DOT> com>
3 AuthorDate: Mon Nov 11 19:32:03 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 12:46:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193f4178
7
8 net-libs/telepathy-qt: add 0.9.8, bug #699882
9
10 The new version works with Python 3 and has fixed tests.
11
12 Signed-off-by: Alexander Akulich <akulichalexander <AT> gmail.com>
13
14 Closes: https://bugs.gentoo.org/699882
15 Closes: https://bugs.gentoo.org/549448
16 Closes: https://github.com/gentoo/gentoo/pull/13612
17 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
18
19 net-libs/telepathy-qt/Manifest | 1 +
20 net-libs/telepathy-qt/telepathy-qt-0.9.8.ebuild | 67 +++++++++++++++++++++++++
21 2 files changed, 68 insertions(+)
22
23 diff --git a/net-libs/telepathy-qt/Manifest b/net-libs/telepathy-qt/Manifest
24 index 2edac9f836f..d915ef01694 100644
25 --- a/net-libs/telepathy-qt/Manifest
26 +++ b/net-libs/telepathy-qt/Manifest
27 @@ -1 +1,2 @@
28 DIST telepathy-qt-0.9.7.tar.gz 6213405 BLAKE2B 13e2ae73bba74b4aedd55b46d0816744a4485a2a39faed610439fff40a65065a12606080012e220fc30a9d2642aba311aca6a24b540d8d22a140197911343eb8 SHA512 081daecb2509ea690079014bcc88eacbf2b3e4f4ac42aaf1b0cb264c01b801bc499a041482571d383f258cb3d3e2c6ffa5682fbe417fe807fcc25a06d2ead877
29 +DIST telepathy-qt-0.9.8.tar.gz 6448686 BLAKE2B 7554b812c35a09aabc0ff92fea43f633b5c2f87784c8e7b387545b31c1c92eb02f9e416930c635202fe0205c4e26c1fd63c3b4a668cf0ceeb602d8a777891cd9 SHA512 fad662c02417c8e4e239d438ea3549226e589442aea8418c8922a6b78ff88422a36c1cc0d2e3591240fac115390a7fbdb1b4deea98187051cc811175b60b9e8b
30
31 diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.8.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.8.ebuild
32 new file mode 100644
33 index 00000000000..1cbcf4aedb6
34 --- /dev/null
35 +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.8.ebuild
36 @@ -0,0 +1,67 @@
37 +# Copyright 1999-2019 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +
42 +PYTHON_COMPAT=( python3_{5,6,7} )
43 +inherit python-any-r1 cmake-utils virtualx
44 +
45 +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol"
46 +HOMEPAGE="https://telepathy.freedesktop.org/"
47 +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="LGPL-2.1"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 +IUSE="debug farstream test"
53 +
54 +RDEPEND="
55 + dev-qt/qtcore:5
56 + dev-qt/qtdbus:5
57 + dev-qt/qtgui:5
58 + dev-qt/qtnetwork:5
59 + dev-qt/qtxml:5
60 + farstream? (
61 + >=net-libs/telepathy-farstream-0.2.2
62 + >=net-libs/telepathy-glib-0.18.0
63 + )
64 +"
65 +DEPEND="${RDEPEND}
66 + test? (
67 + dev-libs/dbus-glib
68 + dev-libs/glib:2
69 + dev-qt/qttest:5
70 + $(python_gen_any_dep '
71 + dev-python/dbus-python[${PYTHON_USEDEP}]
72 + ')
73 + )
74 +"
75 +BDEPEND="
76 + ${PYTHON_DEPS}
77 + virtual/pkgconfig
78 +"
79 +RESTRICT="!test? ( test )"
80 +
81 +python_check_deps() {
82 + has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
83 +}
84 +
85 +pkg_setup() {
86 + use test && python-any-r1_pkg_setup
87 +}
88 +
89 +src_configure() {
90 + local mycmakeargs=(
91 + -DENABLE_DEBUG_OUTPUT=$(usex debug)
92 + -DENABLE_FARSTREAM=$(usex farstream)
93 + -DENABLE_TESTS=$(usex test)
94 + -DENABLE_EXAMPLES=OFF
95 + )
96 + cmake-utils_src_configure
97 +}
98 +
99 +src_test() {
100 + pushd "${BUILD_DIR}" > /dev/null || die
101 + virtx cmake-utils_src_test
102 + popd > /dev/null || die
103 +}