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 6AD2713933E for ; Sun, 18 Jul 2021 20:46:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 445FAE0997; Sun, 18 Jul 2021 20:46:45 +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 F23D7E0965 for ; Sun, 18 Jul 2021 20:46:44 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev Subject: [gentoo-dev] [PATCH] virtualx.eclass: Support EAPI-8 Date: Sun, 18 Jul 2021 22:46:38 +0200 Message-ID: <2139995.vFx2qVVIhK@tuxbook> 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="nextPart2544117.lGaqSPkdTl"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 3ad8f920-8a6d-4136-91d8-19ad165dc8ee X-Archives-Hash: dd4ee083154063150d787c1bad5cd62c --nextPart2544117.lGaqSPkdTl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Andreas Sturmlechner To: gentoo-dev Subject: [PATCH] virtualx.eclass: Support EAPI-8 Date: Sun, 18 Jul 2021 22:46:38 +0200 Message-ID: <2139995.vFx2qVVIhK@tuxbook> Standardise include guard, fix minor typo. Signed-off-by: Andreas Sturmlechner --- eclass/virtualx.eclass | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index ca52e8d2815..f362327cf77 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -6,17 +6,16 @@ # x11@gentoo.org # @AUTHOR: # Original author: Martin Schlemmer -# @SUPPORTED_EAPIS: 6 7 -# @BLURB: This eclass can be used for packages that needs a working X environment to build. +# @SUPPORTED_EAPIS: 6 7 8 +# @BLURB: This eclass can be used for packages that need a working X environment to build. case ${EAPI:-0} in - [0-5]) die "virtualx.eclass: EAPI ${EAPI} is too old." ;; - 6|7) ;; - *) die "virtualx.eclass: EAPI ${EAPI} is not supported yet." ;; + 6|7|8) ;; + *) die "virtualx.eclass: EAPI ${EAPI:-0} is not supported." ;; esac -if [[ ! ${_VIRTUAL_X} ]]; then -_VIRTUAL_X=1 +if [[ ! ${_VIRTUAL_X_ECLASS} ]]; then +_VIRTUAL_X_ECLASS=1 # @ECLASS-VARIABLE: VIRTUALX_REQUIRED # @PRE_INHERIT -- 2.32.0 --nextPart2544117.lGaqSPkdTl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEexlipVqzuLtTjHMOREsPlv/SLMsFAmD0ky5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdC MTk2MkE1NUFCM0I4QkI1MzhDNzMwRTQ0NEIwRjk2RkZEMjJDQ0IACgkQREsPlv/S LMspwgf/U67oRXIpAjI5cJ4A+GZrGf9euQZTPrTXgZ9LXb4amjS5ZLB/QvigYWBa FGTTyRYzzvV0ah2ZWAixqPlUu5dCNjGG1q4rzjTxfO2pHEpMtCKIyEzM09NC7LAT HfbqE3Eay/rUVYad+jNjnDJnwC9RGWoX654bNyMT3oggMyhWsF/sYYSfQnKMsqh9 FfDxWF0kJ3EfZXOKKWXJh3L9Zr5g4IuXpf71oiLaMhZmzq4YYST6L6uAQlbj4hgI nLJQR0zj4/mHWnzWDMKt7XyARiIWVAbdyECI7nDvK0OIhg3e11Kr5fHdsEHoBKlr Trfs9B6hFTHvfWjgPwBc1MWrGOOH8g== =8vnd -----END PGP SIGNATURE----- --nextPart2544117.lGaqSPkdTl--