commit:     0e871a94f60de4e4891eeef788b0c016387125cd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 29 06:22:33 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 29 06:57:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e871a94

dev-python/python-dbusmock: Bump to 0.24.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-dbusmock/Manifest                |  1 +
 .../python-dbusmock/python-dbusmock-0.24.0.ebuild  | 33 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/python-dbusmock/Manifest 
b/dev-python/python-dbusmock/Manifest
index 92ec5980bae..ddf74e0d193 100644
--- a/dev-python/python-dbusmock/Manifest
+++ b/dev-python/python-dbusmock/Manifest
@@ -1 +1,2 @@
 DIST python-dbusmock-0.23.1.tar.gz 79964 BLAKE2B 
60140997f7a9c196d4c38100a975550d6a4745344fde9084ca5a56881035c09cfd56387897a7e409e35aecbc759f01b8f4953b8a5cdda4bfbe70d80cd01b8332
 SHA512 
933205c770f82aef623e571d9d806b6d639467c977ca326718ff475f41e309ef25e9a8f1cd8439e181edbafeb6513af7b73dfb938b3abfc7d5f63b6b5ffa9fc9
+DIST python-dbusmock-0.24.0.tar.gz 81907 BLAKE2B 
5fc8653228d9278c74e623d385c798ba078da5d8309a95e88a893d3ceb1736568f93196defcde1845bfee193ec2e7abb4197a663f612dfe4ff58ac9c0bb189e3
 SHA512 
531c2d427da28098d7dac91cd5be1c38be15dfc9495314a150523e56c10ffda846667dfda39cc47c8278ad41800fe39d6608f24da44ff2ae7d53f0413826d96c

diff --git a/dev-python/python-dbusmock/python-dbusmock-0.24.0.ebuild 
b/dev-python/python-dbusmock/python-dbusmock-0.24.0.ebuild
new file mode 100644
index 00000000000..aa54623eb20
--- /dev/null
+++ b/dev-python/python-dbusmock/python-dbusmock-0.24.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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";
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~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
+}

Reply via email to