Gentoo Archives: gentoo-proxy-maint

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