From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43501158021 for ; Tue, 6 Dec 2022 14:47:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23972E07DB; Tue, 6 Dec 2022 14:47:08 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 096BDE07D4 for ; Tue, 6 Dec 2022 14:47:08 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC62B34112E for ; Tue, 6 Dec 2022 14:47:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C430775 for ; Tue, 6 Dec 2022 14:47:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1670338000.cbe30238ca28ea10d944d120cae33e5ebd351fd0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-alternatives/tar/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-alternatives/tar/tar-0.ebuild X-VCS-Directories: app-alternatives/tar/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cbe30238ca28ea10d944d120cae33e5ebd351fd0 X-VCS-Branch: master Date: Tue, 6 Dec 2022 14:47:05 +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: 563c1ab6-de75-406f-b983-2c8b45409de9 X-Archives-Hash: 2d2cd550057694aeacf35fe4395688e9 commit: cbe30238ca28ea10d944d120cae33e5ebd351fd0 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 5 19:47:20 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Dec 6 14:46:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe30238 app-alternatives/tar: Use app-alternatives.eclass Signed-off-by: Michał Górny gentoo.org> app-alternatives/tar/tar-0.ebuild | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/app-alternatives/tar/tar-0.ebuild b/app-alternatives/tar/tar-0.ebuild index dc594b0f8933..b37377fa0f63 100644 --- a/app-alternatives/tar/tar-0.ebuild +++ b/app-alternatives/tar/tar-0.ebuild @@ -3,20 +3,18 @@ EAPI=8 -DESCRIPTION="Tar symlink" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives" -SRC_URI="" -S=${WORKDIR} +ALTERNATIVES=( + "gnu:>=app-arch/tar-1.34-r2" + libarchive:app-arch/libarchive +) + +inherit app-alternatives -LICENSE="CC0-1.0" -SLOT="0" +DESCRIPTION="Tar symlink" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+gnu libarchive split-usr" -REQUIRED_USE="^^ ( gnu libarchive )" +IUSE="split-usr" RDEPEND=" - gnu? ( >=app-arch/tar-1.34-r2 ) - libarchive? ( app-arch/libarchive ) !