From 45da49e74586e6ab049c3e9e8df21b68e720a00e Mon Sep 17 00:00:00 2001 From: Daniel Solano Gómez Date: Mon, 1 Aug 2022 18:05:08 -0500 Subject: app-containers/amazon-ecr-credential-helper: add 0.6.0, drop 0.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Solano Gómez --- .../amazon-ecr-credential-helper/Manifest | 4 +-- .../amazon-ecr-credential-helper-0.1.0.ebuild | 31 ---------------------- .../amazon-ecr-credential-helper-0.6.0.ebuild | 29 ++++++++++++++++++++ 3 files changed, 31 insertions(+), 33 deletions(-) delete mode 100644 app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.1.0.ebuild create mode 100644 app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.6.0.ebuild (limited to 'app-containers') diff --git a/app-containers/amazon-ecr-credential-helper/Manifest b/app-containers/amazon-ecr-credential-helper/Manifest index 3068a61..b9c2d57 100644 --- a/app-containers/amazon-ecr-credential-helper/Manifest +++ b/app-containers/amazon-ecr-credential-helper/Manifest @@ -1,5 +1,5 @@ -DIST amazon-ecr-credential-helper-0.1.0.tar.gz 326639 BLAKE2B 7fdccb48f71fff58300e44f692124ceb254240c34dcbffd2bc751a4480e4c11651c41a0da3e658089ce878bbbc9e17c2fe5b12694f8ea0c6a56df747b7b383b4 SHA512 548467bff91a39e0f43bca38286b84064d1f501cea7418baea571cbd103690448027b479ed7e4eea82b309f28d74ed65d4f26e4cf3ed0dc66b2c68cf7c871cb5 DIST amazon-ecr-credential-helper-0.4.0.tar.gz 1542493 BLAKE2B dbb202324fc68ebdafc933c4e4f951e071a7e608db94519b26dd20ce618a492d0621f7c4f212f0e15d91e167e94ca2507a17bec38321028c1751e662d7faa43e SHA512 6cce35ad9ec77adbc3ec3cd17ffdfe80ce1b3a5f54cf3779010b870ee655e3ceb8f24f9a4ce86197e3959b611a4595862809e6773d487bed8bc590d4d34209c4 -EBUILD amazon-ecr-credential-helper-0.1.0.ebuild 831 BLAKE2B 9a5be71a4dffed143ed36e5e79317c2cf869e07dc1dcd1731e2675a83d6748e936e98d40a1962be3f2e726da9eb01a54ec3705dc2560cdfca4f6e3f8fa0ede3a SHA512 751b6831c1ef680c43fead4bee45214d67e6286f9f4b2c4e409184dbd153e81a22b87c23a712fb624f07fa0b76e6d0b2d3fa91785b40c3468fdfaa991eadc354 +DIST amazon-ecr-credential-helper-0.6.0.tar.gz 1331783 BLAKE2B 71679dc216e284949b38c053cfa52a3585a054afb780417eb2702fc54ee56999e23d200f8503911d25c1efa1791dfef366a2156a4ca0ddd5a052601207cd003b SHA512 12ba14c04175f39e1b53f1820b25c31b068a6502e70f8a5f7a8702a6ba561131eaf8f567379658e36bc20dd8299adbd819a0251c8efc18d6123495232c148fab EBUILD amazon-ecr-credential-helper-0.4.0.ebuild 828 BLAKE2B ec79deb5e98352b46f40c0fa4f6b395351af4acb60c92017d0eba4c15f93e8b0e1021a4828b6b4b6edb5984849508ca70cb350143b096e66f3a78dddd6a3578c SHA512 293df1b98487bbc0123761ae221ebf2ab61afd292d450d23fa17feadfc43388a018fab3ff56ff4136e81f99272cf87f7899d5984910284d91ef5aba39503aab0 +EBUILD amazon-ecr-credential-helper-0.6.0.ebuild 674 BLAKE2B 6ddcdbe6622e6fd696ed60d46a083e4afcff57bf87ee55708fd966ed4ebc8ed3de71f83dc7ce1925dd09d316c4c3f7e23919d1f9b58708eea7061ce8db12f022 SHA512 0fb5060393f04d6b7da98e5a771ecb9031e501ce06c8d211be5f8392de44098929548df9f64eaa1db1f9bd03a7966a30bf2f3190896c84855d229a512eb16384 MISC metadata.xml 254 BLAKE2B 2b84fe691bb03bd3bab9b940d8c95beba569d018f83451a447c3fe65bc56c9c4d71c277036fd1e45235fd1a972532027ab1b3726c79827c7239655df75580ea7 SHA512 0590e4d0253e87a4cace2209a206ed90a39d2ccc182fd531e87318fb689eb280a3aa1ab731db3c09d48ec47822e5086dbeed6a3ffd9a074f94b1d07b914bc4e0 diff --git a/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.1.0.ebuild b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.1.0.ebuild deleted file mode 100644 index d3ef3a9..0000000 --- a/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.1.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN=github.com/awslabs/${PN} - -EGIT_COMMIT="v${PV}" -SRC_URI="https://github.com/awslabs/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -# inherit golang-build golang-vcs-snapshot -inherit golang-base golang-vcs-snapshot - -DESCRIPTION="Automatically gets credentials for Amazon ECR on docker push/docker pull" -HOMEPAGE="https://github.com/awslabs/amazon-ecr-credential-helper" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_compile() { - ego_pn_check - set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ - go build -v -work -x ${EGO_BUILD_FLAGS} ${EGO_PN}/ecr-login/cli/docker-credential-ecr-login - echo "$@" - "$@" || die -} - -src_install() { - cd ${EGO_PN} - dobin docker-credential-ecr-login -} diff --git a/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.6.0.ebuild b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.6.0.ebuild new file mode 100644 index 0000000..e3e8a14 --- /dev/null +++ b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.6.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +EGO_PN=github.com/awslabs/${PN} + +inherit go-module + +EGO_VER="v${PV}" +SRC_URI="https://github.com/awslabs/${PN}/archive/${EGO_VER}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Automatically gets credentials for Amazon ECR on docker push/docker pull" +HOMEPAGE="https://github.com/awslabs/amazon-ecr-credential-helper" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/${P}/ecr-login" + +src_compile() { + ego build -v -work ${EGO_PN}/ecr-login/cli/docker-credential-ecr-login + echo "$@" + "$@" || die +} + +src_install() { + dobin docker-credential-ecr-login +} -- cgit v1.2.3-65-gdbad