From e773377026c28a1324d074e8af1039cc8c432eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 5 Dec 2022 20:55:32 +0100 Subject: [PATCH] app-alternatives/yacc: Use app-alternatives.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-alternatives/yacc/yacc-1-r2.ebuild | 56 ++++++++++---------------- 1 file changed, 22 insertions(+), 34 deletions(-) diff --git a/app-alternatives/yacc/yacc-1-r2.ebuild b/app-alternatives/yacc/yacc-1-r2.ebuild index e748c4e0ab73e..2a3e288c2f8b3 100644 --- a/app-alternatives/yacc/yacc-1-r2.ebuild +++ b/app-alternatives/yacc/yacc-1-r2.ebuild @@ -3,54 +3,42 @@ EAPI=8 -DESCRIPTION="yacc symlinks" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives" -SRC_URI="" -S=${WORKDIR} +ALTERNATIVES=( + "bison:>=sys-devel/bison-3.8.2-r1" + byacc:dev-util/byacc + "reference:>=dev-util/yacc-1.9.1-r7" +) -LICENSE="CC0-1.0" -SLOT="0" +inherit app-alternatives + +DESCRIPTION="yacc symlinks" 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="+bison byacc reference" -REQUIRED_USE="^^ ( bison byacc reference )" RDEPEND=" - bison? ( >=sys-devel/bison-3.8.2-r1 ) - byacc? ( dev-util/byacc ) - reference? ( >=dev-util/yacc-1.9.1-r7 ) !