aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2017-12-21 19:12:40 -0500
committerGöktürk Yüksek <gokturk@gentoo.org>2018-01-03 00:17:11 -0500
commit8c24be3239906196b973ff14197650e7702e953c (patch)
treebbf3488a56dd83b525e37fc40547ba4090c71be9 /general-concepts/portage-cache
parentebuild-maintenance: remove the Gentoo-Bug tag in the package removal subsection (diff)
downloaddevmanual-8c24be3239906196b973ff14197650e7702e953c.tar.gz
devmanual-8c24be3239906196b973ff14197650e7702e953c.tar.bz2
devmanual-8c24be3239906196b973ff14197650e7702e953c.zip
Change the indentation for ebuild <codesample/> snippets from spaces to tabs
Diffstat (limited to 'general-concepts/portage-cache')
-rw-r--r--general-concepts/portage-cache/text.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/general-concepts/portage-cache/text.xml b/general-concepts/portage-cache/text.xml
index f185f62..f985d56 100644
--- a/general-concepts/portage-cache/text.xml
+++ b/general-concepts/portage-cache/text.xml
@@ -18,9 +18,9 @@ So, the following will not work:
<codesample lang="ebuild">
# DO NOT DO THIS!
if ! has_version "x11-libs/gtk+" ; then
- DEPEND="${DEPEND}
- gtk? ( >=x11-libs/gtk+-2 )
- !gtk? ( =x11-libs/gtk+-1.2* )"
+ DEPEND="${DEPEND}
+ gtk? ( >=x11-libs/gtk+-2 )
+ !gtk? ( =x11-libs/gtk+-1.2* )"
fi
</codesample>
@@ -33,17 +33,17 @@ However, this is legal, since <c>versionator.eclass</c> works upon <c>PV</c>, an
inherit versionator
if [[ $(get_major_version) -ge 7 ]] ; then
- IUSE="${IUSE} tcltk mzscheme"
- DEPEND="${DEPEND}
- tcltk? ( dev-lang/tcl )
- mzscheme? ( dev-lisp/mzscheme )"
- RDEPEND="${RDEPEND}
- tcltk? ( dev-lang/tcl )
- mzscheme? ( dev-lisp/mzscheme )"
+ IUSE="${IUSE} tcltk mzscheme"
+ DEPEND="${DEPEND}
+ tcltk? ( dev-lang/tcl )
+ mzscheme? ( dev-lisp/mzscheme )"
+ RDEPEND="${RDEPEND}
+ tcltk? ( dev-lang/tcl )
+ mzscheme? ( dev-lisp/mzscheme )"
- if [[ "${MY_PN}" != "vim-core" ]] ; then
- RDEPEND="${RDEPEND} !&lt;app-vim/align-30-r1"
- fi
+ if [[ "${MY_PN}" != "vim-core" ]] ; then
+ RDEPEND="${RDEPEND} !&lt;app-vim/align-30-r1"
+ fi
fi
</codesample>
</body>
@@ -65,7 +65,7 @@ do:
<codesample lang="ebuild">
if [[ "${PN##*-}" == "cvs" ]] ; then
- inherit cvs
+ inherit cvs
fi
</codesample>