Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/crun/
Date: Tue, 02 Jun 2020 11:14:00
Message-Id: 1591096423.087d5a760fc580a7ca678f8698f31cf2172b2438.juippis@gentoo
1 commit: 087d5a760fc580a7ca678f8698f31cf2172b2438
2 Author: Robert Günzler <r <AT> gnzler <DOT> io>
3 AuthorDate: Tue Jun 2 10:51:49 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 11:13:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087d5a76
7
8 app-emulation/crun: Remove 0.10.6
9
10 Signed-off-by: Robert Günzler <r <AT> gnzler.io>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-emulation/crun/Manifest | 1 -
14 app-emulation/crun/crun-0.10.6.ebuild | 72 -----------------------------------
15 2 files changed, 73 deletions(-)
16
17 diff --git a/app-emulation/crun/Manifest b/app-emulation/crun/Manifest
18 index 56e3366c82b..24ebd99e11b 100644
19 --- a/app-emulation/crun/Manifest
20 +++ b/app-emulation/crun/Manifest
21 @@ -1,2 +1 @@
22 DIST crun-0.13.tar.gz 1305048 BLAKE2B fbffabf4cfc744522147b47c5e2bf2bc48e074866108ec4ec8ab94e7ebdc39451851696fabde268b5853e1c3fafb0ac93527e08fdb766acebdd7cf952a9e1a9e SHA512 314612eaf3097160e9369b3400ac8a83e173ef1a53295191c925e96212ba00d032883db1e4615b8ba42ddb08f1e31ca5e5088ea583a469835ac3c27087a88d6e
23 -DIST crun-0.10.6.tar.gz 1242736 BLAKE2B 840699c6a07ddaef3f6ab4ce226fa6c4ebf0e32641012b6467a2a622d575a48286555b84140d5a1c947b5ef00a691045b0618533fb246bfb6d605baa262febe4 SHA512 b7db09d0c7d2d6e8b1ea239ead5a2ca2b97f188a74f08f0d5ac787e0a698fddf596e7cfdde482c6bc8790d06a7705613e877344a44691c0be7388e6d046c4b15
24
25 diff --git a/app-emulation/crun/crun-0.10.6.ebuild b/app-emulation/crun/crun-0.10.6.ebuild
26 deleted file mode 100644
27 index a644095e871..00000000000
28 --- a/app-emulation/crun/crun-0.10.6.ebuild
29 +++ /dev/null
30 @@ -1,72 +0,0 @@
31 -# Copyright 2019-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{6,7} )
37 -
38 -inherit python-any-r1
39 -
40 -DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
41 -HOMEPAGE="https://github.com/containers/crun"
42 -SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.gz"
43 -
44 -LICENSE="GPL-3 LGPL-3+"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -IUSE="bpf +caps doc seccomp systemd static-libs"
48 -
49 -DEPEND="
50 - dev-libs/yajl
51 - sys-libs/libseccomp
52 - caps? ( sys-libs/libcap )
53 - seccomp? ( sys-libs/libseccomp )
54 - systemd? ( sys-apps/systemd:= )
55 -"
56 -RDEPEND="${DEPEND}"
57 -BDEPEND="
58 - ${PYTHON_DEPS}
59 - doc? ( dev-go/go-md2man )
60 -"
61 -
62 -# the crun test suite is comprehensive to the extent that tests will fail
63 -# within a sandbox environment, due to the nature of the priveledges
64 -# required to create linux "containers."
65 -RESTRICT="test"
66 -
67 -DOCS=README.md
68 -
69 -src_configure() {
70 - econf \
71 - $(use_enable bpf) \
72 - $(use_enable caps) \
73 - $(use_enable seccomp) \
74 - $(use_enable systemd) \
75 - $(usex static-libs '--enabled-shared --enabled-static' '--enable-shared --disable-static' '' '')
76 -}
77 -
78 -src_compile() {
79 - pushd libocispec || die
80 - emake
81 - popd || die
82 - emake crun
83 - if use doc ; then
84 - emake crun.1
85 - fi
86 -}
87 -
88 -src_install() {
89 - pushd libocispec || die
90 - emake "DESTDIR=${D}" install-exec
91 - popd || die
92 - emake "DESTDIR=${D}" install-exec
93 - if use doc ; then
94 - emake "DESTDIR=${D}" install-man
95 - fi
96 -
97 - # there is currently a bug in upstream autotooling that continues to build static libraries despite
98 - # explicit configure options
99 - use static-libs || find "${ED}"/usr -name '*.la' -delete
100 -
101 - einstalldocs
102 -}