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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC399158091 for ; Sun, 19 Jun 2022 18:08:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD057E097B; Sun, 19 Jun 2022 18:08:49 +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 pigeon.gentoo.org (Postfix) with ESMTPS id A2968E097B for ; Sun, 19 Jun 2022 18:08:49 +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 9FC48341584 for ; Sun, 19 Jun 2022 18:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DC3B50D for ; Sun, 19 Jun 2022 18:08:47 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1655662118.e80eede66aa90ce3bf36524ef969214212ab7a61.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dbusmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-dbusmock/Manifest dev-python/python-dbusmock/python-dbusmock-0.28.0.ebuild X-VCS-Directories: dev-python/python-dbusmock/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: e80eede66aa90ce3bf36524ef969214212ab7a61 X-VCS-Branch: master Date: Sun, 19 Jun 2022 18:08:47 +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: afb14771-bc39-41c3-9da2-ab2013b1200e X-Archives-Hash: 57b04d74ddb334381082d39a4d3c0fc0 commit: e80eede66aa90ce3bf36524ef969214212ab7a61 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jun 19 17:59:53 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 19 18:08:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80eede6 dev-python/python-dbusmock: add 0.28.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/python-dbusmock/Manifest | 1 + .../python-dbusmock/python-dbusmock-0.28.0.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index 27325f82fb16..2066307b957f 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1 +1,2 @@ DIST python-dbusmock-0.27.5.tar.gz 89775 BLAKE2B 316bb1ae06c894702d54b7a54d0c422a877c50fb7e8aa4a1bb3c9ac342acdec8f6adaafea86afa5aa041414a283fdd284e27b58728efa234fb8bcbbf92b25f27 SHA512 6e5f5eddfc949c610b64a766434988c142397893e088b8522e6895e31383ec3c14d2f053f9aab17f00137e883a01bf95be35326f7ca97ee8c9780d6704e7d1dc +DIST python-dbusmock-0.28.0.gh.tar.gz 85445 BLAKE2B 65038699f11de8fd8c50937023c1da113964ea81f39ba151bddf9cb69021c33f3de67b9fe5f7ac5d0a484f324b705b83d462fd1ffbab642d827ef1a3d82460a4 SHA512 62db0e6e8292f0d6426ec6f13af9aada8175ea5d5e84bf4d3890f0c3897c0ea06295de0625ec6041a86bb688fad28d6da9a1b3310daafeae4e56d7a596a90092 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.0.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.0.ebuild new file mode 100644 index 000000000000..e1c52bc92c15 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.28.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE="https://github.com/martinpitt/python-dbusmock" +SRC_URI=" + https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~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 +}