summaryrefslogtreecommitdiff
path: root/dev-util/umockdev
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r--dev-util/umockdev/Manifest8
-rw-r--r--dev-util/umockdev/umockdev-0.17.18.ebuild2
-rw-r--r--dev-util/umockdev/umockdev-0.18.1.ebuild2
-rw-r--r--dev-util/umockdev/umockdev-0.18.3.ebuild62
-rw-r--r--dev-util/umockdev/umockdev-9999.ebuild9
5 files changed, 75 insertions, 8 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index c0889117871b..5152eb12ac68 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,7 +1,9 @@
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
+DIST umockdev-0.18.3.tar.xz 493724 BLAKE2B 989391474b7204a228a323244b75dc81992c69cd79a499ea701344311a890383eb6d589769df2006727c371757e4bf807831b9ccabde0fcbfd1b99054042fdc6 SHA512 565fedc4367b7896ac4fd9cee19d704d1f3f8b382c31069ceef81d0a0e8f3a38b775f28bd7a3652a7bb9c5cb62dd1f616ea81d7fc2ee7fda933bad44b32627d2
+EBUILD umockdev-0.17.18.ebuild 1327 BLAKE2B 3cb70f5bd73142a201a76dce54667dc8884351cb04c9d339a635ad24c87cee4bbbd5aba5b1619ed325f9da1a2c6da9c5606f995a04e68856a39db254a5523fc2 SHA512 f5f78a0ad8f7cf134aae76ad7998b1806337c88f628c3bb40f2871324e8bb11b5113ea5295066baaa6b230308135b37fc63d453c1c16d30fa68a5565ccaf5a29
+EBUILD umockdev-0.18.1.ebuild 1258 BLAKE2B 7a1c80bb74053e7da41f349425045f0c2c3fb7bc4fac618673be372f09864c4b3bd8fac687929107786e80dd15f32a48a2af1d8a3865d9dfd07e0314d6ea6bcf SHA512 cd5376262e326410c291558b77e8e2b663fc03e2fd7771b46fed87834f55dfdbc7784fa06bfed3c60aaaaf508a14f3104ab7696e0882f9563383962b936dcc2a
+EBUILD umockdev-0.18.3.ebuild 1362 BLAKE2B 27744fc0eb026a17941768f68d3ec7c3dce6b9743c34a726ddae0640d5f37f2e81022ab3670224dd9a4276786b3d401fcad90487accabb62727f039ce3b1cc95 SHA512 7de11cbd458617bd1b85a074dc37c7c6a7c2e0c2e5b4b0c453845430b1ad497b7e087b2df44594680d1570cfd5caa7553f437e630ca55d8b62054277d021fb19
+EBUILD umockdev-9999.ebuild 1369 BLAKE2B ac1e35bfd4f121088956464711b63fe3da5ac94ad6b355f88e7b6e56dfc3ef06f40afdfa4bf3b1a2330fb70a11e5a6c1d5c5613259540b39cc0c405b3a7d87dd SHA512 47af9a80456b9c1ba8ffa75f107c50b2e033c713c72ea47a5d108cf27c9519566364a07119c3626d381b592181597c842059de668ee85e9b4308b1f064f54105
MISC metadata.xml 389 BLAKE2B 83313795741d7a5ece22e39de4d8b138c484a7f298f64d7e87bf44a9c04b6733c80f407ca15eb2b4bd71205eaa51b6b814227f4df730ba77e3b54a27735e7484 SHA512 6aff7de0eb974f8ddc4a7190b06b8e3ad406a410f618935cb0b757fa2bc22b6a33ecf33510ae9fc2d4a03f676905faa5561d030fb5e5065f8dc3e7320820cda1
diff --git a/dev-util/umockdev/umockdev-0.17.18.ebuild b/dev-util/umockdev/umockdev-0.17.18.ebuild
index b627c3aa9f25..66769357f6b3 100644
--- a/dev-util/umockdev/umockdev-0.17.18.ebuild
+++ b/dev-util/umockdev/umockdev-0.17.18.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} = 9999* ]]; then
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"
+ KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
fi
DESCRIPTION="Mock hardware devices for creating unit tests"
diff --git a/dev-util/umockdev/umockdev-0.18.1.ebuild b/dev-util/umockdev/umockdev-0.18.1.ebuild
index d6f2d4357dec..4a4ef163b950 100644
--- a/dev-util/umockdev/umockdev-0.18.1.ebuild
+++ b/dev-util/umockdev/umockdev-0.18.1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} = 9999* ]]; then
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"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
DESCRIPTION="Mock hardware devices for creating unit tests"
diff --git a/dev-util/umockdev/umockdev-0.18.3.ebuild b/dev-util/umockdev/umockdev-0.18.3.ebuild
new file mode 100644
index 000000000000..0e726e29a308
--- /dev/null
+++ b/dev-util/umockdev/umockdev-0.18.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic 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 ~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() {
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270
+ filter-flags -fno-semantic-interposition
+
+ export VALAC="$(type -P valac-$(vala_best_api_version))"
+ meson_src_configure
+}
+
+multilib_src_test() {
+ meson_src_test --no-suite fails-valgrind
+}
diff --git a/dev-util/umockdev/umockdev-9999.ebuild b/dev-util/umockdev/umockdev-9999.ebuild
index d9b79b4a0013..7c01707f81b2 100644
--- a/dev-util/umockdev/umockdev-9999.ebuild
+++ b/dev-util/umockdev/umockdev-9999.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2023 Gentoo Authors
+# 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
+inherit flag-o-matic 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"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
DESCRIPTION="Mock hardware devices for creating unit tests"
@@ -50,6 +50,9 @@ src_prepare() {
}
multilib_src_configure() {
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270
+ filter-flags -fno-semantic-interposition
+
export VALAC="$(type -P valac-$(vala_best_api_version))"
meson_src_configure
}