From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1CC401382C5 for ; Tue, 15 Jun 2021 08:36:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 657ACE0849; Tue, 15 Jun 2021 08:36:09 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 495B7E0849 for ; Tue, 15 Jun 2021 08:36:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2AFF4335D29 for ; Tue, 15 Jun 2021 08:36:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9E4978A for ; Tue, 15 Jun 2021 08:36:06 +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: <1623746045.b9ecfa0996eed58ec53531b9e029f4aa28071d50.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbusmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dbusmock/Manifest dev-python/dbusmock/dbusmock-0.23.1.ebuild X-VCS-Directories: dev-python/dbusmock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b9ecfa0996eed58ec53531b9e029f4aa28071d50 X-VCS-Branch: master Date: Tue, 15 Jun 2021 08:36:06 +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: 673dfed4-61d5-4af4-92ad-1eaf17e28e39 X-Archives-Hash: e1c011257cd1c2752c9745f03e972ddb commit: b9ecfa0996eed58ec53531b9e029f4aa28071d50 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 15 08:34:05 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 15 08:34:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ecfa09 dev-python/dbusmock: Bump to 0.23.1 Signed-off-by: Michał Górny gentoo.org> dev-python/dbusmock/Manifest | 1 + dev-python/dbusmock/dbusmock-0.23.1.ebuild | 36 ++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/dbusmock/Manifest b/dev-python/dbusmock/Manifest index 6e1d7c44eca..f56441c1e18 100644 --- a/dev-python/dbusmock/Manifest +++ b/dev-python/dbusmock/Manifest @@ -1 +1,2 @@ DIST python-dbusmock-0.23.0.tar.gz 79928 BLAKE2B a004bbc93cd4dd3ab5919e28bde18e7b015546e43b789826010ccfd2000075babf933bc53b72bc4369458ac6c37845b534b0e36e594afc4bfd298d9ac37495c7 SHA512 b464c376b1489bc2a9967d08fd1e4e8943e372f46eef46d1cebf316f4afd1f2bf55d02abc3b82b7052c685fe1ff9ba22734a58aa75945706a26ae9d71e5d807e +DIST python-dbusmock-0.23.1.tar.gz 79964 BLAKE2B 60140997f7a9c196d4c38100a975550d6a4745344fde9084ca5a56881035c09cfd56387897a7e409e35aecbc759f01b8f4953b8a5cdda4bfbe70d80cd01b8332 SHA512 933205c770f82aef623e571d9d806b6d639467c977ca326718ff475f41e309ef25e9a8f1cd8439e181edbafeb6513af7b73dfb938b3abfc7d5f63b6b5ffa9fc9 diff --git a/dev-python/dbusmock/dbusmock-0.23.1.ebuild b/dev-python/dbusmock/dbusmock-0.23.1.ebuild new file mode 100644 index 00000000000..e0fb9905254 --- /dev/null +++ b/dev-python/dbusmock/dbusmock-0.23.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +MY_PN="python-${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE="https://github.com/martinpitt/python-dbusmock" +SRC_URI="https://github.com/martinpitt/${MY_PN}/releases/download/${PV}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest + +src_prepare() { + # needed for unittest discovery + > tests/__init__.py || die + # linter tests, fragile to newer linter versions + rm tests/test_code.py || die + + distutils-r1_src_prepare +}