1 |
commit: 87791789469b79122557a104251b9bf5afdbb1ee |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 8 18:39:15 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 8 19:28:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87791789 |
7 |
|
8 |
app-emulation/docker-cli: remove 20.10.1 |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
app-emulation/docker-cli/Manifest | 1 - |
13 |
app-emulation/docker-cli/docker-cli-20.10.1.ebuild | 64 ---------------------- |
14 |
2 files changed, 65 deletions(-) |
15 |
|
16 |
diff --git a/app-emulation/docker-cli/Manifest b/app-emulation/docker-cli/Manifest |
17 |
index 3d2c5305510..f234fd3b68e 100644 |
18 |
--- a/app-emulation/docker-cli/Manifest |
19 |
+++ b/app-emulation/docker-cli/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST docker-cli-20.10.1.tar.gz 7705467 BLAKE2B e1bbca2a0bf4e8a78600f8c4090d20f6ce173fe8efa9609048771312afb420b9176257d0540a8dc0700c02fb0c117cfdbb0c8ffc6f81049c62b78417b1b18d14 SHA512 47d15647db2a4ca6de29ba1d67aa198b9baa4af9ccf08e92e2a7222f28391567f8a2f6beeb4d8d80fa16a05ce8902de16b8951da2a34cbed9e27c72e0443c3e8 |
22 |
DIST docker-cli-20.10.2.tar.gz 7706210 BLAKE2B c8d537be8344dbd2113232c85a52f001231fdf653819710cf4492c86d58662e5f0d74f6fb00593d1034b5d481f15524cec89e2b3463900705a545b2051ab38d2 SHA512 907c846bf4043dcce4dd4e95e6335554b50e954464a83f75a44b1c0fcf9f2625c490a12758d18653c0d031768878a3f6fc91cb7fc6e1d3235d5e8f21ecd93caf |
23 |
|
24 |
diff --git a/app-emulation/docker-cli/docker-cli-20.10.1.ebuild b/app-emulation/docker-cli/docker-cli-20.10.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index f1767197a60..00000000000 |
27 |
--- a/app-emulation/docker-cli/docker-cli-20.10.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,64 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-GIT_COMMIT=831ebeae96 |
35 |
-EGO_PN="github.com/docker/cli" |
36 |
-inherit bash-completion-r1 golang-vcs-snapshot |
37 |
- |
38 |
-DESCRIPTION="the command line binary for docker" |
39 |
-HOMEPAGE="https://www.docker.com/" |
40 |
-MY_PV=${PV/_/-} |
41 |
-SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="Apache-2.0" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
46 |
-IUSE="hardened" |
47 |
- |
48 |
-RDEPEND="!<app-emulation/docker-20.10.1" |
49 |
-BDEPEND="dev-go/go-md2man" |
50 |
- |
51 |
-RESTRICT="installsources strip" |
52 |
- |
53 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
54 |
- |
55 |
-src_prepare() { |
56 |
- default |
57 |
- sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die |
58 |
- sed -i 's@md2man@go-md2man@' man/md2man-all.sh || die |
59 |
-} |
60 |
- |
61 |
-src_compile() { |
62 |
- export DISABLE_WARN_OUTSIDE_CONTAINER=1 |
63 |
- export GOPATH="${WORKDIR}/${P}" |
64 |
- # setup CFLAGS and LDFLAGS for separate build target |
65 |
- # see https://github.com/tianon/docker-overlay/pull/10 |
66 |
- export CGO_CFLAGS="-I${ROOT}/usr/include" |
67 |
- export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" |
68 |
- emake \ |
69 |
- LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ |
70 |
- VERSION="$(cat VERSION)" \ |
71 |
- GITCOMMIT="${GIT_COMMIT}" \ |
72 |
- dynbinary |
73 |
- |
74 |
- # build man pages |
75 |
- # see "cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man) |
76 |
- go build -o "${T}"/gen-manpages ./man || |
77 |
- die 'build gen-manpages failed' |
78 |
- "${T}"/gen-manpages --root "$(pwd)" --target "$(pwd)"/man/man1 || |
79 |
- die 'gen-manpages failed' |
80 |
- ./man/md2man-all.sh -q || |
81 |
- die 'md2man-all.sh failed' |
82 |
-} |
83 |
- |
84 |
-src_install() { |
85 |
- dobin build/docker |
86 |
- doman man/man*/* |
87 |
- dobashcomp contrib/completion/bash/* |
88 |
- bashcomp_alias docker dockerd |
89 |
- insinto /usr/share/fish/vendor_completions.d/ |
90 |
- doins contrib/completion/fish/docker.fish |
91 |
- insinto /usr/share/zsh/site-functions |
92 |
- doins contrib/completion/zsh/_* |
93 |
-} |