Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 436188 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]
0002-eclass-writing-add-documentation-to-the-first-existi.patch
0002-eclass-writing-add-documentation-to-the-first-existi.patch (text/plain), 1.86 KB, created by
Michael Orlitzky
on 2016-06-02 15:05:00 UTC
(
hide
)
Description:
0002-eclass-writing-add-documentation-to-the-first-existi.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2016-06-02 15:05:00 UTC
Size:
1.86 KB
patch
obsolete
>From 3a147a8809893afcee9a52f8e37e83dce5bd26a2 Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <mjo@gentoo.org> >Date: Thu, 2 Jun 2016 10:42:34 -0400 >Subject: [PATCH 2/4] eclass-writing: add documentation to the first existing > example. > >Now that we have guidelines for documenting eclasses, the "Simple >Common Functions Eclass Example" section is under-documented. This >commit adds the minimum required documentation (eclass and function >headers) to that example. > >Gentoo-Bug: 373145 >--- > eclass-writing/text.xml | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) > >diff --git a/eclass-writing/text.xml b/eclass-writing/text.xml >index 488230d..518cf2a 100644 >--- a/eclass-writing/text.xml >+++ b/eclass-writing/text.xml >@@ -251,18 +251,19 @@ a single function, <c>domacosapp</c>. > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >-# >-# Original Author: Ciaran McCreesh <ciaranm@gentoo.org> >-# Purpose: install macos .app files to the relevant location. >-# >-# Bugs to osx@gentoo.org >-# >- >-# domacosapp: install a macos .app file. Usage is 'domacosapp file' or >-# 'domacosapp file newfile'. >+# @ECLASS: macosapp.eclass >+# @MAINTAINER: >+# Ciaran McCreesh <ciaranm@gentoo.org> >+# @BLURB: install macos .app files to the relevant location. > >+# @FUNCTION: domacosapp >+# @USAGE: <app-file> [new-file] >+# @DESCRIPTION: >+# Install the given .app file into the appropriate location. If >+# [new-file] is given, it will be used as the new (installed) name of >+# the file. Otherwise <app-file> is installed as-is. > domacosapp() { >- [[ -z "${1}" ]] && die "usage: domacosapp <file> <new file>" >+ [[ -z "${1}" ]] && die "usage: domacosapp <file> [new file]" > if use ppc-macos ; then > insinto /Applications > newins "$1" "${2:-${1}}" || die "Failed to install ${1}" >-- >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