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 0194D158043 for ; Thu, 18 Apr 2024 17:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE106E2A31; Thu, 18 Apr 2024 17:07:10 +0000 (UTC) Received: from mail.levelnine.at (wiki.levelnine.at [IPv6:2a01:4f8:201:8724::15]) (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 7EE6EE29F9 for ; Thu, 18 Apr 2024 17:07:10 +0000 (UTC) Received: from mail.levelnine.at (localhost [IPv6:::1]) by mail.levelnine.at (Postfix) with ESMTPA id 34C13650B3E2 for ; Thu, 18 Apr 2024 19:07:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=levelnine.at; s=mail; t=1713460029; bh=66D3w5Tk5Q2cv9KaR2xPofPlouY6XGkUUtpZWcTSkeg=; h=Date:From:To:Subject; b=aIrfoWJp6CaT8cIEWnZy1WIsqPGuCSPkG7sQZQTDwoHJGwVb23jc1b8dl/RtiSJRi Ajms260j10euwfYKZ+5YqmCtAmp5LXFdTwonaNDafcU72ciP7M8MLd8yu5uJkNjutT BD+niLJbG5CLvOim8Qm4mfZq0lxXk5iJqqtApbHo= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Date: Thu, 18 Apr 2024 19:07:09 +0200 From: Michael Mair-Keimberger To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] PATCH freedict: add support for EAPI8 Message-ID: <1e817e32a7ca3c4af71cd35ed6506103@levelnine.at> X-Sender: mmk@levelnine.at Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0386f59b-f863-43e5-bd67-0d6142f62c55 X-Archives-Hash: ba0d6e660ff298ad60b0fe8be47eafb3 Hi, This adds support for EAPI8 in freedict.eclass. The changes are minor. I've basically only added the github homepage. see also: https://github.com/gentoo/gentoo/pull/36165 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+" Regards, Michael