diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-04 00:07:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-04 00:07:50 +0100 |
commit | dafa6f367240d1f5329ca89fb6f78985dbdc025b (patch) | |
tree | 96ba5ff3cc1d06604d928ca1b58ed15a4f8733dc /dev-util/umockdev | |
parent | a3bb28551df94028000fb72308a9e9baa01458b0 (diff) |
gentoo auto-resync : 04:06:2024 - 00:07:50
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r-- | dev-util/umockdev/Manifest | 4 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.18.3.ebuild | 62 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-9999.ebuild | 7 |
3 files changed, 70 insertions, 3 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest index c0889117871b..b47b509af34f 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 +DIST umockdev-0.18.3.tar.xz 493724 BLAKE2B 989391474b7204a228a323244b75dc81992c69cd79a499ea701344311a890383eb6d589769df2006727c371757e4bf807831b9ccabde0fcbfd1b99054042fdc6 SHA512 565fedc4367b7896ac4fd9cee19d704d1f3f8b382c31069ceef81d0a0e8f3a38b775f28bd7a3652a7bb9c5cb62dd1f616ea81d7fc2ee7fda933bad44b32627d2 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 +EBUILD umockdev-0.18.3.ebuild 1375 BLAKE2B 806ca2bb7f5e2d663420d9f04e01200972fb436a9593d931e4ee02562b55dbfda4a5a9fdba36e8e0c8e0e6a556064f28dd01dea3805a38b71b17c4a74f9f5026 SHA512 24f219345aa53021f448703d21bde74929a3efae7f24dd12b8118717bcf3a1f5ce3ac0044eebdd5ba90ed7632133fce5030a22bd78068a3e0f807473c8e10901 +EBUILD umockdev-9999.ebuild 1375 BLAKE2B 806ca2bb7f5e2d663420d9f04e01200972fb436a9593d931e4ee02562b55dbfda4a5a9fdba36e8e0c8e0e6a556064f28dd01dea3805a38b71b17c4a74f9f5026 SHA512 24f219345aa53021f448703d21bde74929a3efae7f24dd12b8118717bcf3a1f5ce3ac0044eebdd5ba90ed7632133fce5030a22bd78068a3e0f807473c8e10901 MISC metadata.xml 389 BLAKE2B 83313795741d7a5ece22e39de4d8b138c484a7f298f64d7e87bf44a9c04b6733c80f407ca15eb2b4bd71205eaa51b6b814227f4df730ba77e3b54a27735e7484 SHA512 6aff7de0eb974f8ddc4a7190b06b8e3ad406a410f618935cb0b757fa2bc22b6a33ecf33510ae9fc2d4a03f676905faa5561d030fb5e5065f8dc3e7320820cda1 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..c032e0519a4d --- /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 ~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() { + # 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..c032e0519a4d 100644 --- a/dev-util/umockdev/umockdev-9999.ebuild +++ b/dev-util/umockdev/umockdev-9999.ebuild @@ -1,10 +1,10 @@ -# 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" @@ -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 } |