1 |
commit: 600e33d66bc80bfdc9f55dfae027f5c8a6d94ef9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 04:15:51 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 06:16:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=600e33d6 |
7 |
|
8 |
net-voip/telepathy-rakia: Port to py3 / any-r1 |
9 |
|
10 |
Backport a py3 compat patch and correct the package to use python-any-r1 |
11 |
as it does not seem to install anything Python. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/735434 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
net-voip/telepathy-rakia/Manifest | 1 + |
17 |
...0.8.0.ebuild => telepathy-rakia-0.8.0-r1.ebuild} | 21 ++++++++++++--------- |
18 |
2 files changed, 13 insertions(+), 9 deletions(-) |
19 |
|
20 |
diff --git a/net-voip/telepathy-rakia/Manifest b/net-voip/telepathy-rakia/Manifest |
21 |
index ac9c3d861c6..ca1cb26dff4 100644 |
22 |
--- a/net-voip/telepathy-rakia/Manifest |
23 |
+++ b/net-voip/telepathy-rakia/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
+DIST telepathy-rakia-0.8.0-py3.patch 4472 BLAKE2B 6eb45f91f351ba6ee0afa16022921efaa764168acf9a0891b57cba4ab90c5f2f3f58c7704ecc7224d9aa1a9559a6be7b96cb8ab3c5382552fe2d640ecfd94ab5 SHA512 cf76d730001da55e1bececbfab9810c83643c6b4cabc6c92c106fafae8a64d75b2eaa455599d70a0e40f13ea6d293f0621948e3a3d047d4002ce3b08b58858f0 |
26 |
DIST telepathy-rakia-0.8.0.tar.gz 659116 BLAKE2B b940d28828220f83c3408aeb9effc26f17d62729f01073539ca4381604bc762b411064d6de92a557ff0f7a8a1920799163f6ede2dba6cfec01967145501a1da2 SHA512 5378e1a2909c4218cc9c6fecf0b01beff0b52fd40cc040a601090dbaae330b3506fc74dc5ae86e5f0c954dd3c41fd7ba4e5a294f8fc11d74aa6eb9025097e9ae |
27 |
|
28 |
diff --git a/net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild b/net-voip/telepathy-rakia/telepathy-rakia-0.8.0-r1.ebuild |
29 |
similarity index 78% |
30 |
rename from net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild |
31 |
rename to net-voip/telepathy-rakia/telepathy-rakia-0.8.0-r1.ebuild |
32 |
index 93507fcb941..e6a644508e3 100644 |
33 |
--- a/net-voip/telepathy-rakia/telepathy-rakia-0.8.0.ebuild |
34 |
+++ b/net-voip/telepathy-rakia/telepathy-rakia-0.8.0-r1.ebuild |
35 |
@@ -1,25 +1,24 @@ |
36 |
# Copyright 1999-2019 Gentoo Authors |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
|
39 |
-EAPI=5 |
40 |
+EAPI=7 |
41 |
|
42 |
-PYTHON_COMPAT=( python2_7 ) |
43 |
+PYTHON_COMPAT=( python3_{6..9} ) |
44 |
|
45 |
-inherit python-single-r1 |
46 |
+inherit python-any-r1 |
47 |
|
48 |
DESCRIPTION="A SIP connection manager for Telepathy based around the Sofia-SIP library" |
49 |
HOMEPAGE="https://telepathy.freedesktop.org/" |
50 |
-SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" |
51 |
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz |
52 |
+ https://patch-diff.githubusercontent.com/raw/TelepathyIM/telepathy-rakia/pull/1.patch |
53 |
+ -> ${P}-py3.patch" |
54 |
|
55 |
LICENSE="LGPL-2.1" |
56 |
SLOT="0" |
57 |
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux" |
58 |
-IUSE="test" |
59 |
-RESTRICT="!test? ( test )" |
60 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
61 |
+RESTRICT="test" |
62 |
|
63 |
COMMON_DEPEND=" |
64 |
- ${PYTHON_DEPS} |
65 |
>=dev-libs/dbus-glib-0.60 |
66 |
>=dev-libs/glib-2.30:2 |
67 |
>=net-libs/sofia-sip-1.12.11 |
68 |
@@ -31,11 +30,15 @@ RDEPEND="${COMMON_DEPEND} |
69 |
" |
70 |
# telepathy-rakia was formerly known as telepathy-sofiasip |
71 |
DEPEND="${COMMON_DEPEND} |
72 |
+ ${PYTHON_DEPS} |
73 |
dev-libs/libxslt |
74 |
- test? ( dev-python/twisted-core ) |
75 |
" |
76 |
# eautoreconf requires: gtk-doc-am |
77 |
|
78 |
+PATCHES=( |
79 |
+ "${DISTDIR}"/${P}-py3.patch |
80 |
+) |
81 |
+ |
82 |
src_configure() { |
83 |
econf --disable-fatal-warnings |
84 |
} |