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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C25CA15802C for ; Mon, 16 Dec 2024 22:10:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FF06E0819; Mon, 16 Dec 2024 22:10:02 +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 D10ABE07F1 for ; Mon, 16 Dec 2024 22:10:00 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org, office@gentoo.org Subject: [gentoo-dev] [PATCH] office-ext-r1.eclass: Support EAPI-8 Date: Mon, 16 Dec 2024 23:09:56 +0100 Message-ID: <13672688.uLZWGnKmhe@tuxbrain.fritz.box> 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="nextPart2980862.e9J7NaK4W3"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: be938cdf-150e-4ab1-8094-dc01ae96aaed X-Archives-Hash: c1cf9f177ac4079f3bc5d67e88b74822 --nextPart2980862.e9J7NaK4W3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org, office@gentoo.org Subject: [PATCH] office-ext-r1.eclass: Support EAPI-8 Date: Mon, 16 Dec 2024 23:09:56 +0100 Message-ID: <13672688.uLZWGnKmhe@tuxbrain.fritz.box> MIME-Version: 1.0 =2D-- eclass/office-ext-r1.eclass | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/eclass/office-ext-r1.eclass b/eclass/office-ext-r1.eclass index 7e4d894483fe..9ee4561f0c11 100644 =2D-- a/eclass/office-ext-r1.eclass +++ b/eclass/office-ext-r1.eclass @@ -1,4 +1,4 @@ =2D# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 =20 # @ECLASS: office-ext-r1.eclass @@ -6,13 +6,13 @@ # The office team # @AUTHOR: # Tom=C3=A1=C5=A1 Chv=C3=A1tal =2D# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: Eclass for installing libreoffice extensions # @DESCRIPTION: # Eclass for easing maintenance of libreoffice extensions. =20 case ${EAPI} in =2D 7) ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac =20 @@ -70,11 +70,13 @@ fi # @CODE : "${OFFICE_EXTENSIONS_LOCATION:=3D${DISTDIR}}" =20 =2DIUSE=3D"" =2DRDEPEND=3D"" +# Most projects actually do not provide any relevant sourcedir as they are= =20 oxt. +S=3D"${WORKDIR}" + +IUSE=3D"$(printf 'office_implementation_%s ' ${OFFICE_IMPLEMENTATIONS[@]})" +REQUIRED_USE=3D"|| ( $(printf 'office_implementation_%s ' $ {OFFICE_IMPLEMENTATIONS[@]}) )" =20 for i in ${OFFICE_IMPLEMENTATIONS[@]}; do =2D IUSE+=3D" office_implementation_${i}" if [[ ${i} =3D=3D "libreoffice" ]]; then RDEPEND+=3D" office_implementation_${i}? ( @@ -86,19 +88,7 @@ for i in ${OFFICE_IMPLEMENTATIONS[@]}; do " fi done =2D =2DREQUIRED_USE=3D"|| ( " =2Dfor i in ${OFFICE_IMPLEMENTATIONS[@]}; do =2D REQUIRED_USE+=3D" office_implementation_${i} " =2Ddone =2DREQUIRED_USE+=3D" )" =2D =2DDEPEND=3D"${RDEPEND} =2D app-arch/unzip =2D" =2D =2D# Most projects actually do not provide any relevant sourcedir as they a= re=20 oxt. =2DS=3D"${WORKDIR}" +BDEPEND=3D"app-arch/unzip" =20 # @FUNCTION: office-ext-r1_src_unpack # @DESCRIPTION: =2D-=20 2.47.1 --nextPart2980862.e9J7NaK4W3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEESn1gz6RHOTQPAoX/ASQjMY0fts0FAmdgpTRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRB N0Q2MENGQTQ0NzM5MzQwRjAyODVGRjAxMjQyMzMxOEQxRkI2Q0QACgkQASQjMY0f ts1Skwv/YETEaaogyWDxa+3ylLTbLhDyM2ODnEFGrgOxJcUhfVOG0dyWiOJQxIND LZTXVLJwpLtB8+U+yg9rS0OlZWo0/VM39VvDsZXGx9Rv1Kve90b8jWR8mvutmHTw ChN0YD5yAPEjgNdkWuWWdFMRmTBmdValC9eNnOw9Op3/3BOo8D3vB37CDfPt4OTt a9R7IkRJ+YMrT9NMwSmy42GFFRQwg+mVd18Ep284f9TUOjVnV34+ais4CSgGckh7 OX+KTkdWPRPREI1ewwGFVa13/dP/8Sdvim8k+NmQ9Rz28Y/b6/2cVBlbdS8ZIGSj sSVGH+gKWpTKMnhgeS4fbDVIuSxWYDaF9QL5rhW/eeKvpzuOlYTFOklDTZzZ//mD E76sOsAVuRmTRzzy6kLhlWZ7MjDLagz3rjkk4Lhjb6WXeBbx1McHIy1YaRIwYoFI GYEB+h1crHU1xHusvGb/nlQgrQwZvspRExx6t4mk+7CfY5GLD9GRLDGdo8LfxSIn c4m1jjhZ =6FED -----END PGP SIGNATURE----- --nextPart2980862.e9J7NaK4W3--