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 63EAF158064 for ; Thu, 9 May 2024 19:54:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5A8D2BC019; Thu, 9 May 2024 19:54:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id 87BE92BC014 for ; Thu, 9 May 2024 19:54:56 +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 CF1DF340C33 for ; Thu, 9 May 2024 19:54:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 385AD1A7E for ; Thu, 9 May 2024 19:54:54 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1715284455.d08d86d18206b5d91330f1a91a3331d197205ed4.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/freedict.eclass X-VCS-Directories: eclass/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: d08d86d18206b5d91330f1a91a3331d197205ed4 X-VCS-Branch: master Date: Thu, 9 May 2024 19:54:54 +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: b0e4c29f-e692-4881-936c-c0eb43a25c28 X-Archives-Hash: b03c029ad830b793c7a052e40e1e1edf commit: d08d86d18206b5d91330f1a91a3331d197205ed4 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Mon Apr 8 18:48:14 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu May 9 19:54:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08d86d1 eclass/freedict.eclass: support EAPI8 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36165 Signed-off-by: Conrad Kostecki gentoo.org> eclass/freedict.eclass | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass index b649afc7c1af..a292e31f5139 100644 --- a/eclass/freedict.eclass +++ b/eclass/freedict.eclass @@ -6,14 +6,14 @@ # maintainer-needed@gentoo.org # @AUTHOR: # Original author: Seemant Kulleen -# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: Ease the installation of freedict translation dictionaries # @DESCRIPTION: # This eclass exists to ease the installation of freedict translation # dictionaries. case ${EAPI} in - 7) ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -23,12 +23,14 @@ _FREEDICT_ECLASS=1 # @ECLASS_VARIABLE: FREEDICT_P # @DESCRIPTION: # Strips PN of 'freedict' prefix, to be used in SRC_URI and doins -FREEDICT_P=${PN/freedict-/} +FREEDICT_P="${PN/freedict-/}" [[ ${FORLANG} ]] && die "FORLANG is banned, set DESCRIPTION instead" [[ ${TOLANG} ]] && die "TOLANG is banned, set DESCRIPTION instead" -HOMEPAGE="https://freedict.sourceforge.net/en/" +HOMEPAGE=" + https://freedict.sourceforge.net/en/ + https://github.com/freedict/fd-dictionaries" SRC_URI="https://freedict.sourceforge.net/download/linux/${FREEDICT_P}.tar.gz" LICENSE="GPL-2+"