commit:     9b7f9fc769c42f8cd3e504b6df952ba979a669bd
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 20 09:16:08 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 09:18:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7f9fc7

dev-util/umockdev: drop 0.19.1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-util/umockdev/Manifest                         |  1 -
 .../files/umockdev-0.19.1-tests-ioctl.patch        | 28 ---------
 dev-util/umockdev/umockdev-0.19.1.ebuild           | 66 ----------------------
 3 files changed, 95 deletions(-)

diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index 349bf20a6f71..384e4a57aa38 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,3 +1,2 @@
-DIST umockdev-0.19.1.tar.xz 496652 BLAKE2B 
92f9c6f069dc1e0c5f389c0a6ac914a92b83a2ab4a255385e5dab30cf223580f4f96551b95021b1a42bdb7911732e81088ee1d6c7afcccc3d845e0ff687ed1ed
 SHA512 
3e7c892d0999b6a61f802445851d83bff7c5a2ddc9d0b673bebe2a130b3782d7788082f21bf3c4064e3bbf867c43cde9a583bdd54e2eea467ee430c8b5d4db1c
 DIST umockdev-0.19.3.tar.xz 497840 BLAKE2B 
c67213b95ae07fae612c9c697abce0c818a145a76d2618ae4e12921ed80789405a58d9fec9eb3ead1d83dc0dc2c5bb13006ca2e320f142461508b74277fdceba
 SHA512 
c0de1b6cbb0f2d6d880154c392cfc5a28e91079b16053acd76f50febb9073436d6cc9f4e0d354227169b1a6d6876e1c23dbbd8b835956f7b360af5ac24cd77b5
 DIST umockdev-0.19.4.tar.xz 498200 BLAKE2B 
d63e8703fc8987809dbadcabbd83c6eb631884f48d7d114a315edf8211fa97ddfa12bacbec7631051248be01380144db7c178d544991fb3aa1e88de43882e931
 SHA512 
89516283593a6da31d6fb722f9833f0993cb62998defffbe8b7cf4be7ca3011cc0db7785360d1f67189c0a909fce38ca07c62f35f0e725a4472b5ed9f0419ca1

diff --git a/dev-util/umockdev/files/umockdev-0.19.1-tests-ioctl.patch 
b/dev-util/umockdev/files/umockdev-0.19.1-tests-ioctl.patch
deleted file mode 100644
index d374af96c5bb..000000000000
--- a/dev-util/umockdev/files/umockdev-0.19.1-tests-ioctl.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://github.com/martinpitt/umockdev/commit/9e68706bfbc4185c7b65550fdc94dd14a6e5ffd6
-
-From 9e68706bfbc4185c7b65550fdc94dd14a6e5ffd6 Mon Sep 17 00:00:00 2001
-From: Martin Pitt <[email protected]>
-Date: Sun, 5 Jan 2025 14:58:52 +0100
-Subject: [PATCH] tests: Fix ioctl data type
-
-The `0xdeadbeef` constant in Vala is implicitly an int64. On 32 bit
-big-endian architectures like powerpc this argument vanishes during its
-interpretation through varargs and long (i.e. gets shifted to the second
-argument, which we never look at). Explicitly make it an int.
---- a/tests/test-umockdev-vala.vala
-+++ b/tests/test-umockdev-vala.vala
-@@ -1140,10 +1140,11 @@ E: SUBSYSTEM=test
-   int fd = Posix.open ("/dev/test", Posix.O_RDWR, 0);
-   assert_cmpint (fd, CompareOperator.GE, 0);
- 
--  assert_cmpint (Posix.ioctl (fd, 1, 0xdeadbeef), CompareOperator.EQ, (int) 
0xdeadbeef);
-+  int value = (int) 0xdeadbeef;
-+  assert_cmpint (Posix.ioctl (fd, 1, value), CompareOperator.EQ, value);
-   assert_cmpint (Posix.errno, CompareOperator.EQ, 0);
- 
--  assert_cmpint (Posix.ioctl (fd, 2, 0xdeadbeef), CompareOperator.EQ, -1);
-+  assert_cmpint (Posix.ioctl (fd, 2, value), CompareOperator.EQ, -1);
-   assert_cmpint (Posix.errno, CompareOperator.EQ, Posix.ENOMEM);
- 
-   assert_cmpint (Posix.ioctl (fd, 3, &ioctl_target), CompareOperator.EQ, 0);
-

diff --git a/dev-util/umockdev/umockdev-0.19.1.ebuild 
b/dev-util/umockdev/umockdev-0.19.1.ebuild
deleted file mode 100644
index e874f2b0c7d7..000000000000
--- a/dev-util/umockdev/umockdev-0.19.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{11..14} )
-
-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.82.0-r2:=
-"
-DEPEND="${RDEPEND}
-       test? (
-               ${PYTHON_DEPS}
-               dev-libs/libgudev:=[${MULTILIB_USEDEP}]
-       )
-"
-BDEPEND="
-       $(vala_depend)
-       app-arch/xz-utils
-       virtual/pkgconfig
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-tests-ioctl.patch
-)
-
-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
-}

Reply via email to