commit: de07b228fcdf0419acd6bd35a99c288f8f8afd1a Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 19 07:03:51 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sun Jan 19 07:04:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de07b228
app-containers/amazon-ecr-credential-helper: new package, add 0.9.0 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../amazon-ecr-credential-helper/Manifest | 2 ++ .../amazon-ecr-credential-helper-0.9.0.ebuild | 30 ++++++++++++++++++++++ .../amazon-ecr-credential-helper/metadata.xml | 12 +++++++++ 3 files changed, 44 insertions(+) diff --git a/app-containers/amazon-ecr-credential-helper/Manifest b/app-containers/amazon-ecr-credential-helper/Manifest new file mode 100644 index 000000000000..1492792f460d --- /dev/null +++ b/app-containers/amazon-ecr-credential-helper/Manifest @@ -0,0 +1,2 @@ +DIST amazon-ecr-credential-helper-0.9.0-deps.tar.xz 1473848 BLAKE2B 2c16b90951eb62d272b770acf83cd317aa04823277bdce858e4a2741122750199e761cfaaf2a5e477c5ff58209d4a656790a65473400edd1086559dc24ce7c8d SHA512 9830c4eb4cd2fe80a317a09f6bbad0a40493233a49f40d382fff50c438632762f98f23cb4f16340848ae5b67c0b9d3bf569250a1077107e1ceee4afcb83bb4f9 +DIST amazon-ecr-credential-helper-0.9.0.tar.gz 1934543 BLAKE2B 75a247fa8ba395de2274fcef45344ecf9918e032ce365a00cadde17f6f306197729fc77959306ccd11ddfb02272749f42b3f15e587e0eec4772576eb0a84c183 SHA512 354be080bbe83065191efc7c2814cae739944d9405f6472ca99f2a2b00365689ef33361dc1da6ae2e816e6544beb7f8947352752568736382bfb4d976cac7a74 diff --git a/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.9.0.ebuild b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.9.0.ebuild new file mode 100644 index 000000000000..5cab9a842201 --- /dev/null +++ b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Automatically gets credentials for Amazon ECR on docker push/docker pull" +HOMEPAGE="https://github.com/awslabs/amazon-ecr-credential-helper" +SRC_URI="https://github.com/awslabs/amazon-ecr-credential-helper/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/app-containers/${PN}/${P}-deps.tar.xz" +S=${WORKDIR}/${P}/ecr-login + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build ./cli/docker-credential-ecr-login +} + +src_test() { + ego test ./... +} + +src_install() { + dobin docker-credential-ecr-login + doman ../docs/docker-credential-ecr-login.1 + dodoc ../README.md +} diff --git a/app-containers/amazon-ecr-credential-helper/metadata.xml b/app-containers/amazon-ecr-credential-helper/metadata.xml new file mode 100644 index 000000000000..39b215f184f7 --- /dev/null +++ b/app-containers/amazon-ecr-credential-helper/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Arthur Zamarin</name> + </maintainer> + <upstream> + <remote-id type="github">awslabs/amazon-ecr-credential-helper</remote-id> + <changelog>https://github.com/awslabs/amazon-ecr-credential-helper/blob/main/CHANGELOG.md</changelog> + </upstream> +</pkgmetadata>
