dev-python/dasbus - 1.7 (wayland-desktop)

Search

Install

Install this version:

emerge -a =dev-python/dasbus-1.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/dasbus-1.7

Or alternatively:

emerge --autounmask-write -a =dev-python/dasbus-1.7

Package Information

Description:
DBus library in Python 3.
Homepage:
https://github.com/rhinstaller/dasbus
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.7 8 ~amd64 0
View Raw Ebuild
# Copyright 2022 Aisha Tammy <floss@bsd.ac>
# Distributed under the terms of the ISC License

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )

inherit distutils-r1

DESCRIPTION="DBus library in Python 3."
HOMEPAGE="https://github.com/rhinstaller/dasbus"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/rhinstaller/dasbus.git"
else
	inherit pypi
	KEYWORDS="~amd64"
fi

LICENSE="LGPL-2.1"

SLOT="0"
DEPEND="
	$(python_gen_cond_dep '
		dev-python/pygobject:3=[${PYTHON_USEDEP}]
	')
"
RDEPEND="${DEPEND}
	sys-apps/dbus
	test? ( $(python_gen_cond_dep '
		dev-python/unittest-or-fail[${PYTHON_USEDEP}]
		') )
"

distutils_enable_tests pytest

Inherited Eclasses

Dependencies

DEPEND

	$(python_gen_cond_dep '
		dev-python/pygobject:3=[${PYTHON_USEDEP}]
	')

RDEPEND

${DEPEND}
	sys-apps/dbus
	test? ( $(python_gen_cond_dep '
		dev-python/unittest-or-fail[${PYTHON_USEDEP}]
		') )