Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 436190 Details for
Bug 373145
devmanual's eclass section should document and provide examples documentation tags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0003-eclass-writing-add-documentation-to-the-incorrect-us.patch
0003-eclass-writing-add-documentation-to-the-incorrect-us.patch (text/plain), 1.15 KB, created by
Michael Orlitzky
on 2016-06-02 15:05:22 UTC
(
hide
)
Description:
0003-eclass-writing-add-documentation-to-the-incorrect-us.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2016-06-02 15:05:22 UTC
Size:
1.15 KB
patch
obsolete
>From 53d3ea153e26b1f08900590db36b8b814430d922 Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <mjo@gentoo.org> >Date: Thu, 2 Jun 2016 10:47:19 -0400 >Subject: [PATCH 3/4] eclass-writing: add documentation to the incorrect usage > example. > >Now that we have guidelines for documenting eclasses, the "Handling >incorrect usage of an eclass" section is under-documented. This commit >adds the minimum required documentation (eclass header) to that >example. > >Gentoo-Bug: 373145 >--- > eclass-writing/text.xml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/eclass-writing/text.xml b/eclass-writing/text.xml >index 518cf2a..def2b89 100644 >--- a/eclass-writing/text.xml >+++ b/eclass-writing/text.xml >@@ -382,7 +382,10 @@ for an eclass to invoke die from the global scope. For example: > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >-# Purpose: Demonstration of die upon invalid EAPI usage. >+# @ECLASS: eapi-die.eclass >+# @MAINTAINER: >+# Gentoo Devmanual Project <devmanual@gentoo.org> >+# @BLURB: Calls die when used with an invalid EAPI. > > case ${EAPI:-0} in > 0) die "this eclass doesn't support EAPI 0" ;; >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 373145
:
436186
|
436188
| 436190 |
436192
|
451901