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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF22C138334 for ; Fri, 20 Dec 2019 13:44:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6005E09FA; Fri, 20 Dec 2019 13:44:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8721BE09F7 for ; Fri, 20 Dec 2019 13:44:09 +0000 (UTC) Received: from a1i15 (a1i15.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 17C6D34DA55 for ; Fri, 20 Dec 2019 13:44:07 +0000 (UTC) From: Ulrich =?utf-8?Q?M=C3=BCller?= To: Subject: [gentoo-dev] [PATCH v2 3/3] elisp.eclass: Depend on app-editors/emacs directly. References: Date: Fri, 20 Dec 2019 14:44:04 +0100 In-Reply-To: ("Ulrich \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=BCller\=22's\?\= message of "Wed, 18 Dec 2019 12:08:16 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) 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 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 95d142ac-d5cc-4f3f-9ff5-9420216b933c X-Archives-Hash: 387ca16f3b477c88d7550b781c2c8a89 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This replaces the indirect dependency on virtual/emacs. Update pkg_setup() to call elisp-check-emacs-version instead of the now deprecated elisp-need-emacs. Signed-off-by: Ulrich M=C3=BCller =2D-- eclass/elisp.eclass | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index df160ea01e2..2b50111a535 100644 =2D-- a/eclass/elisp.eclass +++ b/eclass/elisp.eclass @@ -30,8 +30,8 @@ # @DEFAULT_UNSET # @DESCRIPTION: # If you need anything different from Emacs 23, use the NEED_EMACS =2D# variable before inheriting elisp.eclass. Set it to the major version =2D# your package uses and the dependency will be adjusted. +# variable before inheriting elisp.eclass. Set it to the version your +# package uses and the dependency will be adjusted. =20 # @ECLASS-VARIABLE: ELISP_PATCHES # @DEFAULT_UNSET @@ -70,7 +70,7 @@ esac EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,install} \ pkg_{setup,postinst,postrm} =20 =2DRDEPEND=3D">=3Dvirtual/emacs-${NEED_EMACS:-23}" +RDEPEND=3D">=3Dapp-editors/emacs-${NEED_EMACS}:*" case ${EAPI} in 4|5|6) DEPEND=3D"${RDEPEND}" ;; *) BDEPEND=3D"${RDEPEND}" ;; @@ -78,16 +78,11 @@ esac =20 # @FUNCTION: elisp_pkg_setup # @DESCRIPTION: =2D# Test if the eselected Emacs version is sufficient to fulfil the major +# Test if the eselected Emacs version is sufficient to fulfil the # version requirement of the NEED_EMACS variable. =20 elisp_pkg_setup() { =2D elisp-need-emacs "${NEED_EMACS:-23}" =2D case $? in =2D 0) ;; =2D 1) die "Emacs version too low" ;; =2D *) die "Could not determine Emacs version" ;; =2D esac + elisp-check-emacs-version } =20 # @FUNCTION: elisp_src_unpack =2D-=20 2.24.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEZlHkP3TnuTbxrN0HwwkGhRxhwnMFAl380CQACgkQwwkGhRxh wnPuNQf8DBY9Oh6z6aSqMAmeIjN/JDoVT/WYLBlzRZolCogozKBlxQYXed9eP8DS 7kiW9en4KWVCRhfl79Pbg76j3CqVzEMCx7vGxqR5UeNuJk2cskRblZbIBLbQB7HR zbl0pGizvvXi29KQu3slNG+hrd6tJotvzT2jWo9fevxVQWXHmXAUDmy71nKtnfGR qSY51YMvUu0c/gGSdB8tEzP5ufmYMl0PAUWOqhf9W3Z3QcbsCLd4z1a7C0TNgG38 IAwoY+lK2z0ScoYlXOQ7o3RqfUxCt0+nSiBOuX17V2cN9FuY99Qc8sGxa3mKVt/2 suGe4WgAVfqzUcW+0uKSV7qF2ogS2g== =/jdE -----END PGP SIGNATURE----- --=-=-=--