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 A483115800F for ; Thu, 19 Jan 2023 16:40:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5731E08F4; Thu, 19 Jan 2023 16:40:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 CB8C3E08F4 for ; Thu, 19 Jan 2023 16:40:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id D4CD2340B1C for ; Thu, 19 Jan 2023 16:40:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9218285C for ; Thu, 19 Jan 2023 16:40:25 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1674076348.5e9afb6d818201028acbe922c6d86e9bf27dd860.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-functions.tex eclasses.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5e9afb6d818201028acbe922c6d86e9bf27dd860 X-VCS-Branch: master Date: Thu, 19 Jan 2023 16:40:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e83e309e-9cc6-4a8b-9440-8ec5e3c3772f X-Archives-Hash: 87bd6c2660d38eee919f0d93a7852cfc commit: 5e9afb6d818201028acbe922c6d86e9bf27dd860 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 14 09:28:01 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Jan 18 21:12:28 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=5e9afb6d Distinguish between "phase" and "phase function" Signed-off-by: Ulrich Müller gentoo.org> ebuild-functions.tex | 6 +++--- eclasses.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ebuild-functions.tex b/ebuild-functions.tex index 7d372fa..25164d4 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -477,9 +477,9 @@ source files from their respective locations, with notes concerning licensing if \featurelabel{default-phase-funcs} In EAPIs listed in table~\ref{tab:default-phase-function-table} as supporting \t{default_} phase functions, a function -named \t{default_}(phase) that behaves as the default implementation for that EAPI shall be defined -when executing any ebuild phase listed in the table. Ebuilds must not call these functions except -when in the phase in question. +named \t{default_}) that behaves as the default implementation for that EAPI shall +be defined when executing any ebuild phase function listed in the table. Ebuilds must not call +these functions except when in the phase in question. \ChangeWhenAddingAnEAPI{8} \begin{centertable}{EAPIs supporting \t{default_} phase functions} diff --git a/eclasses.tex b/eclasses.tex index 0b9b5d4..a4400e1 100644 --- a/eclasses.tex +++ b/eclasses.tex @@ -87,7 +87,7 @@ should the author wish to override it he can access the function in \t{foo.eclas \t{foo_src_compile}. \t{EXPORT_FUNCTIONS} must only be used on ebuild phase functions. The function that is aliased -must be named \t{eclassname_phasefunctionname}, where \t{eclassname} is the name of the eclass. +must be named \t{_}, where \t{} is the name of the eclass. If \t{EXPORT_FUNCTIONS} is called multiple times for the same phase function, the last call takes precedence. Eclasses may not rely upon any particular behaviour if they inherit another eclass 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 80BA8158030 for ; Sun, 26 Feb 2023 17:43:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5513E089C; Sun, 26 Feb 2023 17:43:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 88D6CE08A2 for ; Sun, 26 Feb 2023 17:43:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id BCE4B340D1B for ; Sun, 26 Feb 2023 17:42:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FFE58D5 for ; Sun, 26 Feb 2023 17:42:55 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1674076348.5e9afb6d818201028acbe922c6d86e9bf27dd860.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-functions.tex eclasses.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5e9afb6d818201028acbe922c6d86e9bf27dd860 X-VCS-Branch: eapi-9 Date: Sun, 26 Feb 2023 17:42:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfea5c79-0228-4884-b819-0c0b38ee8351 X-Archives-Hash: 43223fa82515c93e1e1c81f76f0cbfd9 Message-ID: <20230226174255.keMasVT_dXl9CfXNlYyVw8FYr4exIf3P10g7noTaZgI@z> commit: 5e9afb6d818201028acbe922c6d86e9bf27dd860 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 14 09:28:01 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Jan 18 21:12:28 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=5e9afb6d Distinguish between "phase" and "phase function" Signed-off-by: Ulrich Müller gentoo.org> ebuild-functions.tex | 6 +++--- eclasses.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ebuild-functions.tex b/ebuild-functions.tex index 7d372fa..25164d4 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -477,9 +477,9 @@ source files from their respective locations, with notes concerning licensing if \featurelabel{default-phase-funcs} In EAPIs listed in table~\ref{tab:default-phase-function-table} as supporting \t{default_} phase functions, a function -named \t{default_}(phase) that behaves as the default implementation for that EAPI shall be defined -when executing any ebuild phase listed in the table. Ebuilds must not call these functions except -when in the phase in question. +named \t{default_}) that behaves as the default implementation for that EAPI shall +be defined when executing any ebuild phase function listed in the table. Ebuilds must not call +these functions except when in the phase in question. \ChangeWhenAddingAnEAPI{8} \begin{centertable}{EAPIs supporting \t{default_} phase functions} diff --git a/eclasses.tex b/eclasses.tex index 0b9b5d4..a4400e1 100644 --- a/eclasses.tex +++ b/eclasses.tex @@ -87,7 +87,7 @@ should the author wish to override it he can access the function in \t{foo.eclas \t{foo_src_compile}. \t{EXPORT_FUNCTIONS} must only be used on ebuild phase functions. The function that is aliased -must be named \t{eclassname_phasefunctionname}, where \t{eclassname} is the name of the eclass. +must be named \t{_}, where \t{} is the name of the eclass. If \t{EXPORT_FUNCTIONS} is called multiple times for the same phase function, the last call takes precedence. Eclasses may not rely upon any particular behaviour if they inherit another eclass