diff options
author | William Hubbs <williamh@gentoo.org> | 2020-05-26 15:19:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-05-26 15:19:38 -0500 |
commit | 5efe6130ab1cc783d5d2bc2b38c29ad110522234 (patch) | |
tree | 7dbedfce1d22615b646f7544d3b2c1bd20f42af6 /dev-util/github-cli | |
parent | dev-libs/botan: Declare distribution name (diff) | |
download | gentoo-5efe6130ab1cc783d5d2bc2b38c29ad110522234.tar.gz gentoo-5efe6130ab1cc783d5d2bc2b38c29ad110522234.tar.bz2 gentoo-5efe6130ab1cc783d5d2bc2b38c29ad110522234.zip |
dev-util/github-cli: 0.9.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/github-cli')
-rw-r--r-- | dev-util/github-cli/Manifest | 3 | ||||
-rw-r--r-- | dev-util/github-cli/github-cli-0.9.0.ebuild | 297 |
2 files changed, 299 insertions, 1 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest index f6086036dafd..3ad8abca839b 100644 --- a/dev-util/github-cli/Manifest +++ b/dev-util/github-cli/Manifest @@ -1,5 +1,6 @@ -DIST github-cli-0.8.0.tar.gz 225839 BLAKE2B c460405973e73374d393f19a6315a9b4af4de2ec3634b37a1669b8683e0cf5c1e5872dae4d130e9fca15dc88881e9abc4888d706b1050883361f378c8da5916d SHA512 5fca1f148a2973eafffa25df052ad09a8407dbcd2e41b9c5152011b990f02c27e1dc75b41d5c2b985bb18c6f1070839e8d526032230a910f9f776147a3a31c19 DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273 +DIST github-cli-0.8.0.tar.gz 225839 BLAKE2B c460405973e73374d393f19a6315a9b4af4de2ec3634b37a1669b8683e0cf5c1e5872dae4d130e9fca15dc88881e9abc4888d706b1050883361f378c8da5916d SHA512 5fca1f148a2973eafffa25df052ad09a8407dbcd2e41b9c5152011b990f02c27e1dc75b41d5c2b985bb18c6f1070839e8d526032230a910f9f776147a3a31c19 +DIST github-cli-0.9.0.tar.gz 236398 BLAKE2B 8a1004b8fcf54179e2538d71471b4952fbe9ec2b67d97bea130afcceeb0b6dfd93ce9a9a477f54c1f689a0c5707cae5550445719a7badd81c66748543909d4fa SHA512 75d09cdcff4f31d6cad0e9570af3aafcffdfd8bdb925596780abde24c0ba20a212cfc9426aaa29e7409c7fbb7061bb8c88c15aef11fc9d9490265fa51aae5cd8 DIST github.com%2F!alec!aivazis%2Fsurvey%2Fv2%2F@v%2Fv2.0.7.mod 731 BLAKE2B 1ca410dae120a2ec12efbe7c1d8e0fdd2a38ed1ed76ab770e37aa6ba449da6b5ef6e32a51e6ee263a982f1a593e2ee239fe0a774063d4295261f9ff63e09fc1c SHA512 72213e0d0609572f5e749a4f295a8b3ffd13bfe38f786fa3174e53ec318a623e9122c69718944034aa70b05ddad1771cbfa62d2fdc49df2152c5c9679a681ff9 DIST github.com%2F!alec!aivazis%2Fsurvey%2Fv2%2F@v%2Fv2.0.7.zip 90292 BLAKE2B aa2accf4630d73289f2ef94ad870fc8599f25b7eff43d56b08c0b72464848181845db5b9c4b6bde5c91ad0969f2baa02d1d2f2aaca27287952895ab547b60ab3 SHA512 aba8a60445568ecb8f68b5d85604845e2a77a216f747b15b8012be59f5609a4e71d367aec4c6a222c9ec93d1b8063a190d9d529075be19ef633ef7f26b138216 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146 diff --git a/dev-util/github-cli/github-cli-0.9.0.ebuild b/dev-util/github-cli/github-cli-0.9.0.ebuild new file mode 100644 index 000000000000..61c48d3dee4c --- /dev/null +++ b/dev-util/github-cli/github-cli-0.9.0.ebuild @@ -0,0 +1,297 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="GitHub CLI" +HOMEPAGE="https://github.com/cli/cli" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cli/cli.git" +else +EGO_SUM=( + "cloud.google.com/go v0.26.0/go.mod" + "github.com/AlecAivazis/survey/v2 v2.0.7" + "github.com/AlecAivazis/survey/v2 v2.0.7/go.mod" + "github.com/BurntSushi/toml v0.3.1" + "github.com/BurntSushi/toml v0.3.1/go.mod" + "github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8" + "github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod" + "github.com/OneOfOne/xxhash v1.2.2/go.mod" + "github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38" + "github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38/go.mod" + "github.com/alecthomas/chroma v0.7.2-0.20200304075647-34d9c7143bf5" + "github.com/alecthomas/chroma v0.7.2-0.20200304075647-34d9c7143bf5/go.mod" + "github.com/alecthomas/colour v0.0.0-20160524082231-60882d9e2721" + "github.com/alecthomas/colour v0.0.0-20160524082231-60882d9e2721/go.mod" + "github.com/alecthomas/kong v0.2.1-0.20190708041108-0548c6b1afae/go.mod" + "github.com/alecthomas/repr v0.0.0-20180818092828-117648cd9897" + "github.com/alecthomas/repr v0.0.0-20180818092828-117648cd9897/go.mod" + "github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod" + "github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod" + "github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod" + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod" + "github.com/beorn7/perks v1.0.0/go.mod" + "github.com/briandowns/spinner v1.10.1-0.20200410162419-bf6cf7ae6727" + "github.com/briandowns/spinner v1.10.1-0.20200410162419-bf6cf7ae6727/go.mod" + "github.com/cespare/xxhash v1.1.0/go.mod" + "github.com/charmbracelet/glamour v0.1.1-0.20200320173916-301d3bcf3058" + "github.com/charmbracelet/glamour v0.1.1-0.20200320173916-301d3bcf3058/go.mod" + "github.com/client9/misspell v0.3.4/go.mod" + "github.com/coreos/bbolt v1.3.2/go.mod" + "github.com/coreos/etcd v3.3.10+incompatible/go.mod" + "github.com/coreos/go-semver v0.2.0/go.mod" + "github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod" + "github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod" + "github.com/cpuguy83/go-md2man/v2 v2.0.0" + "github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod" + "github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964" + "github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod" + "github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod" + "github.com/dlclark/regexp2 v1.1.6" + "github.com/dlclark/regexp2 v1.1.6/go.mod" + "github.com/dlclark/regexp2 v1.2.0" + "github.com/dlclark/regexp2 v1.2.0/go.mod" + "github.com/fatih/color v1.7.0" + "github.com/fatih/color v1.7.0/go.mod" + "github.com/fsnotify/fsnotify v1.4.7/go.mod" + "github.com/ghodss/yaml v1.0.0/go.mod" + "github.com/go-kit/kit v0.8.0/go.mod" + "github.com/go-logfmt/logfmt v0.3.0/go.mod" + "github.com/go-logfmt/logfmt v0.4.0/go.mod" + "github.com/go-stack/stack v1.8.0/go.mod" + "github.com/gogo/protobuf v1.1.1/go.mod" + "github.com/gogo/protobuf v1.2.1/go.mod" + "github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod" + "github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod" + "github.com/golang/mock v1.1.1/go.mod" + "github.com/golang/protobuf v1.2.0/go.mod" + "github.com/golang/protobuf v1.3.1" + "github.com/golang/protobuf v1.3.1/go.mod" + "github.com/google/btree v1.0.0/go.mod" + "github.com/google/go-cmp v0.2.0" + "github.com/google/go-cmp v0.2.0/go.mod" + "github.com/google/goterm v0.0.0-20190703233501-fc88cf888a3f" + "github.com/google/goterm v0.0.0-20190703233501-fc88cf888a3f/go.mod" + "github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510" + "github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod" + "github.com/gorilla/websocket v1.4.0/go.mod" + "github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod" + "github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod" + "github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod" + "github.com/hashicorp/go-version v1.2.0" + "github.com/hashicorp/go-version v1.2.0/go.mod" + "github.com/hashicorp/hcl v1.0.0/go.mod" + "github.com/henvic/httpretty v0.0.4" + "github.com/henvic/httpretty v0.0.4/go.mod" + "github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174" + "github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod" + "github.com/inconshreveable/mousetrap v1.0.0" + "github.com/inconshreveable/mousetrap v1.0.0/go.mod" + "github.com/jonboulle/clockwork v0.1.0/go.mod" + "github.com/julienschmidt/httprouter v1.2.0/go.mod" + "github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51" + "github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod" + "github.com/kisielk/errcheck v1.1.0/go.mod" + "github.com/kisielk/gotool v1.0.0/go.mod" + "github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod" + "github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod" + "github.com/kr/pretty v0.1.0" + "github.com/kr/pretty v0.1.0/go.mod" + "github.com/kr/pty v1.1.1/go.mod" + "github.com/kr/pty v1.1.4" + "github.com/kr/pty v1.1.4/go.mod" + "github.com/kr/text v0.1.0" + "github.com/kr/text v0.1.0/go.mod" + "github.com/lucasb-eyer/go-colorful v1.0.3" + "github.com/lucasb-eyer/go-colorful v1.0.3/go.mod" + "github.com/magiconair/properties v1.8.0/go.mod" + "github.com/mattn/go-colorable v0.0.9/go.mod" + "github.com/mattn/go-colorable v0.1.2" + "github.com/mattn/go-colorable v0.1.2/go.mod" + "github.com/mattn/go-colorable v0.1.6" + "github.com/mattn/go-colorable v0.1.6/go.mod" + "github.com/mattn/go-isatty v0.0.4/go.mod" + "github.com/mattn/go-isatty v0.0.8/go.mod" + "github.com/mattn/go-isatty v0.0.12" + "github.com/mattn/go-isatty v0.0.12/go.mod" + "github.com/mattn/go-runewidth v0.0.7" + "github.com/mattn/go-runewidth v0.0.7/go.mod" + "github.com/mattn/go-runewidth v0.0.8" + "github.com/mattn/go-runewidth v0.0.8/go.mod" + "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod" + "github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b" + "github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod" + "github.com/microcosm-cc/bluemonday v1.0.2" + "github.com/microcosm-cc/bluemonday v1.0.2/go.mod" + "github.com/mitchellh/go-homedir v1.1.0" + "github.com/mitchellh/go-homedir v1.1.0/go.mod" + "github.com/mitchellh/mapstructure v1.1.2/go.mod" + "github.com/muesli/reflow v0.1.0" + "github.com/muesli/reflow v0.1.0/go.mod" + "github.com/muesli/termenv v0.4.0" + "github.com/muesli/termenv v0.4.0/go.mod" + "github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod" + "github.com/oklog/ulid v1.3.1/go.mod" + "github.com/olekukonko/tablewriter v0.0.4" + "github.com/olekukonko/tablewriter v0.0.4/go.mod" + "github.com/pelletier/go-toml v1.2.0/go.mod" + "github.com/pkg/errors v0.8.0/go.mod" + "github.com/pkg/errors v0.8.1" + "github.com/pkg/errors v0.8.1/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/prometheus/client_golang v0.9.1/go.mod" + "github.com/prometheus/client_golang v0.9.3/go.mod" + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod" + "github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod" + "github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod" + "github.com/prometheus/common v0.4.0/go.mod" + "github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod" + "github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod" + "github.com/prometheus/tsdb v0.7.1/go.mod" + "github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod" + "github.com/russross/blackfriday/v2 v2.0.1" + "github.com/russross/blackfriday/v2 v2.0.1/go.mod" + "github.com/sergi/go-diff v1.0.0" + "github.com/sergi/go-diff v1.0.0/go.mod" + "github.com/shurcooL/githubv4 v0.0.0-20191127044304-8f68eb5628d0" + "github.com/shurcooL/githubv4 v0.0.0-20191127044304-8f68eb5628d0/go.mod" + "github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f" + "github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f/go.mod" + "github.com/shurcooL/sanitized_anchor_name v1.0.0" + "github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod" + "github.com/sirupsen/logrus v1.2.0/go.mod" + "github.com/soheilhy/cmux v0.1.4/go.mod" + "github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod" + "github.com/spf13/afero v1.1.2/go.mod" + "github.com/spf13/cast v1.3.0/go.mod" + "github.com/spf13/cobra v0.0.6" + "github.com/spf13/cobra v0.0.6/go.mod" + "github.com/spf13/jwalterweatherman v1.0.0/go.mod" + "github.com/spf13/pflag v1.0.3" + "github.com/spf13/pflag v1.0.3/go.mod" + "github.com/spf13/pflag v1.0.5" + "github.com/spf13/pflag v1.0.5/go.mod" + "github.com/spf13/viper v1.4.0/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/objx v0.1.1/go.mod" + "github.com/stretchr/testify v1.2.1/go.mod" + "github.com/stretchr/testify v1.2.2/go.mod" + "github.com/stretchr/testify v1.3.0" + "github.com/stretchr/testify v1.3.0/go.mod" + "github.com/stretchr/testify v1.4.0" + "github.com/stretchr/testify v1.4.0/go.mod" + "github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod" + "github.com/ugorji/go v1.1.4/go.mod" + "github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod" + "github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod" + "github.com/yuin/goldmark v1.1.24" + "github.com/yuin/goldmark v1.1.24/go.mod" + "go.etcd.io/bbolt v1.3.2/go.mod" + "go.uber.org/atomic v1.4.0/go.mod" + "go.uber.org/multierr v1.1.0/go.mod" + "go.uber.org/zap v1.10.0/go.mod" + "golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5" + "golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod" + "golang.org/x/crypto v0.0.0-20200219234226-1ad67e1f0ef4" + "golang.org/x/crypto v0.0.0-20200219234226-1ad67e1f0ef4/go.mod" + "golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod" + "golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod" + "golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod" + "golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod" + "golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod" + "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod" + "golang.org/x/net v0.0.0-20200219183655-46282727080f" + "golang.org/x/net v0.0.0-20200219183655-46282727080f/go.mod" + "golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be" + "golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod" + "golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod" + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod" + "golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod" + "golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod" + "golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod" + "golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod" + "golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod" + "golang.org/x/sys v0.0.0-20181128092732-4ed8d59d0b35/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod" + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" + "golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod" + "golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod" + "golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae" + "golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod" + "golang.org/x/text v0.3.0" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/text v0.3.2" + "golang.org/x/text v0.3.2/go.mod" + "golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod" + "golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod" + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" + "golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod" + "golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod" + "google.golang.org/appengine v1.1.0" + "google.golang.org/appengine v1.1.0/go.mod" + "google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod" + "google.golang.org/grpc v1.19.0/go.mod" + "google.golang.org/grpc v1.21.0/go.mod" + "gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127" + "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" + "gopkg.in/resty.v1 v1.12.0/go.mod" + "gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod" + "gopkg.in/yaml.v2 v2.2.1/go.mod" + "gopkg.in/yaml.v2 v2.2.2" + "gopkg.in/yaml.v2 v2.2.2/go.mod" + "gopkg.in/yaml.v2 v2.2.8" + "gopkg.in/yaml.v2 v2.2.8/go.mod" + "gopkg.in/yaml.v3 v3.0.0-20200121175148-a6ecf24a6d71" + "gopkg.in/yaml.v3 v3.0.0-20200121175148-a6ecf24a6d71/go.mod" + "honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod" + ) +go-module_set_globals + SRC_URI="https://github.com/cli/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + KEYWORDS="~amd64" + S="${WORKDIR}/cli-${PV}" +fi + +LICENSE="MIT Apache-2.0 BSD BSD-2 MPL-2.0" +SLOT="0" + +RDEPEND=">=dev-vcs/git-1.7.3" +BDEPEND=">=dev-lang/go-1.13" + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}" + # Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS + unset LDFLAGS + emake +} + +src_install() { + dobin bin/gh + dodoc README.md +} |