dev-python/jeepney: Bump to 0.9.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-28 05:16:33 +01:00
parent a3052f5b40
commit 7cd32d0c78
2 changed files with 64 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST jeepney-0.8.0.tar.gz 106005 BLAKE2B 23dbd876915ca364202b6e1888d5b6892c56020a492f9dbdd22c1e04f40c2627bfb90ce209c69be000e176cc6b144b6c2232a21ce1ab089971911ffa2c22cd2c SHA512 823675f262c2c9778ccf9c1083601d936cca534fc0d2d9309b52aa6beeb7f73d225a37c5f18f6b0683c4829a93b1299a2cb4f8f341e55b92bedf58c8dce0aa75
DIST jeepney-0.9.0.tar.gz 106758 BLAKE2B 40a19ffaacbb286e645292592573e04098f0604914e796272720bb6af3f927f048d624f34a3443a2b8ae6de8d92dba2d631f1e4bcdd004ea3cb7affcb2f1b504 SHA512 2d47ba3f8b652abe5b5b5cde5cb66600c2914207a45973e3ca28a0561e61d98827751ff32c6019ef9e2507ee5c2879ef1ef0d732870d208b500f7b52f3c6229c

View File

@@ -0,0 +1,63 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Low-level, pure Python DBus protocol wrapper"
HOMEPAGE="
https://gitlab.com/takluyver/jeepney/
https://pypi.org/project/jeepney/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="examples"
BDEPEND="
test? (
$(python_gen_cond_dep '
dev-python/async-timeout[${PYTHON_USEDEP}]
' 3.10)
>=dev-python/pytest-asyncio-0.7.1[${PYTHON_USEDEP}]
dev-python/testpath[${PYTHON_USEDEP}]
sys-apps/dbus
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme
src_test() {
local dbus_params=(
$(dbus-daemon --session --print-address --fork --print-pid)
)
local -x DBUS_SESSION_BUS_ADDRESS=${dbus_params[0]}
distutils-r1_src_test
kill "${dbus_params[1]}" || die
}
python_test() {
local EPYTEST_IGNORE=()
if ! has_version "dev-python/pytest-trio[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=( jeepney/io/tests/test_trio.py )
fi
epytest
}
python_install_all() {
if use examples; then
docompress -x "/usr/share/doc/${PF}/examples"
dodoc -r examples
fi
distutils-r1_python_install_all
}