blob: b43be7f15cd6a0766d6139a13b0184cb2c36824f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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
}
|