Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/calicoctl/
Date: Mon, 11 Sep 2017 11:53:05
Message-Id: 1505130760.f5af02c5027dc00d518d6a9f7a6aa2d63b4b4867.mrueg@gentoo
1 commit: f5af02c5027dc00d518d6a9f7a6aa2d63b4b4867
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 11 11:52:40 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 11 11:52:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5af02c5
7
8 net-misc/calicoctl: Version bump to 1.5.0
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 net-misc/calicoctl/Manifest | 1 +
13 net-misc/calicoctl/calicoctl-1.5.0.ebuild | 82 +++++++++++++++++++++++++++++++
14 2 files changed, 83 insertions(+)
15
16 diff --git a/net-misc/calicoctl/Manifest b/net-misc/calicoctl/Manifest
17 index b8f835b8b09..26423fca3de 100644
18 --- a/net-misc/calicoctl/Manifest
19 +++ b/net-misc/calicoctl/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST calicoctl-1.5.0.tar.gz 63645 SHA256 e055b1b33b3225228abf37c474c91dabe8d1b292ca5b0df4c97df096dacc6487 SHA512 57bf1b9e008df0c652881f84e59cbfdb3bf6192ff0810ef068c16e7601a6da78e7d0c4bdd912606c2095059ced8e7fe820bbb42f328bf9e7a5404f773f4c883f WHIRLPOOL 9a959d0d13cb585505a1e86eea05194c2414c5e87c31f6560e580f470399e22f6dfaa5106a29d391f10070ef4ff8f7b5a314a77f857115be0377d7aff453da3b
22 DIST calicoctl-1.5.0_rc1.tar.gz 63635 SHA256 75a0b507c04954a79908804878bb7c2640354aaf0603601d648cbe24fd4144dd SHA512 1a84ba1facc29752886abb190a3a8cd8cea0ddb6f9118ff5dd10e5d3f3df892b5ee50b13a8271fd1a7f6d1c87ab1ee212a70c847aa9bfda7d5f9a6bb5be5cfc0 WHIRLPOOL a3875e5115b2d4484cc570f22a6c4a550e3996c4e72c927fa4f293912f18105c2ff1daf9d21b6a24abdb692fc6e65b132280db0006218f2dff1337ece2b096a1
23 DIST github.com-armon-go-radix-1fca145dffbcaa8fe914309b1ec0cfc67500fe61.tar.gz 5943 SHA256 c2898252c1bf79e16edbbeec0e0e8590372681a54b16e2ff1172ecf5cd291383 SHA512 431e41870728d86accd7ed78d1e16c92adebfe79cef59b7f656a395e4bf7727ae9521f7e9d291931590680fd32eaef26622d888f30a4a4511dbddcae8dda1c08 WHIRLPOOL a41c4a579ce1a269f94e2b406bd19d21a505bbd6a094bd60b7e556627d457f6383dbccd1d94f27949b67ec67367abd6f0a4b26afba4eca12aff975e7c9c3d6ac
24 DIST github.com-coreos-etcd-17ae440991da3bdb2df4309936dd2074f66ec394.tar.gz 2538523 SHA256 013a89f6351967a85dafeb959ca8932db1198057f105becbe949e80c8f73a6e2 SHA512 9202595469d538328cd0ca57f08e29d66f93080592eb65fb32ae76c13a14dfaefdacb9d7b1aca8c069db52363e3d798b4882c5977bbcd600159d3d8cb65d5eeb WHIRLPOOL 838cac222af8505bd56e3b0bb37593df05658585a0e978541ec863a8fbe7654224240877326eb3b8b83a84ab22f3de03c2011f1c3b5bebccb0dacf8c1fc35c2a
25
26 diff --git a/net-misc/calicoctl/calicoctl-1.5.0.ebuild b/net-misc/calicoctl/calicoctl-1.5.0.ebuild
27 new file mode 100644
28 index 00000000000..45eb88efab7
29 --- /dev/null
30 +++ b/net-misc/calicoctl/calicoctl-1.5.0.ebuild
31 @@ -0,0 +1,82 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +EGO_VENDOR=( "github.com/docopt/docopt-go 784ddc588536785e7299f7272f39101f7faccc3f"
38 + "github.com/mcuadros/go-version 257f7b9a7d87427c8d7f89469a5958d57f8abd7c"
39 + "github.com/mitchellh/go-ps 4fdf99ab29366514c69ccccddab5dc58b8d84062"
40 + "github.com/olekukonko/tablewriter be5337e7b39e64e5f91445ce7e721888dbab7387"
41 + "github.com/mattn/go-runewidth 97311d9f7767e3d6f422ea06661bc2c7a19e8a5d"
42 + "github.com/osrg/gobgp bbd1d99396fef6503e308d1851ecf91c31006635"
43 + "github.com/armon/go-radix 1fca145dffbcaa8fe914309b1ec0cfc67500fe61"
44 + "github.com/eapache/channels 47238d5aae8c0fefd518ef2bee46290909cf8263"
45 + "github.com/eapache/queue 44cc805cf13205b55f69e14bcb69867d1ae92f98"
46 + "github.com/golang/protobuf 4bd1920723d7b7c925de087aa32e2187708897f7"
47 + "github.com/influxdata/influxdb 392fa03cf3cc98b78e606c34996976cea65b6814"
48 + "github.com/projectcalico/go-json 6219dc7339ba20ee4c57df0a8baac62317d19cb1"
49 + "github.com/projectcalico/go-yaml-wrapper 598e54215bee41a19677faa4f0c32acd2a87eb56"
50 + "github.com/projectcalico/libcalico-go 25a8c377d7b3299a50197a92704d606f5f5ca691"
51 + "github.com/coreos/etcd 17ae440991da3bdb2df4309936dd2074f66ec394"
52 + "github.com/kelseyhightower/envconfig f611eb38b3875cc3bd991ca91c51d06446afa14c"
53 + "github.com/coreos/go-semver 568e959cd89871e61434c1143528d9162da89ef2"
54 + "github.com/projectcalico/go-yaml 955bc3e451ef0c9df8b9113bf2e341139cdafab2"
55 + "github.com/satori/go.uuid 879c5887cd475cd7864858769793b2ceb0d44feb"
56 + "github.com/sirupsen/logrus ba1b36c82c5e05c4f912a88eab0dcd91a171688f"
57 + "github.com/spf13/viper 25b30aa063fc18e48662b86996252eabdcf2f0c7"
58 + "github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
59 + "github.com/hashicorp/hcl 392dba7d905ed5d04a5794ba89f558b27e2ba1ca"
60 + "github.com/magiconair/properties be5ece7dd465ab0765a9682137865547526d1dfb"
61 + "github.com/mitchellh/mapstructure d0303fe809921458f417bcf828397a65db30a7e4"
62 + "github.com/pelletier/go-toml 69d355db5304c0f7f809a2edc054553e7142f016"
63 + "github.com/spf13/afero 9be650865eab0c12963d8753212f4f9c66cdcf12"
64 + "github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
65 + "github.com/spf13/jwalterweatherman 0efa5202c04663c757d84f90f5219c1250baf94f"
66 + "github.com/spf13/pflag 08b1a584251b5b62f458943640fc8ebd4d50aaa5"
67 + "github.com/termie/go-shutil bcacb06fecaeec8dc42af03c87c6949f4a05c74c"
68 + "github.com/ugorji/go ded73eae5db7e7a0ef6f55aace87a2873c5d2b74"
69 + "github.com/vishvananda/netlink f5a6f697a596c788d474984a38a0ac4ba0719e93"
70 + "github.com/vishvananda/netns 8ba1072b58e0c2a240eb5f6120165c7776c3e7b8"
71 + "golang.org/x/net f2499483f923065a842d38eb4c7f1927e6fc6e6d github.com/golang/net"
72 + "golang.org/x/sys 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9 github.com/golang/sys"
73 + "golang.org/x/text 19e51611da83d6be54ddafce4a4af510cb3e9ea4 github.com/golang/text"
74 + "github.com/golang/glog 44145f04b68cf362d9c4df2182967c2275eaefed"
75 + "google.golang.org/grpc 777daa17ff9b5daef1cfdf915088a2ada3332bf0 github.com/grpc/grpc-go"
76 + "gopkg.in/go-playground/validator.v8 5f57d2222ad794d0dffb07e664ea05e2ee07d60c github.com/go-playground/validator"
77 + "gopkg.in/tchap/go-patricia.v2 666120de432aea38ab06bd5c818f04f4129882c9 github.com/tchap/go-patricia"
78 + "gopkg.in/tomb.v2 d5d1b5820637886def9eef33e03a27a9f166942c github.com/go-tomb/tomb"
79 + "gopkg.in/yaml.v2 53feefa2559fb8dfa8d81baad31be332c97d6c77 github.com/go-yaml/yaml"
80 + "k8s.io/client-go 4a3ab2f5be5177366f8206fd79ce55ca80e417fa github.com/kubernetes/client-go"
81 + "k8s.io/apimachinery b317fa7ec8e0e7d1f77ac63bf8c3ec7b29a2a215 github.com/kubernetes/apimachinery")
82 +
83 +inherit golang-vcs-snapshot
84 +
85 +CALICOCTL_COMMIT="118b8ae1cbfb852f387c9066b5ae27633593a99f"
86 +
87 +KEYWORDS="~amd64"
88 +DESCRIPTION="CLI to manage Calico network and security policy"
89 +EGO_PN="github.com/projectcalico/calicoctl"
90 +HOMEPAGE="https://github.com/projectcalico/calicoctl"
91 +MY_PV=${PV/_/-}
92 +SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
93 + ${EGO_VENDOR_URI}"
94 +LICENSE="Apache-2.0"
95 +SLOT="0"
96 +IUSE=""
97 +
98 +RESTRICT="test"
99 +
100 +src_compile() {
101 + pushd "src/${EGO_PN}" || die
102 + GOPATH="${WORKDIR}/${P}" CGO_ENABLED=0 go build -v -o dist/calicoctl -ldflags \
103 + "-X github.com/projectcalico/calicoctl/calicoctl/commands.VERSION=${PV} \
104 + -X github.com/projectcalico/calicoctl/calicoctl/commands.BUILD_DATE=$(date -u +'%FT%T%z') \
105 + -X github.com/projectcalico/calicoctl/calicoctl/commands.GIT_REVISION=${CALICOCTL_COMMIT}" "./calicoctl/calicoctl.go" || die
106 + popd || die
107 +}
108 +
109 +src_install() {
110 + pushd "src/${EGO_PN}" || die
111 + dobin "dist/${PN}"
112 + dodoc README.md
113 +}