1 |
commit: ae7cfa9a7967a8ae7952c76eb4d827a19703cbbe |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 10 18:43:51 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 19:59:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7cfa9a |
7 |
|
8 |
dev-util/umockdev: Version bump to 0.17.10 |
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.10.ebuild | 53 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest |
17 |
index 2a3c86777e57..0a50ce13e851 100644 |
18 |
--- a/dev-util/umockdev/Manifest |
19 |
+++ b/dev-util/umockdev/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
+DIST umockdev-0.17.10.tar.xz 489200 BLAKE2B 9dcdc2564398ecfb92f6ba7f164b1cced6e0cdb20025025a61d69c654fa1f709c42ec543c313b37961d87d567ce7f287daea82141a7365f7804069e74d55b5ac SHA512 9baad9a6b4ee010ad7b5502da5ba69a23dbdd60164fed7227181607ea12d585936616870962e552a358c4043aea532e6757213c13a7caa9c9fd5979c9b6fef1a |
22 |
DIST umockdev-0.17.6.tar.xz 486668 BLAKE2B 973c195b8fccd1c080665b65ffd47f8fe110118de9c541d5dda383e51e4dbcc36f77eeda6af5c774f4570a7b839190130fe95559fb3148e9937dae19dace6331 SHA512 05a86e2a583972d02fb3cfa26b017d44600831b6ed1415769d7cc7344357f484d34228b1593de2cfbfcce302611c0c22f045ee9fbd7fea76d8ae0b4ccd28d6ef |
23 |
DIST umockdev-0.17.7.tar.xz 486964 BLAKE2B f3c4021198c8adea47383f3d0c111f921c35550ca9b70c0711e71799ba89a44031356a687b88cc80aa51b1bf4606cfcf48a1d24d16501b0ea08f805e4e30cf83 SHA512 6fc611787c9679f450ce7cdf7dccb93a5d7435470b0b5f5cb1803036cf3c8ce73521af9e7777bec68485834cddfddba0ed9379a0818bfb072bb643cf6419c17d |
24 |
DIST umockdev-0.17.8.tar.xz 487220 BLAKE2B 6a5cb31462ef5836f6a4329fe0e612dd6bb6f00ecc899cb3d1b093771727361bfbc952c7cf7acb7943b78989cacb1faa2d7a2ee62d9c752ed959ac7b1931333c SHA512 e5e6ba2934e1df9323a4e64ee1fc066ab4abeaf75ad0d7f1f6d387b06315f30877f48664e5992f4b138fe1b76d08860359599249d5b9de516777cf8bdb1b228f |
25 |
|
26 |
diff --git a/dev-util/umockdev/umockdev-0.17.10.ebuild b/dev-util/umockdev/umockdev-0.17.10.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..c1f80ba0b6d7 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/umockdev/umockdev-0.17.10.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=8 |
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_setup |
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 |
+} |