summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-26 10:34:53 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-28 13:04:46 +0100
commitb984690b5120262b132d653809e92e54e4f237d6 (patch)
tree907b334eaa4309eda49dff9b44a935e6ba502f06 /dev-util/umockdev
parentdev-python/pip: Backport test changes to 21.3.1 (diff)
downloadgentoo-b984690b5120262b132d653809e92e54e4f237d6.tar.gz
gentoo-b984690b5120262b132d653809e92e54e4f237d6.tar.bz2
gentoo-b984690b5120262b132d653809e92e54e4f237d6.zip
dev-util/umockdev: Drop 0.12.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r--dev-util/umockdev/Manifest1
-rw-r--r--dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch42
-rw-r--r--dev-util/umockdev/umockdev-0.12.1.ebuild57
3 files changed, 0 insertions, 100 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index 0ce3fdf45d72..dc53898428da 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,3 +1,2 @@
-DIST umockdev-0.12.1.tar.xz 756920 BLAKE2B a8c1d9734f4c0a8e7f19405e011ce964efce6621b4886efead88e040bfe07d2f5a85f063977dfed1c8fb5a5bf4668024b6e687b688a9609cdba1db419518a8ac SHA512 a8995d09179c7d2d37d319f8e675fb15c3caa605c57b56cbb2e785088909d886e790864475feb82ab2b6eb2449038c636a06250d4f9eb8b28b38f0d80574824c
DIST umockdev-0.16.1.tar.xz 478308 BLAKE2B 3d49ca1d9c9b7573ac63f5f7ecd81071041597732b507619c333379095434ac55eb26f16bdf5897b94bbeb5c307a34b703accd220cd6202482e172dd3a6d1983 SHA512 baeaf05cc6b8d8e2a5cae16b808db759a18a969cea0f2ceed5f6c2521edc0c4c07dc16265a4821051de51f4314fd39d63ebf2da124fcd3e103ec743dadfedaa8
DIST umockdev-0.16.2.tar.xz 478388 BLAKE2B 8fb2116ec7d48b238898052d959c596f4f91a65cf7b8292de8b8731e6fe50600282cb56093b8d6ca1afdc082a12c9af3c4a4f443283538ffb2aeae4c2b775596 SHA512 82020c068d5a158a762f865f4b25d1ee8596785a5b379c316c652004e1b1b9c533d4dad87818a490f89983a4c065f34e4ff5ca91360bac6d79b141dfa2139eea
diff --git a/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch b/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
deleted file mode 100644
index 15f5ddbe99c0..000000000000
--- a/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From f1b416400479d861deffb4c5a40422dcdf190e85 Mon Sep 17 00:00:00 2001
-From: Martin Pitt <martin@piware.de>
-Date: Fri, 23 Oct 2020 14:58:50 +0200
-Subject: [PATCH] =?UTF-8?q?preload:=20Declare=20=5F=5Fxstat*()=20prototype?=
- =?UTF-8?q?s=20for=20glibc=20=E2=89=A5=202.32.9000?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Recent glibc deprecated/dropped the `__xstat*()` family from the header
-files, so the build started to fail on "no previous prototype". However,
-umockdev still needs needs to keep the wrappers to run programs that got
-built against an earlier glibc.
-
-Thus declare the prototype explicitly. It should still fail to build if
-glibc defines it differently.
-
-Fixes #108
----
- src/libumockdev-preload.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/libumockdev-preload.c b/src/libumockdev-preload.c
-index 9328dc1..9bbec62 100644
---- a/src/libumockdev-preload.c
-+++ b/src/libumockdev-preload.c
-@@ -1215,8 +1215,11 @@ int prefix ## stat ## suffix (const char *path, struct stat ## suffix *st) \
-
- /* wrapper template for __xstat family; note that we abuse the sticky bit in
- * the emulated /dev to indicate a block device (the sticky bit has no
-- * real functionality for device nodes) */
-+ * real functionality for device nodes)
-+ * This family got deprecated/dropped in glibc 2.32.9000, but we still need
-+ * to keep it for a while for programs that were built against previous versions */
- #define WRAP_VERSTAT(prefix, suffix) \
-+int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st); \
- int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
- { \
- const char *p; \
---
-2.31.1
-
diff --git a/dev-util/umockdev/umockdev-0.12.1.ebuild b/dev-util/umockdev/umockdev-0.12.1.ebuild
deleted file mode 100644
index e1f360c4d6e0..000000000000
--- a/dev-util/umockdev/umockdev-0.12.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit multilib-minimal python-any-r1
-
-DESCRIPTION="Mock hardware devices for creating unit tests"
-HOMEPAGE="https://github.com/martinpitt/umockdev/"
-SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="+introspection static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- virtual/libudev:=[${MULTILIB_USEDEP}]
- >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-1.32:= )
-"
-DEPEND="${RDEPEND}
- test? (
- ${PYTHON_DEPS}
- )
- app-arch/xz-utils
- dev-libs/libgudev[${MULTILIB_USEDEP}]
- >=dev-util/gtk-doc-am-1.14
- virtual/pkgconfig
-"
-
-# Tests seem to hang forever
-# RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}"/${P}-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
-)
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
- local ECONF_SOURCE="${S}"
- econf \
- --disable-gtk-doc \
- $(multilib_native_use_enable introspection) \
- $(use_enable static-libs static) \
- VALAC="$(type -P true)"
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${D}" -name '*.la' -delete || die
-}