diff options
author | 2023-04-17 14:23:05 -0400 | |
---|---|---|
committer | 2023-04-17 14:24:43 -0400 | |
commit | 1a5a8c68aacf21307acb496d687c19b8245e0ff1 (patch) | |
tree | d54190c468d0cdb93eacc8029c07f8900716356e /dev-util | |
parent | net-im/skypeforlinux: update Manifest (diff) | |
download | gentoo-1a5a8c68aacf21307acb496d687c19b8245e0ff1.tar.gz gentoo-1a5a8c68aacf21307acb496d687c19b8245e0ff1.tar.bz2 gentoo-1a5a8c68aacf21307acb496d687c19b8245e0ff1.zip |
dev-util/umockdev: Version bump to 0.17.17
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/umockdev/Manifest | 1 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.17.17.ebuild | 59 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-9999.ebuild | 2 |
3 files changed, 61 insertions, 1 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest index 71c59bbd86ed..c5b45e9c6491 100644 --- a/dev-util/umockdev/Manifest +++ b/dev-util/umockdev/Manifest @@ -1 +1,2 @@ DIST umockdev-0.17.16.tar.xz 491208 BLAKE2B d653e489285437e1111d8841b3628dc3734e799274e9d334b9200c425d8654a18050e9bab7e290dc12ab12f286a4f492219423d1905965a870d843a1809e9ceb SHA512 5d4a094481510f4466e49766512d0959a5a9d9f5a9b7cbd7719bc94e95d9800760482bf3ea2ee97d2138c89680adb4116964688ae13a07e3c1f0ba8e94230584 +DIST umockdev-0.17.17.tar.xz 491504 BLAKE2B 0572b3538641009abdc854513b563eab517268e884896c9e0fec804c50c8397eb7acf011fba5fc5378fdd87db99f6b1eadc29825a0613c021efb29e875a265d1 SHA512 39537bcc56cf554773e8669508832bde6f3d4eb83d605c0e58bed3b2d206a6dc0bd0678bd39954825ee0cbed9f1ea9448f836d97ed3ea7e2aa7ce2875456e459 diff --git a/dev-util/umockdev/umockdev-0.17.17.ebuild b/dev-util/umockdev/umockdev-0.17.17.ebuild new file mode 100644 index 000000000000..a0aa5c033605 --- /dev/null +++ b/dev-util/umockdev/umockdev-0.17.17.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..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 ~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 +} diff --git a/dev-util/umockdev/umockdev-9999.ebuild b/dev-util/umockdev/umockdev-9999.ebuild index b562b894a04d..a0aa5c033605 100644 --- a/dev-util/umockdev/umockdev-9999.ebuild +++ b/dev-util/umockdev/umockdev-9999.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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi DESCRIPTION="Mock hardware devices for creating unit tests" |