From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 055571584F2 for ; Wed, 12 Mar 2025 20:15:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DC4CF343142 for ; Wed, 12 Mar 2025 20:15:43 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DA6EB11037F; Wed, 12 Mar 2025 20:15:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CA72311037F for ; Wed, 12 Mar 2025 20:15:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7ABF3343067 for ; Wed, 12 Mar 2025 20:15:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA35223C1 for ; Wed, 12 Mar 2025 20:15:40 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1741810535.58ef559be750b3cf04e73ef18dd867d54494edf5.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/skopeo/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-containers/skopeo/Manifest app-containers/skopeo/skopeo-1.18.0.ebuild X-VCS-Directories: app-containers/skopeo/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 58ef559be750b3cf04e73ef18dd867d54494edf5 X-VCS-Branch: master Date: Wed, 12 Mar 2025 20:15:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9dd46e24-38bd-4480-9fb0-d4a29907cdca X-Archives-Hash: 4a953e5f0196554fcc3cee64e420cf16 commit: 58ef559be750b3cf04e73ef18dd867d54494edf5 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Mar 12 20:07:12 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Mar 12 20:15:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ef559b app-containers/skopeo: add 1.18.0 Signed-off-by: Arthur Zamarin gentoo.org> app-containers/skopeo/Manifest | 1 + app-containers/skopeo/skopeo-1.18.0.ebuild | 63 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-containers/skopeo/Manifest b/app-containers/skopeo/Manifest index 3c16ede399f4..e1445da312bb 100644 --- a/app-containers/skopeo/Manifest +++ b/app-containers/skopeo/Manifest @@ -1,2 +1,3 @@ DIST skopeo-1.15.1.tar.gz 10709125 BLAKE2B aa688197fe0d803b6cb1f4e7c5c998a917e7d588fa41b9e6ede6d60fd1ef12f209e2f119bc29143bf92ae3349c1168e33f79cb36d6c7f5a1a22bcbf3f4e51792 SHA512 686d17da4a84d9029d688cfca08724576564ce2a05aed9380bf55059c244c90cffa3b21c2dbe84b19b746773e98d5f26e5ceaca58f7be26b656125977685c663 DIST skopeo-1.17.0.tar.gz 10682765 BLAKE2B 88e658a29bacaead26ef19309e2c138d5b689c04b56291a93f23765a97bcee0e3acfa82014babd5cf375127b78cc3ac4fb42b6ba3284632d43b1ac865a618969 SHA512 72cee72a88764a85252ff1812aff284215805db10708fdfd4f3c778d7efec16b8a0d4d26b966a2e18ca36eea9a98265d75e78967dfb3ea0bf94f98c3b61c6504 +DIST skopeo-1.18.0.tar.gz 10790607 BLAKE2B ebbd9c481fd9ae03ff853042276037a521a7911ded67006faa1b11d6a70affadce35bdcea67209250cde36196ae87f1206ba654f9a52c7ec833cb25fe6c0af1e SHA512 7d56d78b4e0299c187eb2ea46a2d6ac41a4ad30848e9f5fe43285af74c5207f6fc4ee98c15bd5114de7a660e52846f75c26632ae1aa3ccf656b504798a6b1d56 diff --git a/app-containers/skopeo/skopeo-1.18.0.ebuild b/app-containers/skopeo/skopeo-1.18.0.ebuild new file mode 100644 index 000000000000..09b078b37744 --- /dev/null +++ b/app-containers/skopeo/skopeo-1.18.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module linux-info + +DESCRIPTION="Work with remote container images registries" +HOMEPAGE="https://github.com/containers/skopeo" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/skopeo.git" +else + SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64" +fi + +# main +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +IUSE="btrfs device-mapper rootless" +RESTRICT="test" + +DEPEND=" + >=app-crypt/gpgme-1.5.5:= + btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) + device-mapper? ( >=sys-fs/lvm2-2.02.145:= ) + rootless? ( sys-apps/shadow:= ) +" +RDEPEND="${DEPEND} + app-containers/containers-common +" +BDEPEND="dev-go/go-md2man" + +pkg_setup() { + use btrfs && CONFIG_CHECK+=" ~BTRFS_FS" + use device-mapper && CONFIG_CHECK+=" ~MD" + linux-info_pkg_setup +} + +run_make() { + local emakeflags=( + BTRFS_BUILD_TAG="$(usex btrfs '' 'btrfs_noversion exclude_graphdriver_btrfs')" + CONTAINERSCONFDIR="${EPREFIX}/etc/containers" + LIBDM_BUILD_TAG="$(usex device-mapper '' 'libdm_no_deferred_remove exclude_graphdriver_devicemapper')" + LIBSUBID_BUILD_TAG="$(usex rootless 'libsubid' '')" + PREFIX="${EPREFIX}/usr" + ) + emake "${emakeflags[@]}" "$@" +} + +src_compile() { + run_make all completions +} + +src_install() { + # The install target in the Makefile tries to rebuild the binary and + # installs things that are already installed by containers-common. + dobin bin/skopeo + einstalldocs + doman docs/*.1 + run_make "DESTDIR=${D}" install-completions +}