diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-05 00:00:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-05 00:00:45 +0100 |
commit | b594445f39d99066071d80fc8efeba5c8f72cc35 (patch) | |
tree | 9bf469821b12ac103807e30a6f7751d955648125 /dev-util/umockdev | |
parent | 7f3fecbb5b871825fe9632f46659869cab6a3769 (diff) |
gentoo auto-resync : 05:05:2024 - 00:00:45
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r-- | dev-util/umockdev/Manifest | 2 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.18.1.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest index 7867d0912688..c0889117871b 100644 --- a/dev-util/umockdev/Manifest +++ b/dev-util/umockdev/Manifest @@ -1,5 +1,7 @@ AUX umockdev-0.17.18-vala-unused-variable-werror.patch 934 BLAKE2B 32545fd1a895988316d1ca4de83d0a3a3cdbf4f78cc6a2803e8ecfa80a1ca1027b4c258dbef4110eaf147205093a2793e51ba3f7dd83db01ad6f33c86b37674e SHA512 dece48a56dad053877935f315a2646e04717e31868947906d2608f23877eb0a0002592fa25085190b288911a5a3ca365f4a9f2ca01944fe1583dbacca326706f DIST umockdev-0.17.18.tar.xz 491668 BLAKE2B 106efc5674475383abb7618f087b3536441ae1fa30d6a92b689c1119ff62e06a20a6a529968f2b978f8ed410fc2033c95b86e214d4d4a576cdb9e68ee09a1853 SHA512 3d8d2487b4350e4ce28a5c163cbb1b92da9f5a5317e74da46ccaa62a6b8e938a6758e241d0dd2e9f50fdee4aef24d36585a24cfec1ad99fb4799a01008d9987b +DIST umockdev-0.18.1.tar.xz 493816 BLAKE2B 314969269e8e5b70b65c89345b659cf2784eb71cfd2c010e8043cc38b6965dce0dcadac6ffab266f4b926e46bb0939d6c159ee17fbf341eed7a11f932a80a2ad SHA512 4897c12fca8d1927a2840efbbd8281a95102b328cc682ffed10cd4e29b80f26b80df55fbd3736297ee4633561b007beda369bd3ddf07eb71bdd1d7c0222243c8 EBUILD umockdev-0.17.18.ebuild 1333 BLAKE2B e8316b02535d509acd80dadd2a512f0727b587d80c2a55d301727d443b368068ea30aece776bce93c40197624cf170202f0601e3a8b00df89afba8094f4476a7 SHA512 a6daabeef6feac94a93da3bab18aaf2dca8306d37b89cf2f7db90c96cee738330e32736c91242d6ff7134404359071ffd871b10d19adc3049ba349358d58b65a +EBUILD umockdev-0.18.1.ebuild 1264 BLAKE2B 3a7c7b5b81d93b61735354d3923a7744ee73ddb157409e6fddd47bcadc4e3f8b7f637e859cf7a3a52e091d8880f3a66d56135bc75e83d7d1f7aff416cd481e37 SHA512 53b7d1c53fcc69ebe15fb10870642ecf6dae94cc2f24cf418e61240689f51b3c9408a10f3ab5701a59988d05ce50ad49fdfa7a1de8d3ae61605095148e85977d EBUILD umockdev-9999.ebuild 1264 BLAKE2B f96be590ccd04044dc309bda77bf6b9317d0d138f3804a9510da15ed4ff411140089db6f25bac348ebbfd4d39167cdec852fcb2cc141e3a2a45dfcbc004afb8a SHA512 f19784777d10975841e18d8f4961d92f4bb15f63c61cd462ceb1b5bd51c84dd2843fb441b40bcaf6ed45c6d19b6658bed83fe8e90002bb34dc1a785c9ce3e4c6 MISC metadata.xml 389 BLAKE2B 83313795741d7a5ece22e39de4d8b138c484a7f298f64d7e87bf44a9c04b6733c80f407ca15eb2b4bd71205eaa51b6b814227f4df730ba77e3b54a27735e7484 SHA512 6aff7de0eb974f8ddc4a7190b06b8e3ad406a410f618935cb0b757fa2bc22b6a33ecf33510ae9fc2d4a03f676905faa5561d030fb5e5065f8dc3e7320820cda1 diff --git a/dev-util/umockdev/umockdev-0.18.1.ebuild b/dev-util/umockdev/umockdev-0.18.1.ebuild new file mode 100644 index 000000000000..d6f2d4357dec --- /dev/null +++ b/dev-util/umockdev/umockdev-0.18.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson-multilib python-any-r1 vala + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/martinpitt/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Mock hardware devices for creating unit tests" +HOMEPAGE="https://github.com/martinpitt/umockdev/" + +LICENSE="LGPL-2.1+" +SLOT="0" +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_setup +} + +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 +} |