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 06597138334 for ; Sun, 23 Sep 2018 19:33:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62E3FE0872; Sun, 23 Sep 2018 19:33:39 +0000 (UTC) Received: from avasout05.plus.net (avasout05.plus.net [84.93.230.250]) (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 ECD76E086E for ; Sun, 23 Sep 2018 19:33:38 +0000 (UTC) Received: from [192.168.6.147] ([212.159.46.162]) by smtp with ESMTP id 4A8LgeMYY05ij4A8NghNgb; Sun, 23 Sep 2018 20:33:37 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=QJJGuDDL c=1 sm=1 tr=0 a=RuViaDnnNG9rfPLW4VJocg==:117 a=RuViaDnnNG9rfPLW4VJocg==:17 a=13zjGPudsaEWiJwPRgMA:9 a=7mOBRU54AAAA:8 a=owiGy8azA6J2rcyAQcYA:9 a=QEXdDO2ut3YA:10 a=gbuZ3yVci1wqVK2Jq2AA:9 a=ONNS8QRKHyMA:10 a=wa9RWnbW_A1YIeRBVszw:22 Subject: Re: [gentoo-dev] [PATCH] udev.eclass: support EAPI 7 To: gentoo-dev@lists.gentoo.org, Mike Gilbert Cc: udev-bugs@gentoo.org References: <20180923152017.26128-1-floppym@gentoo.org> From: "M. J. Everitt" Openpgp: id=BA266E0525CFAB101523351B4C30334F93C22371 Autocrypt: addr=m.j.everitt@iee.org; prefer-encrypt=mutual; keydata= xsFNBFngC8gBEAC8/nQZrVrr8v0kaD4OLw8UftKfPQFEMGY/rnFA81M9IvdyPP8/8u/+9AGc D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YAQgADwUCWeALyAIbDAUJA8JnAAAKCRBj58Z59NQx3cwiEACpDgKf6ZlEx27TWzoV73v/ FV0Zy2vz+pqIIw2BKb1PbuEJnluZnWQ/u9nVCRoIQKDU5IHS+DoR76iTOUTiVmE+9ZltAHYi 9QRAHlwWdFkZqkoTNvrHw7pA0oOhgqC3k1n3FpAbT8GFZeIKRqgWCacTMBepMJRlz46nQ/CX 4Eh2HwrJrbgJJaMpNqoh+hJee7ev/TXV+OFLc310tJSZhSPXo9NkWGHu631RjOJl4Xf0vE4t Zy4aNE94NjMUOILjmaTp78HBUbsgqZrdl/wu2HbNNF5IKWwnyYRAeF9l73JuQwXLMrVQxbqP P9XiQqgKT4CF3xxdiXCS3Hq5s3OQLouFg03LGHyMAMtsP+8PepndmL/i79s/Mp0WYcJK6XAm Mi+Xknfi5Lay1oAjYu8UvGOWo5nOq62saN/bXG8/m+qqiueMOTDGXHZfklBglW5p6VYJd2eY W1teykJa7oGAOsiePl+z4UllNTBQVzhRPfmc/O3Yg6JJbISqHw84IWDINVUAN6wldIay83Tr gc1aAXDepgf6aNDbbWiQ+BBBJkAOGYTG9pnAaNMUKM65dkN7WufV2fwJHn900f2vzKyFYkKF bIiuODXBTfJG1yvMUQIgnDBYUBuBdDXB3NhOG8nHOJSQXTdI+Ma9ZMkxmVCxV9RXFPYBO8ji nurTf8FtGwnuig== Message-ID: Date: Sun, 23 Sep 2018 20:33:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 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 MIME-Version: 1.0 In-Reply-To: <20180923152017.26128-1-floppym@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qOzmOrZg9uvSfzkQQ1wLJ3uY1AuYqOxQv" X-CMAE-Envelope: MS4wfH65HQXnllKB4bQUSgD4zxq2wBRko3nkBptAUHeKIfvBN3on47B+4He/AbCzXLuIpNX2mP+q5b+HIdLNyuzd4cUu7TKo0y7XPs7dflvxPqlaFC+GxSra a1hr+vIF9ZI1lGUWyWC1AQsEU+B5sCKOAy+AAGBGwXa4At2bFtRJUrbtyfwgp3cFWbBogDkxpEgrYg== X-Archives-Salt: 5f28e417-74e6-4cbf-bf30-6b8f1c12e62c X-Archives-Hash: d05dbd6d188e912cc1d9ad60add2f358 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qOzmOrZg9uvSfzkQQ1wLJ3uY1AuYqOxQv Content-Type: multipart/mixed; boundary="ive33rQnYig35aS4hiLhFGb1qLNfC208z"; protected-headers="v1" From: "M. J. Everitt" To: gentoo-dev@lists.gentoo.org, Mike Gilbert Cc: udev-bugs@gentoo.org Message-ID: Subject: Re: [gentoo-dev] [PATCH] udev.eclass: support EAPI 7 References: <20180923152017.26128-1-floppym@gentoo.org> In-Reply-To: <20180923152017.26128-1-floppym@gentoo.org> --ive33rQnYig35aS4hiLhFGb1qLNfC208z Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-GB On 23/09/18 16:20, Mike Gilbert wrote: > Signed-off-by: Mike Gilbert > --- > eclass/udev.eclass | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > > diff --git a/eclass/udev.eclass b/eclass/udev.eclass > index 4f23c9ebbdf8..baf60584938f 100644 > --- a/eclass/udev.eclass > +++ b/eclass/udev.eclass > @@ -1,10 +1,10 @@ > -# Copyright 1999-2014 Gentoo Foundation > +# Copyright 1999-2018 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > =20 > # @ECLASS: udev.eclass > # @MAINTAINER: > # udev-bugs@gentoo.org > -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 > +# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 > # @BLURB: Default eclass for determining udev directories. > # @DESCRIPTION: > # Default eclass for determining udev directories. > @@ -34,12 +34,16 @@ _UDEV_ECLASS=3D1 > inherit toolchain-funcs > =20 > case ${EAPI:-0} in > - 0|1|2|3|4|5|6) ;; > + 0|1|2|3|4|5|6|7) ;; > *) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established." > esac > =20 > -RDEPEND=3D"" > -DEPEND=3D"virtual/pkgconfig" > +if [[ ${EAPI:-0} =3D=3D [0123456] ]]; then > + RDEPEND=3D"" > + DEPEND=3D"virtual/pkgconfig" > +else > + BDEPEND=3D"virtual/pkgconfig" > +fi > =20 > # @FUNCTION: _udev_get_udevdir > # @INTERNAL Hate to nit-pick, but this *is* Gentoo .. the last IF, if EAPI <> 7 then BDEPEND could also be dragged in, probably better to explicitly mention '= 7'. Cheers, Michael. Replying off-list due to black-listing. --ive33rQnYig35aS4hiLhFGb1qLNfC208z-- --qOzmOrZg9uvSfzkQQ1wLJ3uY1AuYqOxQv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJbp+qNAAoJEGPnxnn01DHdor8P/RRH3aSoQ17OaVkRTs1ZOXel Sp6nFLjlKgzHSZgKqzUdW9B46gJCJygFohf/28Xpjx1X+RXfSmJf7CFSOCeyNUqA qsrkBDx47k4CmWNJosDvS9Xie+GivtY+wF0eTFJK0sVcxOuMtbxQHHYgdO6qiK1r d4fbBI8LGvsxwlH1EH6ucgGR2snkP2Kt3z+LxZ8385h1o3MDjE/gCW0nhAZXdLm8 VRrGrHjk8U/in1OV8CSZaTmDiNgjITdvkU64npHvyVWJoDkA6gP1Z30ynhY3n38w gMClWITB4uwXlxO8FTHb6or8ajutQI3U4tsWxah1QOL4igfx75cHcua7zrA5F4xf wsOvKiAGHSeAf9dU7KlVV3rs0P600GNFLJf+Hd1g/b8TvVf6/ta1HF3MNfMtGfuW k5qd7RKB90Ngd+J2QZQ8FRJEpS29kAzC7+mKOc0iOKAjJfKGbqDwq2aSSVktrr9I LhRdXk75sP8AqyZn/alpW9uI+YVA4sO1LMD6+Obhx4LpPYfT/TFJaf0vfV/0e4xi Ig7fPSKioTMzdop/iqRlvoy7G5KmnKiGmEsZrvutW7wnLCAzwgaDzps1lc9xdTat f9cw19lpfnjhKyspIW/IxWFPqdqS38mOQRxdbJhw6tW4lLVy1RXXwhr5tDNoy51j va24RvOoh6cxP6fpuk5R =Prwh -----END PGP SIGNATURE----- --qOzmOrZg9uvSfzkQQ1wLJ3uY1AuYqOxQv--