1 |
commit: e56eb519356d738aea59bf671894ed3181a88c9e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 5 07:02:24 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 5 07:52:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56eb519 |
7 |
|
8 |
dev-python/python-dbusmock: Bump to 0.27.5 |
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.27.5.ebuild | 36 ++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest |
17 |
index fa11aad80ab4..dffc6b84c0b8 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.26.1.tar.gz 87707 BLAKE2B 9f4761ab5f227e78dd5343f3ddd4b83d0494e77d3b381f719890447998baab8096b3bf817259b080dda78619f8407ad532044cb60aaf7a5280459f423754df0f SHA512 dcb46f6dbd17471e2135c0d8fb63cbaecbc9445ae7bf74691abb03b93d5283ab41ea71071ece03870aaac19eaedd546f01c0839116421047f1ac77619f2c73f3 |
22 |
DIST python-dbusmock-0.27.0.tar.gz 89469 BLAKE2B b6fcdb5ded2b4f50d4c3edafecf028df57c3aae6e2a1e87d78c41f879f495d06ab097be0996b7b1781aebd4235a5ce7c6b58f48f5c74e2d4c2b49a3439ce9cae SHA512 4f3a7326b27d7b86d9a77019c419209077021a88994b8e5ae302686fcaa8b7c7736644ab26d9e3b5a2157634eb56a0b2dbe304a092d93104c94a13a43d53b5a1 |
23 |
+DIST python-dbusmock-0.27.5.tar.gz 89775 BLAKE2B 316bb1ae06c894702d54b7a54d0c422a877c50fb7e8aa4a1bb3c9ac342acdec8f6adaafea86afa5aa041414a283fdd284e27b58728efa234fb8bcbbf92b25f27 SHA512 6e5f5eddfc949c610b64a766434988c142397893e088b8522e6895e31383ec3c14d2f053f9aab17f00137e883a01bf95be35326f7ca97ee8c9780d6704e7d1dc |
24 |
|
25 |
diff --git a/dev-python/python-dbusmock/python-dbusmock-0.27.5.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.27.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..4b29c538cdd6 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/python-dbusmock/python-dbusmock-0.27.5.ebuild |
30 |
@@ -0,0 +1,36 @@ |
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..10} ) |
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="https://github.com/martinpitt/python-dbusmock" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz |
46 |
+" |
47 |
+ |
48 |
+LICENSE="LGPL-3+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
54 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests unittest |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ # needed for unittest discovery |
61 |
+ > tests/__init__.py || die |
62 |
+ # linter tests, fragile to newer linter versions |
63 |
+ rm tests/test_code.py || die |
64 |
+ |
65 |
+ distutils-r1_src_prepare |
66 |
+} |