diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-11-22 17:24:59 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-11-22 17:24:59 +0100 |
commit | 0a580b5b453bf4788bd1eb853a88fbed2ece7593 (patch) | |
tree | 27281cefcc2851373807552c0696eac558e6967d /dev-util/docker-ls | |
parent | media-video/smplayer: Removed old. (diff) | |
download | gentoo-0a580b5b453bf4788bd1eb853a88fbed2ece7593.tar.gz gentoo-0a580b5b453bf4788bd1eb853a88fbed2ece7593.tar.bz2 gentoo-0a580b5b453bf4788bd1eb853a88fbed2ece7593.zip |
dev-util/docker-ls: Version bump to 0.3.1
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-util/docker-ls')
-rw-r--r-- | dev-util/docker-ls/Manifest | 7 | ||||
-rw-r--r-- | dev-util/docker-ls/docker-ls-0.3.1.ebuild | 48 |
2 files changed, 52 insertions, 3 deletions
diff --git a/dev-util/docker-ls/Manifest b/dev-util/docker-ls/Manifest index 732562a6fcd7..01d45bd73055 100644 --- a/dev-util/docker-ls/Manifest +++ b/dev-util/docker-ls/Manifest @@ -1,3 +1,4 @@ -DIST docker-ls-0.2.1_p20161102.tar.gz 20313 SHA256 57d33772857ad7a013719f6a73c79ee7744a2c93cfae33f3e6fb352be228f1ed SHA512 fd44fcb21db696e9565b8e4e84ef4aaeee7d1101fc0e1f2978a452cc8ec8016fce47508afe201b7096f06066b030eedd9d78c8d3408ca82d2e96431661857e3f WHIRLPOOL 2c6861dad8d63a44e6fe45317962cb9f2a730543eaea5728a1bcfdbaca9f666f5d162a97194ba0b6fafe92d2c07584777afa901210c90fecc0bc0f8acbc8c8c6 -DIST github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz 60814 SHA256 0904953c06aa32c6691cec2390437f7d4d62c71f37d72f50d110a6577c87963b SHA512 184a0e658a4eac3b867533cd0e494bd84db94fbe10e8df0d0b755c7ffc95bc99e2f84c0157183ca74cdc79289a85dcf7f1dea8a4c89a253565baf473b3627eae WHIRLPOOL c9113048502f65a4036bbfbd4f072b27b41f68547e682d1e1496ae73c65c30b1470061d1f99d17e6b4a373e59e07568b460ad5396eb4b1f16079da077aa8382f -DIST github.com-golang-crypto-728b753d0135da6801d45a38e6f43ff55779c5c2.tar.gz 1317212 SHA256 1a17e324c6e96bea0f55f9900405d9ddb296c3a2ab55ad5882e716160575016f SHA512 163ca4b00188133d5c4d82dd685deaf2b889ae76b97021697d96dd8f11675a57361352e204d774a6fb7941f45dc8027ddb324abf0a4799ed19c3052181536992 WHIRLPOOL 09f69af205a74f275ce21565e16594603d0a2a84e8e412fdf652360a1472503e05329035ba10f0757127a7f6f1ebcc307c656f44c074f96bec767f4f51f573e2 +DIST docker-ls-0.2.1_p20161102.tar.gz 20313 BLAKE2B 5dd9fa07934327851d60accac653ab05353c2d919811e7d7b2efe740b1e31915bf76659af6f96c76ff41c73e98adf5d70d67aaa6f1cfa8a1431266e8efc90fba SHA512 fd44fcb21db696e9565b8e4e84ef4aaeee7d1101fc0e1f2978a452cc8ec8016fce47508afe201b7096f06066b030eedd9d78c8d3408ca82d2e96431661857e3f +DIST docker-ls-0.3.1.tar.gz 7308660 BLAKE2B eaedd07cef81da01c2d0c629867f5c3841900f839cecc9049c81b11bbbcb864ff4e8048068688832660961221b499710db45cbe417f326ec019f473dff0d6a4a SHA512 8ae831222e03b7dcb90121c2e6dea7bdc442418aa6dcc3905db82f6fd1ceb78a048d6fc2a2ef9bf0dea21a6e9d601ad77e25c077de7632057994f614d484fb99 +DIST github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz 60814 BLAKE2B a77b7d72e2937af71a0734c21bee7a1d7770157c27f1ddfa164c66fd5461f86a2ef46e002087092ef011caae572838bcc9537a8290cd54dfafb7f54423e47c48 SHA512 184a0e658a4eac3b867533cd0e494bd84db94fbe10e8df0d0b755c7ffc95bc99e2f84c0157183ca74cdc79289a85dcf7f1dea8a4c89a253565baf473b3627eae +DIST github.com-golang-crypto-728b753d0135da6801d45a38e6f43ff55779c5c2.tar.gz 1317212 BLAKE2B 00078092ba94d76ef3111401707de65c254ad13a2737b63d00b123aee9020acc83d016781e65bab4dc23a5697898498e744f0c2f6bd58c0e6f73b47af4b1c9e5 SHA512 163ca4b00188133d5c4d82dd685deaf2b889ae76b97021697d96dd8f11675a57361352e204d774a6fb7941f45dc8027ddb324abf0a4799ed19c3052181536992 diff --git a/dev-util/docker-ls/docker-ls-0.3.1.ebuild b/dev-util/docker-ls/docker-ls-0.3.1.ebuild new file mode 100644 index 000000000000..554c4d8b4715 --- /dev/null +++ b/dev-util/docker-ls/docker-ls-0.3.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/mayflower/${PN}" +EGIT_COMMIT="d80310976c9707e261e57ebfa9acf4e0b1781460" + +inherit golang-build golang-vcs-snapshot bash-completion-r1 + +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Tools for browsing and manipulating docker registries" +HOMEPAGE="https://github.com/mayflower/docker-ls" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT" +SLOT="0" +IUSE="" + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "s/\"git\", \"rev-parse\", \"--short\", \"HEAD\"/\"echo\", \"${EGIT_COMMIT:0:7}\"/"\ + src/${EGO_PN}/generators/version.go || die +} + +src_compile() { + pushd src || die + GOPATH="${WORKDIR}/${P}" go generate ${EGO_PN}/lib/... || die + GOPATH="${WORKDIR}/${P}" go install ${EGO_PN}/cli/... || die + popd || die + bin/${PN} autocomplete bash > ${PN}.bash || die + bin/${PN} autocomplete zsh > ${PN}.zsh || die + bin/docker-rm autocomplete bash > docker-rm.bash || die + bin/docker-rm autocomplete zsh > docker-rm.zsh || die +} + +src_install() { + dobin bin/* + dodoc src/${EGO_PN}/{README,CHANGELOG}.md + newbashcomp ${PN}.bash ${PN} + newbashcomp docker-rm.bash docker-rm + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} + newins docker-rm.zsh _docker-rm +} |