1 |
commit: bcdb7a889b1fb50eec9926137df79e614faf6be2 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 16:58:27 2023 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 17:08:00 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcdb7a88 |
7 |
|
8 |
dev-util/umockdev: Version bump to 0.17.16 |
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.16.ebuild | 59 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest |
17 |
index 22b3a230131c..22255d692f1a 100644 |
18 |
--- a/dev-util/umockdev/Manifest |
19 |
+++ b/dev-util/umockdev/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST umockdev-0.17.15.tar.xz 491152 BLAKE2B 40334a0279e81e1af3eb01acafd85c638e8a04af20e4c5b6b64229d89ffcfa231d6ef9e760d24e0cb957fe654252d18dca8579490e52a4c05769163f8a33ac96 SHA512 722339ae0726b00a4ee5fa428f063c5b59f0bad14a8fe24d97276a55dc66c569289c62c4ee5ebdb75a62339444a35468c8c1a33759d76fdf022a1eb4905c0465 |
22 |
+DIST umockdev-0.17.16.tar.xz 491208 BLAKE2B d653e489285437e1111d8841b3628dc3734e799274e9d334b9200c425d8654a18050e9bab7e290dc12ab12f286a4f492219423d1905965a870d843a1809e9ceb SHA512 5d4a094481510f4466e49766512d0959a5a9d9f5a9b7cbd7719bc94e95d9800760482bf3ea2ee97d2138c89680adb4116964688ae13a07e3c1f0ba8e94230584 |
23 |
|
24 |
diff --git a/dev-util/umockdev/umockdev-0.17.16.ebuild b/dev-util/umockdev/umockdev-0.17.16.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..b562b894a04d |
27 |
--- /dev/null |
28 |
+++ b/dev-util/umockdev/umockdev-0.17.16.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+PYTHON_COMPAT=( python3_{9..11} ) |
35 |
+ |
36 |
+inherit meson-multilib python-any-r1 vala |
37 |
+ |
38 |
+if [[ ${PV} = 9999* ]]; then |
39 |
+ EGIT_REPO_URI="https://github.com/martinpitt/${PN}.git" |
40 |
+ inherit git-r3 |
41 |
+else |
42 |
+ SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz" |
43 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="Mock hardware devices for creating unit tests" |
47 |
+HOMEPAGE="https://github.com/martinpitt/umockdev/" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1+" |
50 |
+SLOT="0" |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ net-libs/libpcap[${MULTILIB_USEDEP}] |
56 |
+ virtual/libudev:=[${MULTILIB_USEDEP}] |
57 |
+ >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}] |
58 |
+ >=dev-libs/gobject-introspection-1.32:= |
59 |
+" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ test? ( |
62 |
+ ${PYTHON_DEPS} |
63 |
+ dev-libs/libgudev:=[${MULTILIB_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+BDEPEND=" |
67 |
+ $(vala_depend) |
68 |
+ app-arch/xz-utils |
69 |
+ virtual/pkgconfig |
70 |
+" |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ use test && python-any-r1_pkg_setup |
74 |
+} |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ default |
78 |
+ vala_setup |
79 |
+} |
80 |
+ |
81 |
+multilib_src_configure() { |
82 |
+ export VALAC="$(type -P valac-$(vala_best_api_version))" |
83 |
+ meson_src_configure |
84 |
+} |
85 |
+ |
86 |
+multilib_src_test() { |
87 |
+ meson_src_test --no-suite fails-valgrind |
88 |
+} |