From 89c6c06b8c42107dd231687a1012354e7d3039fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 Nov 2017 11:42:28 +0000 Subject: gentoo resync : 26.11.2017 --- dev-util/docker-ls/Manifest | 12 ++++---- dev-util/docker-ls/docker-ls-0.3.1.ebuild | 48 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 dev-util/docker-ls/docker-ls-0.3.1.ebuild (limited to 'dev-util/docker-ls') diff --git a/dev-util/docker-ls/Manifest b/dev-util/docker-ls/Manifest index 9c903da7a7a9..9ded2e244c8c 100644 --- a/dev-util/docker-ls/Manifest +++ b/dev-util/docker-ls/Manifest @@ -1,5 +1,7 @@ -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 -EBUILD docker-ls-0.2.1_p20161102.ebuild 1170 SHA256 824ab100e287cb5b7d86f94c7904d2f367b29e4ab14c34c154ff519550958095 SHA512 2408f1dd3b151ca426d4d7471dbb3a27e9818d265b51bc88fb101a62dffd6a65d10701816117a93bdf8f3cca8b9f4d5a8bcce5efbd7cc8e99e02adc337b43a9b WHIRLPOOL cd097d7a2646ad8a9df26fd46ac41ad005c3034639c3100cd0a2fadcfbcff61e41b058dfcb2f2bd827339d91bfcc253032d5ba25df58c339014a8f7baa676134 -MISC metadata.xml 323 SHA256 194ad0f93e814bce6eb2dfbe67b97e6612fb6f72d9a3ce566c1ea0be0e32810a SHA512 bf430f00f6338c4790ca536314d722968a2325a46714212c122ac4ad56c401acc88bb593a19c4df4042d4477a9607c73af06e7d1d26fefbfaeeabbccbaeec14f WHIRLPOOL bdac9d4edaaf1c6f5e73732f17c0d1c4d787588ccec0daa3a54f9d24cd8e1576cd2b83b0280526a66559267f4d2decab1d55b6386799ab7416ae553869e5b188 +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 +EBUILD docker-ls-0.2.1_p20161102.ebuild 1170 BLAKE2B ce06a50d5c034aecef7d93f6f0827c66d6bfb3247cb179cffd3e9c1aa70124ffc942d5d01b5eb806171341447feaea0d2b2263e7daa02fe1f9cfc4156040b8b4 SHA512 2408f1dd3b151ca426d4d7471dbb3a27e9818d265b51bc88fb101a62dffd6a65d10701816117a93bdf8f3cca8b9f4d5a8bcce5efbd7cc8e99e02adc337b43a9b +EBUILD docker-ls-0.3.1.ebuild 1347 BLAKE2B 0f3795a9d68db30770000123e0bcfd24f695eea8642ee69ceed114636f1eb41befeab3916f41f7672f5f5eeb5f20b11b41240e7172c7faa87cbbe5290c899d39 SHA512 dc20c433d8696b0b111630d0bce4a976f841b116d06d89fef96e543ec5faf86ad5af3ee523f4592071c28ca8ada0efe540445501cfc5f5279aa7e6bb15907fea +MISC metadata.xml 323 BLAKE2B 509388c3e74b1791db2db40b4386f905d811ed9a8e8b4ec374e78a7479e67b0f0b3c39c56d5070e9eee0070ef86c9dcef71c6668cacca6603416bf0792fb03de SHA512 bf430f00f6338c4790ca536314d722968a2325a46714212c122ac4ad56c401acc88bb593a19c4df4042d4477a9607c73af06e7d1d26fefbfaeeabbccbaeec14f 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 +} -- cgit v1.2.3