Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skype-dbus-mock/
Date: Fri, 26 Feb 2021 14:26:38
Message-Id: 1614349561.c6a793205dfbea09aecd0680ba13592232c4fb20.sam@gentoo
1 commit: c6a793205dfbea09aecd0680ba13592232c4fb20
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Thu Feb 25 17:57:19 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 26 14:26:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a79320
7
8 net-im/skype-dbus-mock: Port to python 3.{8,9}
9
10 * Fix incorrect python-r1 usage
11
12 Closes: https://bugs.gentoo.org/710246
13
14 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 net-im/skype-dbus-mock/metadata.xml | 2 +-
18 .../skype-dbus-mock-0_pre20181011.ebuild | 18 +++++++-----------
19 2 files changed, 8 insertions(+), 12 deletions(-)
20
21 diff --git a/net-im/skype-dbus-mock/metadata.xml b/net-im/skype-dbus-mock/metadata.xml
22 index 1b2becffa26..7a38bb90096 100644
23 --- a/net-im/skype-dbus-mock/metadata.xml
24 +++ b/net-im/skype-dbus-mock/metadata.xml
25 @@ -1,5 +1,5 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <!-- maintainer-needed -->
30 + <!-- maintainer-needed -->
31 </pkgmetadata>
32
33 diff --git a/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild b/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
34 index 17ee7b2353b..10a65d6831c 100644
35 --- a/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
36 +++ b/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
37 @@ -1,34 +1,30 @@
38 -# Copyright 1999-2020 Gentoo Authors
39 +# Copyright 1999-2021 Gentoo Authors
40 # Distributed under the terms of the GNU General Public License v2
41
42 EAPI=7
43
44 -PYTHON_COMPAT=( python3_7 )
45 -
46 -inherit python-r1
47 +PYTHON_COMPAT=( python3_{7..9} )
48 +inherit python-single-r1
49
50 GIT_COMMIT="3a9e2882ac5c0ad6be3c5cb5c7da008b4cfa51da"
51 DESCRIPTION="Mocked systemd dbus interface for skype 8.30+"
52 HOMEPAGE="https://github.com/maelnor/skype-dbus-mock"
53 +S="${WORKDIR}/${PN}-${GIT_COMMIT}"
54 SRC_URI="https://github.com/maelnor/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
55
56 LICENSE="MIT"
57 SLOT="0"
58 KEYWORDS="~amd64"
59 -IUSE=""
60 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
61
62 -DEPEND="${PYTHON_DEPS}"
63 -RDEPEND="${DEPEND}
64 +RDEPEND="${PYTHON_DEPS}
65 + $(python_gen_cond_dep 'dev-python/dbus-python[${PYTHON_USEDEP}]')
66 >=net-im/skypeforlinux-8.30
67 - dev-python/dbus-python[${PYTHON_USEDEP}]
68 !sys-apps/systemd
69 !sys-auth/elogind"
70
71 -S=${WORKDIR}/${PN}-${GIT_COMMIT}
72 -
73 src_install() {
74 - newbin skype-dbus-mock.py skype-dbus-mock
75 + python_doscript skype-dbus-mock.py
76 insinto /usr/share/dbus-1/system-services
77 doins org.freedesktop.login1.service
78 insinto /usr/share/dbus-1/system.d