Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/liburing/
Date: Fri, 04 Nov 2022 09:18:02
Message-Id: 1667553476.11594900f577bc2d6e07b9468edf07a50214be25.flow@gentoo
1 commit: 11594900f577bc2d6e07b9468edf07a50214be25
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 4 09:17:48 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 4 09:17:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11594900
7
8 sys-libs/liburing: drop 2.1-r1
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 sys-libs/liburing/liburing-2.1-r1.ebuild | 68 --------------------------------
13 1 file changed, 68 deletions(-)
14
15 diff --git a/sys-libs/liburing/liburing-2.1-r1.ebuild b/sys-libs/liburing/liburing-2.1-r1.ebuild
16 deleted file mode 100644
17 index a4e3c0263ce5..000000000000
18 --- a/sys-libs/liburing/liburing-2.1-r1.ebuild
19 +++ /dev/null
20 @@ -1,68 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -inherit multilib-minimal toolchain-funcs
27 -
28 -DESCRIPTION="Efficient I/O with io_uring"
29 -HOMEPAGE="https://github.com/axboe/liburing"
30 -if [[ "${PV}" == *9999 ]] ; then
31 - inherit git-r3
32 - EGIT_REPO_URI="https://github.com/axboe/liburing.git"
33 -else
34 - SRC_URI="https://git.kernel.dk/cgit/${PN}/snapshot/${P}.tar.bz2"
35 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
36 -fi
37 -LICENSE="MIT"
38 -SLOT="0/2" # liburing.so major version
39 -
40 -IUSE="static-libs"
41 -# fsync test hangs forever
42 -RESTRICT="test"
43 -
44 -PATCHES=(
45 - # Upstream, bug #816798
46 - "${FILESDIR}"/${P}-arm-syscall.patch
47 -)
48 -
49 -src_prepare() {
50 - default
51 -
52 - if [[ "${PV}" != *9999 ]] ; then
53 - # Make sure pkgconfig files contain the correct version
54 - # bug #809095 and #833895
55 - sed -i "/^Version:/s@[[:digit:]\.]\+@${PV}@" ${PN}.spec || die
56 - fi
57 -
58 - multilib_copy_sources
59 -}
60 -
61 -multilib_src_configure() {
62 - local myconf=(
63 - --prefix="${EPREFIX}/usr"
64 - --libdir="${EPREFIX}/usr/$(get_libdir)"
65 - --libdevdir="${EPREFIX}/usr/$(get_libdir)"
66 - --mandir="${EPREFIX}/usr/share/man"
67 - --cc="$(tc-getCC)"
68 - --cxx="$(tc-getCXX)"
69 - )
70 - # No autotools configure! "econf" will fail.
71 - TMPDIR="${T}" ./configure "${myconf[@]}" || die
72 -}
73 -
74 -multilib_src_compile() {
75 - emake V=1 AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
76 -}
77 -
78 -multilib_src_install_all() {
79 - einstalldocs
80 -
81 - if ! use static-libs ; then
82 - find "${ED}" -type f -name "*.a" -delete || die
83 - fi
84 -}
85 -
86 -multilib_src_test() {
87 - emake V=1 runtests
88 -}