net-im/telepathy-logger: Port to py3

Closes: https://bugs.gentoo.org/735412
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-09-19 12:58:36 +02:00
parent dba1cbc156
commit 77f12c76cd
2 changed files with 11 additions and 3 deletions

View File

@@ -1 +1,2 @@
DIST telepathy-logger-0.8.2-py3.patch 15181 BLAKE2B bebd153a519ee6cd4d7e3e04b4516e6fb53b6efea1d0693133ca5807686e115d08998e9e3ad0d6308d01945a0ac1b66010c3e312346dd238c43be1418574e11e SHA512 98cd5f9af7d4781be30b15c58ca6cd3a131b52dbc5cc38eae3423fc3377a02451782838d9f32575a71dd8d6ce7f46657e17f3dee29059a728bb8988d05c716ea
DIST telepathy-logger-0.8.2.tar.bz2 562670 BLAKE2B 357d717136fe099ee3788bcd004d3eb14e83520c39a8412f4586181e0a1c98ac21be26931759b8f0439ab6f2f9b32aaf6cbf586619ab0fe40ef0f9581b301a29 SHA512 f3eda26133a4c38eeb79b01cbe3b7801a5eb773e8b4e6ce621c47d3ca701025364c6b2b890caea00104f01ba85ae891a6fad82d7a9dc487fd7a980221cede451

View File

@@ -3,13 +3,15 @@
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python2_7 )
PYTHON_COMPAT=( python3_{6..9} )
inherit gnome2 python-any-r1 virtualx
inherit epatch gnome2 python-any-r1 virtualx
DESCRIPTION="Daemon that centralizes the communication logging within the Telepathy framework"
HOMEPAGE="https://telepathy.freedesktop.org/wiki/Logger"
SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.bz2"
SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.bz2
https://gitlab.freedesktop.org/telepathy/telepathy-logger/-/merge_requests/1.patch
-> ${P}-py3.patch"
LICENSE="LGPL-2.1+"
SLOT="0/3"
@@ -34,6 +36,11 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
epatch "${DISTDIR}"/${P}-py3.patch
gnome2_src_prepare
}
src_configure() {
# --enable-debug needed due to https://bugs.freedesktop.org/show_bug.cgi?id=83390
gnome2_src_configure \