diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-01-11 09:20:41 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-01-11 09:20:50 -0800 |
commit | 2b0bf7dabb3ab6075add6e13ccb940fa846f8d6a (patch) | |
tree | 06270573a0affcf3e4662b61a4fb11656aaac86f | |
parent | x11-misc/bbtime: EAPI=8 bump (diff) | |
download | gentoo-2b0bf7dabb3ab6075add6e13ccb940fa846f8d6a.tar.gz gentoo-2b0bf7dabb3ab6075add6e13ccb940fa846f8d6a.tar.bz2 gentoo-2b0bf7dabb3ab6075add6e13ccb940fa846f8d6a.zip |
dev-util/umockdev: Version bump to 0.17.3
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | dev-util/umockdev/Manifest | 1 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.17.3.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest index 603f2cdf0afb..4841fbe1441c 100644 --- a/dev-util/umockdev/Manifest +++ b/dev-util/umockdev/Manifest @@ -2,3 +2,4 @@ DIST umockdev-0.16.1.tar.xz 478308 BLAKE2B 3d49ca1d9c9b7573ac63f5f7ecd8107104159 DIST umockdev-0.16.2.tar.xz 478388 BLAKE2B 8fb2116ec7d48b238898052d959c596f4f91a65cf7b8292de8b8731e6fe50600282cb56093b8d6ca1afdc082a12c9af3c4a4f443283538ffb2aeae4c2b775596 SHA512 82020c068d5a158a762f865f4b25d1ee8596785a5b379c316c652004e1b1b9c533d4dad87818a490f89983a4c065f34e4ff5ca91360bac6d79b141dfa2139eea DIST umockdev-0.17.1.tar.xz 485480 BLAKE2B 5768d08c3f1cd2334afbf095c7d3f0d9290b92c8b4fbc9ae17f81168ab6320c0e86ef9709d1fee547b624cf084c0a29e1f653d67574a639a65ae71d5950c7f05 SHA512 b747a25cb83c7cf222693818c37fb917e599567a04e69784fae6afa97381cfa630641c2858a6fa156fc1e5f872ae40ea360f9b8e2a20c5adb69fb9eca3852164 DIST umockdev-0.17.2.tar.xz 486076 BLAKE2B ae1df8b07d93290c9f2be267c4aaf795e8e2e0a9fd492fad4cfe46d8929bb020d9482f7769a62d9b3325a361c3ef276b92454026741f0b985e12f283e2a4f7cc SHA512 fcf8c972dfa063922286702eeede8c273b9e78c1b1274a67ec459f64d17373a172400bff27f2fd9baee19af188fbd28c0f5e97b71bd7c8b50886933ad75547f3 +DIST umockdev-0.17.3.tar.xz 486052 BLAKE2B f1a2bf53de0a041abb23558c0ca245f86bf30453bf1f8b211fec3b654984feef3e9d62bca2e3625594538bfc9070e8a02dde81f62b0fb58c77e9b7e2d72961be SHA512 93bd60097541f6821e6d5d2b407b0e59223a9eede0f1e2d44facd3a407599802ea5fad7cc3cc148a8bdb2b2a34c5c4c017346640f10a5f695600f23418a9afc5 diff --git a/dev-util/umockdev/umockdev-0.17.3.ebuild b/dev-util/umockdev/umockdev-0.17.3.ebuild new file mode 100644 index 000000000000..7a53f924c567 --- /dev/null +++ b/dev-util/umockdev/umockdev-0.17.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit meson-multilib python-any-r1 vala + +DESCRIPTION="Mock hardware devices for creating unit tests" +HOMEPAGE="https://github.com/martinpitt/umockdev/" +SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + net-libs/libpcap[${MULTILIB_USEDEP}] + virtual/libudev:=[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}] + >=dev-libs/gobject-introspection-1.32:= +" +DEPEND="${RDEPEND} + test? ( + ${PYTHON_DEPS} + dev-libs/libgudev:=[${MULTILIB_USEDEP}] + ) +" +BDEPEND=" + $(vala_depend) + app-arch/xz-utils + virtual/pkgconfig +" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + vala_src_prepare +} + +multilib_src_configure() { + export VALAC="$(type -P valac-$(vala_best_api_version))" + meson_src_configure +} + +multilib_src_test() { + meson_src_test --no-suite fails-valgrind +} |