Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dbusmock/
Date: Thu, 28 Oct 2021 07:00:51
Message-Id: 1635404435.26266668de868db50898acc9d8dd81cd01b79d8e.mgorny@gentoo
1 commit: 26266668de868db50898acc9d8dd81cd01b79d8e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 28 06:38:31 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 28 07:00:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26266668
7
8 dev-python/python-dbusmock: Bump to 0.24.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-dbusmock/Manifest | 1 +
13 .../python-dbusmock/python-dbusmock-0.24.1.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest
17 index bce430d03a0..e730a536e22 100644
18 --- a/dev-python/python-dbusmock/Manifest
19 +++ b/dev-python/python-dbusmock/Manifest
20 @@ -1 +1,2 @@
21 DIST python-dbusmock-0.24.0.tar.gz 81907 BLAKE2B 5fc8653228d9278c74e623d385c798ba078da5d8309a95e88a893d3ceb1736568f93196defcde1845bfee193ec2e7abb4197a663f612dfe4ff58ac9c0bb189e3 SHA512 531c2d427da28098d7dac91cd5be1c38be15dfc9495314a150523e56c10ffda846667dfda39cc47c8278ad41800fe39d6608f24da44ff2ae7d53f0413826d96c
22 +DIST python-dbusmock-0.24.1.tar.gz 85781 BLAKE2B 2364ace9354cf626354aca5ada8b6fffe08dc742ffcf9f734c7214d5b0e982cfefdf238063e6b077cb1da832e758eb4eee74c00200f11927117c2faf9c72785a SHA512 705c974be203ae9104a703146e40420c59342ec1a6f3804e1d8e81c13401e95f5850ecc6e2b6e16bda4c9cc9f6ab0f82b5c829f4af947ff7d337ab8e63534596
23
24 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.24.1.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.24.1.ebuild
25 new file mode 100644
26 index 00000000000..aa54623eb20
27 --- /dev/null
28 +++ b/dev-python/python-dbusmock/python-dbusmock-0.24.1.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +PYTHON_REQ_USE="xml(+)"
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Easily create mock objects on D-Bus for software testing"
41 +HOMEPAGE="https://github.com/martinpitt/python-dbusmock"
42 +SRC_URI="
43 + https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz"
44 +
45 +LICENSE="LGPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
48 +
49 +RDEPEND="
50 + dev-python/dbus-python[${PYTHON_USEDEP}]
51 + dev-python/pygobject:3[${PYTHON_USEDEP}]"
52 +
53 +distutils_enable_tests unittest
54 +
55 +src_prepare() {
56 + # needed for unittest discovery
57 + > tests/__init__.py || die
58 + # linter tests, fragile to newer linter versions
59 + rm tests/test_code.py || die
60 +
61 + distutils-r1_src_prepare
62 +}