1 |
commit: 170a2129fdf36880a4a1325df1015190e1ac99ae |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 10 21:21:49 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 10 21:30:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170a2129 |
7 |
|
8 |
dev-util/umockdev: Version bump to 0.17.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-util/umockdev/Manifest | 1 + |
13 |
dev-util/umockdev/umockdev-0.17.2.ebuild | 53 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest |
17 |
index ff67ebeda92e..603f2cdf0afb 100644 |
18 |
--- a/dev-util/umockdev/Manifest |
19 |
+++ b/dev-util/umockdev/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST umockdev-0.16.1.tar.xz 478308 BLAKE2B 3d49ca1d9c9b7573ac63f5f7ecd81071041597732b507619c333379095434ac55eb26f16bdf5897b94bbeb5c307a34b703accd220cd6202482e172dd3a6d1983 SHA512 baeaf05cc6b8d8e2a5cae16b808db759a18a969cea0f2ceed5f6c2521edc0c4c07dc16265a4821051de51f4314fd39d63ebf2da124fcd3e103ec743dadfedaa8 |
22 |
DIST umockdev-0.16.2.tar.xz 478388 BLAKE2B 8fb2116ec7d48b238898052d959c596f4f91a65cf7b8292de8b8731e6fe50600282cb56093b8d6ca1afdc082a12c9af3c4a4f443283538ffb2aeae4c2b775596 SHA512 82020c068d5a158a762f865f4b25d1ee8596785a5b379c316c652004e1b1b9c533d4dad87818a490f89983a4c065f34e4ff5ca91360bac6d79b141dfa2139eea |
23 |
DIST umockdev-0.17.1.tar.xz 485480 BLAKE2B 5768d08c3f1cd2334afbf095c7d3f0d9290b92c8b4fbc9ae17f81168ab6320c0e86ef9709d1fee547b624cf084c0a29e1f653d67574a639a65ae71d5950c7f05 SHA512 b747a25cb83c7cf222693818c37fb917e599567a04e69784fae6afa97381cfa630641c2858a6fa156fc1e5f872ae40ea360f9b8e2a20c5adb69fb9eca3852164 |
24 |
+DIST umockdev-0.17.2.tar.xz 486076 BLAKE2B ae1df8b07d93290c9f2be267c4aaf795e8e2e0a9fd492fad4cfe46d8929bb020d9482f7769a62d9b3325a361c3ef276b92454026741f0b985e12f283e2a4f7cc SHA512 fcf8c972dfa063922286702eeede8c273b9e78c1b1274a67ec459f64d17373a172400bff27f2fd9baee19af188fbd28c0f5e97b71bd7c8b50886933ad75547f3 |
25 |
|
26 |
diff --git a/dev-util/umockdev/umockdev-0.17.2.ebuild b/dev-util/umockdev/umockdev-0.17.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7a53f924c567 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/umockdev/umockdev-0.17.2.ebuild |
31 |
@@ -0,0 +1,53 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit meson-multilib python-any-r1 vala |
39 |
+ |
40 |
+DESCRIPTION="Mock hardware devices for creating unit tests" |
41 |
+HOMEPAGE="https://github.com/martinpitt/umockdev/" |
42 |
+SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="LGPL-2.1+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ net-libs/libpcap[${MULTILIB_USEDEP}] |
52 |
+ virtual/libudev:=[${MULTILIB_USEDEP}] |
53 |
+ >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}] |
54 |
+ >=dev-libs/gobject-introspection-1.32:= |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ test? ( |
58 |
+ ${PYTHON_DEPS} |
59 |
+ dev-libs/libgudev:=[${MULTILIB_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ $(vala_depend) |
64 |
+ app-arch/xz-utils |
65 |
+ virtual/pkgconfig |
66 |
+" |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ use test && python-any-r1_pkg_setup |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ vala_src_prepare |
75 |
+} |
76 |
+ |
77 |
+multilib_src_configure() { |
78 |
+ export VALAC="$(type -P valac-$(vala_best_api_version))" |
79 |
+ meson_src_configure |
80 |
+} |
81 |
+ |
82 |
+multilib_src_test() { |
83 |
+ meson_src_test --no-suite fails-valgrind |
84 |
+} |