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: Wed, 29 Jun 2022 06:19:35
Message-Id: 1656483563.d554c7006a2f24eb89d0ec8612f9ca08b1d5a9b2.mgorny@gentoo
1 commit: d554c7006a2f24eb89d0ec8612f9ca08b1d5a9b2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 05:29:11 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 06:19:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d554c700
7
8 dev-python/python-dbusmock: Bump to 0.28.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.28.1.ebuild | 40 ++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest
17 index 2066307b957f..09435e4f03d0 100644
18 --- a/dev-python/python-dbusmock/Manifest
19 +++ b/dev-python/python-dbusmock/Manifest
20 @@ -1,2 +1,3 @@
21 DIST python-dbusmock-0.27.5.tar.gz 89775 BLAKE2B 316bb1ae06c894702d54b7a54d0c422a877c50fb7e8aa4a1bb3c9ac342acdec8f6adaafea86afa5aa041414a283fdd284e27b58728efa234fb8bcbbf92b25f27 SHA512 6e5f5eddfc949c610b64a766434988c142397893e088b8522e6895e31383ec3c14d2f053f9aab17f00137e883a01bf95be35326f7ca97ee8c9780d6704e7d1dc
22 DIST python-dbusmock-0.28.0.gh.tar.gz 85445 BLAKE2B 65038699f11de8fd8c50937023c1da113964ea81f39ba151bddf9cb69021c33f3de67b9fe5f7ac5d0a484f324b705b83d462fd1ffbab642d827ef1a3d82460a4 SHA512 62db0e6e8292f0d6426ec6f13af9aada8175ea5d5e84bf4d3890f0c3897c0ea06295de0625ec6041a86bb688fad28d6da9a1b3310daafeae4e56d7a596a90092
23 +DIST python-dbusmock-0.28.1.gh.tar.gz 85927 BLAKE2B f513e571f7aa30f19a86eb12439028ef141016d0a2df8684bf92378081ce6f8675c6f2033ab2f2dd27f9687ae3de09e1c36127d3b9468ae5239f17eeff861bfd SHA512 92fafa96f5c3dc216e25092a35a70775f1af257eb6ef3c3df00fa3ea062e1bf366f8c2113604ec1fc480d5586b0c1aeb72ce6d25447752b33591b15f637ca6ef
24
25 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.1.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.1.ebuild
26 new file mode 100644
27 index 000000000000..39f9ae8e9046
28 --- /dev/null
29 +++ b/dev-python/python-dbusmock/python-dbusmock-0.28.1.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +PYTHON_REQ_USE="xml(+)"
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Easily create mock objects on D-Bus for software testing"
43 +HOMEPAGE="
44 + https://github.com/martinpitt/python-dbusmock/
45 + https://pypi.org/project/python-dbusmock/
46 +"
47 +SRC_URI="
48 + https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="LGPL-3+"
53 +SLOT="0"
54 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
55 +
56 +RDEPEND="
57 + dev-python/dbus-python[${PYTHON_USEDEP}]
58 + dev-python/pygobject:3[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_tests unittest
62 +
63 +src_prepare() {
64 + # needed for unittest discovery
65 + > tests/__init__.py || die
66 + # linter tests, fragile to newer linter versions
67 + rm tests/test_code.py || die
68 +
69 + distutils-r1_src_prepare
70 +}