From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F30711582EF for ; Fri, 28 Feb 2025 04:43:03 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DFB6534323E for ; Fri, 28 Feb 2025 04:43:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B467B110477; Fri, 28 Feb 2025 04:42:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A505E110476 for ; Fri, 28 Feb 2025 04:42:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E6C83431AB for ; Fri, 28 Feb 2025 04:42:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEFDE2802 for ; Fri, 28 Feb 2025 04:42:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1740717746.7cd32d0c78da1b3dbc7c6c4284e8f1c1200ea188.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jeepney/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jeepney/Manifest dev-python/jeepney/jeepney-0.9.0.ebuild X-VCS-Directories: dev-python/jeepney/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7cd32d0c78da1b3dbc7c6c4284e8f1c1200ea188 X-VCS-Branch: master Date: Fri, 28 Feb 2025 04:42:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f92825c3-f4ef-4f2c-aea0-2827ce7ae894 X-Archives-Hash: fae1c2123196f64b5e06a38ef8da4da3 commit: 7cd32d0c78da1b3dbc7c6c4284e8f1c1200ea188 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 28 04:16:33 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 28 04:42:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd32d0c dev-python/jeepney: Bump to 0.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/jeepney/Manifest | 1 + dev-python/jeepney/jeepney-0.9.0.ebuild | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/jeepney/Manifest b/dev-python/jeepney/Manifest index 34b02c1c9780..34c298f646b3 100644 --- a/dev-python/jeepney/Manifest +++ b/dev-python/jeepney/Manifest @@ -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 diff --git a/dev-python/jeepney/jeepney-0.9.0.ebuild b/dev-python/jeepney/jeepney-0.9.0.ebuild new file mode 100644 index 000000000000..a52ce8100d00 --- /dev/null +++ b/dev-python/jeepney/jeepney-0.9.0.ebuild @@ -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 +}