commit: 75d95254739ba2d414c248f937edd730f6242699 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Wed Jan 4 00:37:20 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Wed Jan 4 00:38:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d95254
app-containers/skopeo: revbump 1.10.0-r1 to use the upstream Makefile Signed-off-by: William Hubbs <williamh <AT> gentoo.org> app-containers/skopeo/skopeo-1.10.0-r1.ebuild | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/app-containers/skopeo/skopeo-1.10.0-r1.ebuild b/app-containers/skopeo/skopeo-1.10.0-r1.ebuild new file mode 100644 index 000000000000..98396d981315 --- /dev/null +++ b/app-containers/skopeo/skopeo-1.10.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +COMMIT=ee60474d5a4d99745aac9855797ad4b26510d786 +inherit go-module + +DESCRIPTION="Command line utility foroperations on container images and image repositories" +HOMEPAGE="https://github.com/containers/skopeo" +SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="btrfs" + +COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= + >=dev-libs/libassuan-2.4.3:= + dev-libs/libgpg-error:= + btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) + >=sys-fs/lvm2-2.02.145:=" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + BDEPEND="dev-go/go-md2man" + +RESTRICT="test" + +src_compile() { + local BUILDTAGS + BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" + emake PREFIX=/usr BUILDTAGS="${BUILDTAGS}" GIT_COMMIT="${COMMIT}" \ + all completions +} + +src_install() { + emake PREFIX=/usr DESTDIR="${ED}" install + keepdir /var/lib/containers/sigstore +}