1 |
commit: 7f956fbcb30c6e9ecad8456435c9a851397a1966 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 25 23:00:59 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 25 23:16:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f956fbc |
7 |
|
8 |
dev-python/python-dbusmock: Bump to 0.26.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.26.1.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 b63d7afa4836..d36ecacb5a0b 100644 |
18 |
--- a/dev-python/python-dbusmock/Manifest |
19 |
+++ b/dev-python/python-dbusmock/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-dbusmock-0.25.0.tar.gz 86674 BLAKE2B 9a9f5aefece0f48725f8a453d298fde78e86c86901f5dd3c67032be41cbc52753b8b0da8e8ba3845772e68ba6dcf0938af405f961fc5425808017dd8b30e1419 SHA512 5d7c2f4ea75c7a0f2c6bf63b673c180f3a468239082e0248778441d8f07b78fa3786c1d37498f758954a4727bdb24dc83ffc0671bfc4b2956402aee52c363045 |
22 |
+DIST python-dbusmock-0.26.1.tar.gz 87707 BLAKE2B 9f4761ab5f227e78dd5343f3ddd4b83d0494e77d3b381f719890447998baab8096b3bf817259b080dda78619f8407ad532044cb60aaf7a5280459f423754df0f SHA512 dcb46f6dbd17471e2135c0d8fb63cbaecbc9445ae7bf74691abb03b93d5283ab41ea71071ece03870aaac19eaedd546f01c0839116421047f1ac77619f2c73f3 |
23 |
|
24 |
diff --git a/dev-python/python-dbusmock/python-dbusmock-0.26.1.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.26.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4b29c538cdd6 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-dbusmock/python-dbusmock-0.26.1.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+PYTHON_REQ_USE="xml(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Easily create mock objects on D-Bus for software testing" |
42 |
+HOMEPAGE="https://github.com/martinpitt/python-dbusmock" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz |
45 |
+" |
46 |
+ |
47 |
+LICENSE="LGPL-3+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
53 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+ |
56 |
+distutils_enable_tests unittest |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ # needed for unittest discovery |
60 |
+ > tests/__init__.py || die |
61 |
+ # linter tests, fragile to newer linter versions |
62 |
+ rm tests/test_code.py || die |
63 |
+ |
64 |
+ distutils-r1_src_prepare |
65 |
+} |