summaryrefslogtreecommitdiff
path: root/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild')
-rw-r--r--net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild18
1 files changed, 7 insertions, 11 deletions
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
index 17ee7b2353b9..10a65d6831c3 100644
--- a/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
+++ b/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild
@@ -1,34 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_7 )
-
-inherit python-r1
+PYTHON_COMPAT=( python3_{7..9} )
+inherit python-single-r1
GIT_COMMIT="3a9e2882ac5c0ad6be3c5cb5c7da008b4cfa51da"
DESCRIPTION="Mocked systemd dbus interface for skype 8.30+"
HOMEPAGE="https://github.com/maelnor/skype-dbus-mock"
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
SRC_URI="https://github.com/maelnor/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/dbus-python[${PYTHON_USEDEP}]')
>=net-im/skypeforlinux-8.30
- dev-python/dbus-python[${PYTHON_USEDEP}]
!sys-apps/systemd
!sys-auth/elogind"
-S=${WORKDIR}/${PN}-${GIT_COMMIT}
-
src_install() {
- newbin skype-dbus-mock.py skype-dbus-mock
+ python_doscript skype-dbus-mock.py
insinto /usr/share/dbus-1/system-services
doins org.freedesktop.login1.service
insinto /usr/share/dbus-1/system.d