diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-07-17 11:59:18 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-07-17 11:59:18 +0000 |
commit | 3ea525e6a919f8e4b0821b57ac227485baea140a (patch) | |
tree | 502bb6813c1721d3fc9f27db8cc2d96c559ff952 /eclass | |
parent | use full atoms for built_with_use (diff) | |
download | gentoo-2-3ea525e6a919f8e4b0821b57ac227485baea140a.tar.gz gentoo-2-3ea525e6a919f8e4b0821b57ac227485baea140a.tar.bz2 gentoo-2-3ea525e6a919f8e4b0821b57ac227485baea140a.zip |
Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 20 | ||||
-rw-r--r-- | eclass/nvidia-driver.eclass | 4 | ||||
-rw-r--r-- | eclass/perl-module.eclass | 4 | ||||
-rw-r--r-- | eclass/qt4.eclass | 3 |
4 files changed, 15 insertions, 16 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 935bcd17d425..bf877145bc85 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.285 2007/07/07 17:30:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.286 2007/07/17 11:59:18 swegener Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -11,7 +11,7 @@ # the ones that ebuild.sh already contain. The idea is that the functions # are not required in all ebuilds but enough utilize them to have a common # home rather than having multiple ebuilds implementing the same thing. -# +# # Due to the nature of this eclass, some functions may have maintainers # different from the overall eclass! @@ -1061,7 +1061,7 @@ find_unpackable_file() { # They're self-unpacking programs with the binary package stuffed in # the middle of the archive. Valve seems to use it a lot ... too bad # it seems to like to segfault a lot :(. So lets take it apart ourselves. -# +# # You have to specify the off_t size ... I have no idea how to extract that # information out of the binary executable myself. Basically you pass in # the size of the off_t type (in bytes) on the machine that built the pdv @@ -1156,7 +1156,7 @@ unpack_pdv() { # They're shell scripts with the binary package tagged onto # the end of the archive. Loki utilized the format as does # many other game companies. -# +# # If the file is not specified, then ${A} is used. If the # offset is not specified then we will attempt to extract # the proper offset from the script itself. @@ -1281,7 +1281,7 @@ check_license() { continue. When you are done viewing, hit 'q'. If you CTRL+C out of this, the install will not run! ********************************************************** - + EOF cat ${lic} >> ${licmsg} ${PAGER:-less} ${licmsg} || die "Could not execute pager (${PAGER}) to accept ${lic}" @@ -1304,22 +1304,22 @@ check_license() { # @DESCRIPTION: # Aquire cd(s) for those lovely cd-based emerges. Yes, this violates # the whole 'non-interactive' policy, but damnit I want CD support ! -# +# # With these cdrom functions we handle all the user interaction and # standardize everything. All you have to do is call cdrom_get_cds() # and when the function returns, you can assume that the cd has been # found at CDROM_ROOT. -# +# # The function will attempt to locate a cd based upon a file that is on # the cd. The more files you give this function, the more cds # the cdrom functions will handle. -# +# # Normally the cdrom functions will refer to the cds as 'cd #1', 'cd #2', # etc... If you want to give the cds better names, then just export # the appropriate CDROM_NAME variable before calling cdrom_get_cds(). # Use CDROM_NAME for one cd, or CDROM_NAME_# for multiple cds. You can # also use the CDROM_NAME_SET bash array. -# +# # For those multi cd ebuilds, see the cdrom_load_next_cd() function. cdrom_get_cds() { # first we figure out how many cds we're dealing with by @@ -1656,7 +1656,7 @@ preserve_old_lib_notify() { # enabled. The --hidden option is really for internal use only as it # means the USE flag we're checking is hidden expanded, so it won't be found # in IUSE like normal USE flags. -# +# # Remember that this function isn't terribly intelligent so order of optional # flags matter. built_with_use() { diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass index 0b5ab6c27a26..5642bd0211b6 100644 --- a/eclass/nvidia-driver.eclass +++ b/eclass/nvidia-driver.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.7 2007/07/16 15:38:30 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.8 2007/07/17 11:59:18 swegener Exp $ # # Original Author: Doug Goldstein <cardoe@gentoo.org> @@ -70,7 +70,7 @@ nvidia-driver-check-warning() { if [ "x$r" = "x1" ]; then ewarn "***** WARNING *****" - ewarn + ewarn ewarn "You are currently installing a version of nvidia-drivers that is" ewarn "known not to work with a video card you have installed on your" ewarn "system. If this is intentional, please ignore this. If it is not" diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 10407d43e579..02aa7b6cf7e1 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.105 2007/05/24 15:11:20 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.106 2007/07/17 11:59:18 swegener Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # Maintained by the Perl herd <perl@gentoo.org> @@ -115,7 +115,7 @@ perl-module_src_prep() { SRC_PREP="yes" - find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null + find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then einfo "Using Module::Build" echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" diff --git a/eclass/qt4.eclass b/eclass/qt4.eclass index 3f9c67143245..e55e751c2295 100644 --- a/eclass/qt4.eclass +++ b/eclass/qt4.eclass @@ -1,6 +1,6 @@ # Copyright 2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v 1.18 2007/06/20 11:57:28 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v 1.19 2007/07/17 11:59:18 swegener Exp $ # # Author Caleb Tennis <caleb@gentoo.org> # @@ -59,5 +59,4 @@ qt4_pkg_setup() { die "This package requires Qt4 to be built with the ${x} use flag." fi done - } |