You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pydbus/pydbus-0.6.0-r1.ebuild

27 lines
598 B

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Pythonic DBus library"
HOMEPAGE="https://github.com/LEW21/pydbus"
SRC_URI="https://github.com/LEW21/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="amd64 arm64"
SLOT="0"
RDEPEND="
dev-python/pygobject:3[${PYTHON_USEDEP}]
sys-apps/dbus
"
python_test() {
PYTHONPATH="${BUILD_DIR}/install/$(python_get_sitedir)" \
sh tests/run.sh "${PYTHON}" || die
}