diff options
Diffstat (limited to 'dev-python/pydbus/pydbus-0.6.0-r1.ebuild')
-rw-r--r-- | dev-python/pydbus/pydbus-0.6.0-r1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/pydbus/pydbus-0.6.0-r1.ebuild b/dev-python/pydbus/pydbus-0.6.0-r1.ebuild new file mode 100644 index 000000000000..deb7400487d8 --- /dev/null +++ b/dev-python/pydbus/pydbus-0.6.0-r1.ebuild @@ -0,0 +1,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" +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 +} |