diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-03-13 15:55:12 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-03-13 15:55:12 +0100 |
commit | 676906322f53903dcaa3a5a6e635b2239831eba1 (patch) | |
tree | 2606986c1c41edcb1f42f12f92ae967a68931deb /dev-util | |
parent | profiles/prefix/aix: p.use.mask stdbuf for <coreutils-8.27 (diff) | |
download | gentoo-676906322f53903dcaa3a5a6e635b2239831eba1.tar.gz gentoo-676906322f53903dcaa3a5a6e635b2239831eba1.tar.bz2 gentoo-676906322f53903dcaa3a5a6e635b2239831eba1.zip |
dev-util/docker-ls: Initial version
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/docker-ls/Manifest | 3 | ||||
-rw-r--r-- | dev-util/docker-ls/docker-ls-0.2.1_p20161102.ebuild | 41 | ||||
-rw-r--r-- | dev-util/docker-ls/metadata.xml | 8 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/docker-ls/Manifest b/dev-util/docker-ls/Manifest new file mode 100644 index 000000000000..732562a6fcd7 --- /dev/null +++ b/dev-util/docker-ls/Manifest @@ -0,0 +1,3 @@ +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 diff --git a/dev-util/docker-ls/docker-ls-0.2.1_p20161102.ebuild b/dev-util/docker-ls/docker-ls-0.2.1_p20161102.ebuild new file mode 100644 index 000000000000..fb27cf998d6f --- /dev/null +++ b/dev-util/docker-ls/docker-ls-0.2.1_p20161102.ebuild @@ -0,0 +1,41 @@ +# 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="3c5e2decd5c6717d4f375a2588179758d62bb591" +EGO_VENDOR=( "gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.com/go-yaml/yaml" + "golang.org/x/crypto 728b753d0135da6801d45a38e6f43ff55779c5c2 github.com/golang/crypto" ) + +inherit golang-build golang-vcs-snapshot + +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/jessfraz/reg" +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" +LICENSE="MIT" +SLOT="0" +IUSE="" + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "s/\"git\", \"rev-parse\", \"--short\", \"HEAD\"/\"echo\", \"${EGIT_COMMIT:0:8}\"/"\ + src/${EGO_PN%/*}/generators/version.go || die +} + +src_compile() { + pushd src || die + GOPATH="${WORKDIR}/${P}" go generate ${EGO_PN} || die + GOPATH="${WORKDIR}/${P}" go install ${EGO_PN%/*}/cli/... || die + popd || die +} + +src_install() { + dobin bin/* +} diff --git a/dev-util/docker-ls/metadata.xml b/dev-util/docker-ls/metadata.xml new file mode 100644 index 000000000000..97df2a00971b --- /dev/null +++ b/dev-util/docker-ls/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> |