commit:     1bde9d286110d46977104978331802a0c8dca095
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 01:17:05 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 01:17:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bde9d28

app-containers/syft: add 0.47.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-containers/syft/Manifest           |  2 ++
 app-containers/syft/syft-0.47.0.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/app-containers/syft/Manifest b/app-containers/syft/Manifest
index 9b3293a93e5f..a44477d767c7 100644
--- a/app-containers/syft/Manifest
+++ b/app-containers/syft/Manifest
@@ -1,2 +1,4 @@
 DIST syft-0.45.1-deps.tar.xz 619145524 BLAKE2B 
c39ce29edb6820ff620f2d25b564084b2328f24cd453aad0cfed3a799768ff5e18f6de2fd11d981c544b6f377bb8ef64433158c71cab63c184587e648ab6bae0
 SHA512 
f734266b51956543e2aa94b62d47abeb45fa63de31b4f2d2d6e084b2c9233a1a0dbd36890523f54836d4e341c6fb38c3a2a0aca775a8ce2ca2bf3672e7dfbd72
 DIST syft-0.45.1.tar.gz 3826388 BLAKE2B 
9600f44d4d0390c2cda422ccec04ab8f27165ed00cb031dfc441e21a156f5abfb1e63ed26bbc5795b074d2b8f578486624f8a88c87248a5c70a02268d728bbf2
 SHA512 
938af62b5c9d724d206db98174892bede409f4bfb9199d636cf3cedfa605cc79f2e4d9c2b49868e4f9ac1ab64d05b42849d15c9f28bf4c7a2b531449f346ef85
+DIST syft-0.47.0-deps.tar.xz 631564724 BLAKE2B 
4eb6dedb2173d5dda214b4bb450fa6e85c1946ee8388064d8a7beb3f9fd4589ede95069b1ade378e04320326f012af155375b67c9502026454d4b97cb5183be6
 SHA512 
e2d0ff159be544a525a9628ad698499735073323e6b91531c636bc6ca15acfd3ee0625b87abc76dd74eaceffd912f98845c0f4126a364672414fac29cd7b3af7
+DIST syft-0.47.0.tar.gz 3846983 BLAKE2B 
2833b360de24fc8c5ca2073bc776e2d33f8c78d7d25f8a622e8420b528e4c517c1298c1479d916a2a90b97cb44f1b5e407a9dc2a09016e7ccf6238d0050eb696
 SHA512 
997d6e7139be8c686ee38df9fe42fa50dac17e522c51db005628cf3fd6a97ef9f9758e86fe6c6e58a199d852bc4eeac88b3932c5f3847547382987cd02260551

diff --git a/app-containers/syft/syft-0.47.0.ebuild 
b/app-containers/syft/syft-0.47.0.ebuild
new file mode 100644
index 000000000000..2c42d972b97c
--- /dev/null
+++ b/app-containers/syft/syft-0.47.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Generate a Software Bill of Materials from container images and 
filesystems"
+HOMEPAGE="https://www.anchore.com";
+SRC_URI="https://github.com/anchore/syft/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+       ego build -o bin/syft ./cmd/syft
+}
+
+src_install() {
+dobin bin/*
+}

Reply via email to