diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 19:11:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 19:11:10 +0000 |
commit | 73f18fd49d6fabbb1dc8721e38adaa18d55b8c95 (patch) | |
tree | cbf8d9cc42f02646bddfb5b06d3a9591e8df3ad5 /dev-util/umockdev | |
parent | c92d0cd2b34d17bce6d5bb4e3a4fc00af4193c99 (diff) |
gentoo auto-resync : 24:11:2022 - 19:11:10
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r-- | dev-util/umockdev/Manifest | 2 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.17.15.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest index 70d3f6b745d0..8f870b2b9a36 100644 --- a/dev-util/umockdev/Manifest +++ b/dev-util/umockdev/Manifest @@ -1,4 +1,6 @@ DIST umockdev-0.17.13.tar.xz 489728 BLAKE2B 0bb4d912aa924c91ff1f4e2cd5ca4ddf81eea1db55ddf9e4cd9a7e9683ed92a268063601a38f7f0a6fb669b301fa9ace94c413e5958ad5587db0097acb2f066c SHA512 77863ad67be0995869b35d12dc43a809d2e67e95f727312ffd9f585c5bb1598c4d31f4909fcff5035dfccdbde8c36819daa633cae53c57ea2d9c3ede3587ec4d +DIST umockdev-0.17.15.tar.xz 491152 BLAKE2B 40334a0279e81e1af3eb01acafd85c638e8a04af20e4c5b6b64229d89ffcfa231d6ef9e760d24e0cb957fe654252d18dca8579490e52a4c05769163f8a33ac96 SHA512 722339ae0726b00a4ee5fa428f063c5b59f0bad14a8fe24d97276a55dc66c569289c62c4ee5ebdb75a62339444a35468c8c1a33759d76fdf022a1eb4905c0465 EBUILD umockdev-0.17.13.ebuild 1250 BLAKE2B 2ecd27e301fa8e28e8c03db4f6c7644a0490404a9773fd6d6ca3d25d98e4ba46f7f77e2e8ed916c53e6cefa1a6b82be1a8fc895bffa8ba092ebccfc01791d01b SHA512 5bb160f21af26aafae9845c40bb6e7d9e4a222d6e7d12ed35dc483be18c44a4099b5a706a2f6d23e906c0733ef9ec561968426e470c09023af79128e416b5dda +EBUILD umockdev-0.17.15.ebuild 1257 BLAKE2B 19d58ec0f691fea74bcc95630ece7d34296b2e7472121f64933ed052d967054bfec118ccb6d42db36dd334410653572b1beded3143f32fba1194d00316113863 SHA512 4709d411f6792a51077caa75c638dec6ea764d9c59bc75f4d7442ada8455e74f9add0e584a4740c1fde979109de1b41a05b4a070d4219b4665f5979821190822 EBUILD umockdev-9999.ebuild 1257 BLAKE2B 19d58ec0f691fea74bcc95630ece7d34296b2e7472121f64933ed052d967054bfec118ccb6d42db36dd334410653572b1beded3143f32fba1194d00316113863 SHA512 4709d411f6792a51077caa75c638dec6ea764d9c59bc75f4d7442ada8455e74f9add0e584a4740c1fde979109de1b41a05b4a070d4219b4665f5979821190822 MISC metadata.xml 389 BLAKE2B 83313795741d7a5ece22e39de4d8b138c484a7f298f64d7e87bf44a9c04b6733c80f407ca15eb2b4bd71205eaa51b6b814227f4df730ba77e3b54a27735e7484 SHA512 6aff7de0eb974f8ddc4a7190b06b8e3ad406a410f618935cb0b757fa2bc22b6a33ecf33510ae9fc2d4a03f676905faa5561d030fb5e5065f8dc3e7320820cda1 diff --git a/dev-util/umockdev/umockdev-0.17.15.ebuild b/dev-util/umockdev/umockdev-0.17.15.ebuild new file mode 100644 index 000000000000..8015f3762895 --- /dev/null +++ b/dev-util/umockdev/umockdev-0.17.15.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..11} ) + +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 ~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 +} |