From d92d1a9c67d3b10af78977e3a8e7f86e8f7672eb Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Tue, 30 May 2023 11:32:52 +0300 Subject: [PATCH] add app-admin/argo-cd package --- app-admin/argo-cd/Manifest | 3 +++ app-admin/argo-cd/argo-cd-2.7.3.ebuild | 32 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 app-admin/argo-cd/Manifest create mode 100644 app-admin/argo-cd/argo-cd-2.7.3.ebuild diff --git a/app-admin/argo-cd/Manifest b/app-admin/argo-cd/Manifest new file mode 100644 index 0000000..3e77953 --- /dev/null +++ b/app-admin/argo-cd/Manifest @@ -0,0 +1,3 @@ +DIST argo-cd-2.7.3-vendor.tar.xz 8659800 BLAKE2B de9b5a53014c300d403881a8852a19fe164ea4b3b4f35a93ab01a343a50677b25b728ed842cc124ab2970f7c7214d3cb86457e9d0f1d56458d3aeda6dcc885f5 SHA512 128cd1d6cce6cb226ef3e1c2297617a91d69b1724fc3d0ea10240b987abb3f7b9330d4b5e7bef496b57e3fb140672d419fe82e42fa1f9d08b439895f2a3caf29 +DIST argo-cd-2.7.3.tar.gz 18077087 BLAKE2B 74fc2b14246b6bd60c94425ee14c810b6456fe247db54b0d169d07ffacf61694b06fdaf731fe108dc98a54f5a4422804519e7772eda483010480d07c7edb1c61 SHA512 61e338a14952d5498481737f81205e2ab9007dc3f8c0fe0eb723cd5ac4dc8d06da00450cebfba41445810d54bd3613faf65c1c5ad65d3f5cd5959213f35b36cd +EBUILD argo-cd-2.7.3.ebuild 810 BLAKE2B 10054466ff65983e72ba5a6147efa406b4dc0bf7ed55ae85dc3ac395e286d9249bd4d8dde6bfa37d6c21b4958dd2d0a27bf4867ed5f0fe4961ab0e69498aca1f SHA512 4826135b8fbb89003623074754738320cb904a9135021d8784c47c7bf8cba70a97215b6213ca7d39f1b5460555807d6b56f8f62e72e16e9e8542480b39ad4540 diff --git a/app-admin/argo-cd/argo-cd-2.7.3.ebuild b/app-admin/argo-cd/argo-cd-2.7.3.ebuild new file mode 100644 index 0000000..65cab98 --- /dev/null +++ b/app-admin/argo-cd/argo-cd-2.7.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +PACKAGE=github.com/argoproj/argo-cd/v2/common +CLI_NAME=argocd + +DESCRIPTION="CLI for Declarative continuous deployment for Kubernetes" +HOMEPAGE="https://argo-cd.readthedocs.io https://github.com/argoproj/argo-cd" +SRC_URI="https://github.com/argoproj/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://git.millerson.name/attachments/d072ec99-1f1d-42f6-b166-80297e755ed8 -> ${P}-vendor.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + ego build -v -ldflags "-X ${PACKAGE}.version=${PV} -X ${PACKAGE}.gitCommit=release" -o ${CLI_NAME} ./cmd +} + +src_install() { + dobin ${CLI_NAME} + + default +}