commit: 6a0769f2c87384c5cba7c3a1ced122c428ad06e0 Author: Arian <arianxdehghani <AT> gmail <DOT> com> AuthorDate: Fri Dec 20 20:47:15 2024 +0000 Commit: Arian Dehghani <arianxdehghani <AT> gmail <DOT> com> CommitDate: Fri Dec 20 20:53:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a0769f2
app-crypt/sops: new package, add 3.9.2 Signed-off-by: Arian <arianxdehghani <AT> gmail.com> app-crypt/sops/Manifest | 2 ++ app-crypt/sops/metadata.xml | 13 +++++++++++++ app-crypt/sops/sops-3.9.2.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/app-crypt/sops/Manifest b/app-crypt/sops/Manifest new file mode 100644 index 000000000..b9f548075 --- /dev/null +++ b/app-crypt/sops/Manifest @@ -0,0 +1,2 @@ +DIST sops-3.9.2-vendor.tar.xz 5316320 BLAKE2B e45f25fc5cf8d76abd1b62a5886fe2dbceb9045551b8cd5e6369a9fcc40736973877ac134876f021c76e6d2debbc6c64ee259c28edfef375352c97a7c3891a8f SHA512 cc91beb05a0b0489729af8be81f70c1b1db90f0bdc7658bc4ce9f78fbb22880cd47f9011108fe8cd36fafaa2dcf7471d82163300efd6d0fab3b4b9ec43e305b8 +DIST sops-3.9.2.tar.gz 251323 BLAKE2B 97aad0fef7f83c61c94425d20dbdb428a79f3d333c636548b3dcce186ffe22f8da79826de1a25647e417773c88e4a32f75bacddc83d8e6a0f33f013d693e71a7 SHA512 6914c010604aae9694092550864dfe93c89497fac251926f50bd5084a280c82250072308755c16a76309f81542f4b0da9b42e21cdef06fd239bab8c3378e1dca diff --git a/app-crypt/sops/metadata.xml b/app-crypt/sops/metadata.xml new file mode 100644 index 000000000..3956c5f78 --- /dev/null +++ b/app-crypt/sops/metadata.xml @@ -0,0 +1,13 @@ +<?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>Arian Dehghani</name> + </maintainer> + <upstream> + <remote-id type="github">getsops/sops</remote-id> + <bugs-to>https://github.com/getsops/sops/issues</bugs-to> + <changelog>https://github.com/getsops/sops/blob/main/CHANGELOG.rst</changelog> + </upstream> +</pkgmetadata> diff --git a/app-crypt/sops/sops-3.9.2.ebuild b/app-crypt/sops/sops-3.9.2.ebuild new file mode 100644 index 000000000..608ff82b4 --- /dev/null +++ b/app-crypt/sops/sops-3.9.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Simple And Flexible Tool For Managing Secrets" +HOMEPAGE="https://getsops.io/" +SRC_URI="https://github.com/getsops/sops/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/Arian-D/sops-deps/releases/download/${PV}/${P}-vendor.tar.xz" + +LICENSE="MPL-2.0" +SLOT="0" + +KEYWORDS="~amd64 ~arm64" + +src_compile() { + ego build +} + +src_test() { + ego test +} + +src_install() { + GOBIN="${S}/bin" ego install ./... + dobin bin/${PN} + dodoc README.rst + default +}
