* [gentoo-commits] proj/portage:2.1.9 commit in: man/, /, bin/, pym/portage/xml/, pym/portage/, doc/package/ebuild/eapi/, cnf/, ...
@ 2011-05-26 6:18 Zac Medico
0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2011-05-26 6:18 UTC (permalink / raw
To: gentoo-commits
commit: 6ca6af3ac6b5b97f896364b6f7b8191ec85ef54a
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Gentoo <DOT> Org>
AuthorDate: Sun May 15 21:24:31 2011 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 26 03:01:38 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=6ca6af3a
Fix some typos.
---
bin/glsa-check | 4 ++--
cnf/make.conf.sparc.diff | 2 +-
doc/package/ebuild/eapi/4.docbook | 4 ++--
make.conf.txt | 2 +-
man/ebuild.5 | 4 ++--
man/make.conf.5 | 2 +-
pym/_emerge/depgraph.py | 2 +-
pym/_emerge/main.py | 2 +-
pym/portage/cvstree.py | 6 +++---
pym/portage/mail.py | 10 +++++-----
pym/portage/output.py | 4 ++--
pym/portage/tests/resolver/ResolverPlayground.py | 8 ++++----
pym/portage/update.py | 4 ++--
pym/portage/xml/metadata.py | 4 ++--
14 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/bin/glsa-check b/bin/glsa-check
index d8745b0..2f2d555 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright 2008-2009 Gentoo Foundation
+# Copyright 2008-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from __future__ import print_function
@@ -94,7 +94,7 @@ elif mode != "list" and not params:
parser.print_help()
sys.exit(1)
elif mode in ["fix", "inject"] and os.geteuid() != 0:
- # we need root priviledges for write access
+ # we need root privileges for write access
sys.stderr.write("\nThis tool needs root access to "+options.mode+" this GLSA\n\n")
sys.exit(2)
elif mode == "list" and not params:
diff --git a/cnf/make.conf.sparc.diff b/cnf/make.conf.sparc.diff
index e73357b..e016a0b 100644
--- a/cnf/make.conf.sparc.diff
+++ b/cnf/make.conf.sparc.diff
@@ -8,7 +8,7 @@
+# ============
+# This should be left to the default value of sparc-unknown-linux-gnu unless
+# you are absolutely certain of the consequences. In addition to potentially
-+# destroying your system, you will recieve no support and your bugs will be
++# destroying your system, you will receive no support and your bugs will be
+# marked INVALID if you change this.
+#
+# CHOST="sparc-unknown-linux-gnu"
diff --git a/doc/package/ebuild/eapi/4.docbook b/doc/package/ebuild/eapi/4.docbook
index 83ba0dd..8dd0f14 100644
--- a/doc/package/ebuild/eapi/4.docbook
+++ b/doc/package/ebuild/eapi/4.docbook
@@ -150,7 +150,7 @@ This new REQUIRED_USE metadata key is used to specify what USE flag combinations
<section id='package-ebuild-eapi-4-metadata-required-use-motivation'>
<title>Motivation</title>
<para>
-It's a semi common occurence that an ebuild may need to state that they disallow USE flags in specific combinations- either mysql or sqlite for example, but not both.
+It's a semi common occurrence that an ebuild may need to state that they disallow USE flags in specific combinations- either mysql or sqlite for example, but not both.
</para>
<para>
Existing solutions rely on checking the the USE configuration in pkg_setup which is non-optimal due to pkg_setup being ran potentially hours after the initial emerge -p invocation.
@@ -166,7 +166,7 @@ The only way to find out if the USE state is disallowed is to run the code
</listitem>
<listitem>
<para>
-The common implementation of this can result in an iterative process where the user hits a USE constraint, fixs it, reruns the emerge invocation only to find that there is another constraint still violated for the ebuild, thus requiring them to fix it, rerun emerge, etc.
+The common implementation of this can result in an iterative process where the user hits a USE constraint, fixes it, reruns the emerge invocation only to find that there is another constraint still violated for the ebuild, thus requiring them to fix it, rerun emerge, etc.
</para>
</listitem>
<listitem>
diff --git a/make.conf.txt b/make.conf.txt
index 5bbb6e3..beb4b0c 100644
--- a/make.conf.txt
+++ b/make.conf.txt
@@ -316,7 +316,7 @@ GENTOO_MIRRORS
:default: http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo
:valdesc: space separated list of mirror locations
-Insert your space-seperated list of local mirrors here. These locations are
+Insert your space-separated list of local mirrors here. These locations are
used to download files before the ones listed in the ebuild scripts. Merging
'app-portage/mirrorselect' can help to select an appropriate mirror.
diff --git a/man/ebuild.5 b/man/ebuild.5
index 1067f82..87f658d 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -1,4 +1,4 @@
-.TH "EBUILD" "5" "Feb 2011" "Portage VERSION" "Portage"
+.TH "EBUILD" "5" "May 2011" "Portage VERSION" "Portage"
.SH "NAME"
ebuild \- the internal format, variables, and functions in an ebuild script
.SH "DESCRIPTION"
@@ -1012,7 +1012,7 @@ Strips all executable files of debugging symboles. This includes libraries.
.TP
\fBprepstrip\fR \fI[dir]\fR
.PD 1
-Similiar to the \fBprepall\fR functions, these are subtle in their differences.
+Similar to the \fBprepall\fR functions, these are subtle in their differences.
.RS
.PD 0
.TP
diff --git a/man/make.conf.5 b/man/make.conf.5
index 53b2c29..acb18ae 100644
--- a/man/make.conf.5
+++ b/man/make.conf.5
@@ -520,7 +520,7 @@ For more information, see the \fIInvoking GCC\fR section of the gcc manual:
http://gcc.gnu.org/onlinedocs/
.TP
\fBGENTOO_MIRRORS\fR = \fI[URIs]\fR
-Insert your space\-seperated list of local mirrors here. These
+Insert your space\-separated list of local mirrors here. These
locations are used to download files before the ones listed in
the \fIebuild scripts\fR. Merging 'mirrorselect' can help. Entries in this
variable that have no protocol and simply start with a '/' path separator may
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index e652958..283ea8d 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5144,7 +5144,7 @@ class depgraph(object):
go to stdout for parsing by programs such as autounmask.
"""
- # Note that show_masked_packages() sends it's output to
+ # Note that show_masked_packages() sends its output to
# stdout, and some programs such as autounmask parse the
# output in cases when emerge bails out. However, when
# show_masked_packages() is called for installed packages
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index c1484f2..995e22f 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1227,7 +1227,7 @@ def expand_set_arguments(myfiles, myaction, root_config):
sets = setconfig.getSets()
- # display errors that occured while loading the SetConfig instance
+ # display errors that occurred while loading the SetConfig instance
for e in setconfig.errors:
print(colorize("BAD", "Error during set creation: %s" % e))
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py
index f36e923..de580f5 100644
--- a/pym/portage/cvstree.py
+++ b/pym/portage/cvstree.py
@@ -1,5 +1,5 @@
# cvstree.py -- cvs tree utilities
-# Copyright 1998-2004 Gentoo Foundation
+# Copyright 1998-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from __future__ import print_function
@@ -199,8 +199,8 @@ def apply_cvsignore_filter(list):
def getentries(mydir,recursive=0):
"""(basedir,recursive=0)
- Scans the given directory and returns an datadict of all the entries in
- the directory seperated as a dirs dict and a files dict."""
+ Scans the given directory and returns a datadict of all the entries in
+ the directory separated as a dirs dict and a files dict."""
myfn=mydir+"/CVS/Entries"
# entries=[dirs, files]
entries={"dirs":{},"files":{}}
diff --git a/pym/portage/mail.py b/pym/portage/mail.py
index aa41854..688b518 100644
--- a/pym/portage/mail.py
+++ b/pym/portage/mail.py
@@ -107,8 +107,8 @@ def send_mail(mysettings, message):
myrecipient = "root@localhost"
# Syntax for PORTAGE_ELOG_MAILURI (if defined):
- # adress [[user:passwd@]mailserver[:port]]
- # where adress: recipient adress
+ # address [[user:passwd@]mailserver[:port]]
+ # where address: recipient address
# user: username for smtp auth (defaults to none)
# passwd: password for smtp auth (defaults to none)
# mailserver: smtp server that should be used to deliver the mail (defaults to localhost)
@@ -159,7 +159,7 @@ def send_mail(mysettings, message):
myconn = smtplib.SMTP(mymailhost, int(mymailport) - 100000)
myconn.ehlo()
if not myconn.has_extn("STARTTLS"):
- raise portage.exception.PortageException(_("!!! TLS support requested for logmail but not suported by server"))
+ raise portage.exception.PortageException(_("!!! TLS support requested for logmail but not supported by server"))
myconn.starttls()
myconn.ehlo()
else:
@@ -171,8 +171,8 @@ def send_mail(mysettings, message):
myconn.sendmail(myfrom, myrecipient, message_str)
myconn.quit()
except smtplib.SMTPException as e:
- raise portage.exception.PortageException(_("!!! An error occured while trying to send logmail:\n")+str(e))
+ raise portage.exception.PortageException(_("!!! An error occurred while trying to send logmail:\n")+str(e))
except socket.error as e:
- raise portage.exception.PortageException(_("!!! A network error occured while trying to send logmail:\n%s\nSure you configured PORTAGE_ELOG_MAILURI correctly?") % str(e))
+ raise portage.exception.PortageException(_("!!! A network error occurred while trying to send logmail:\n%s\nSure you configured PORTAGE_ELOG_MAILURI correctly?") % str(e))
return
diff --git a/pym/portage/output.py b/pym/portage/output.py
index 5e8b89e..a0846b3 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -1,4 +1,4 @@
-# Copyright 1998-2009 Gentoo Foundation
+# Copyright 1998-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
__docformat__ = "epytext"
@@ -181,7 +181,7 @@ def _parse_color_map(config_root='/', onerror=None):
split_line = line.split("=")
if len(split_line) != 2:
- e = ParseError(_("'%s', line %s: expected exactly one occurence of '=' operator") % \
+ e = ParseError(_("'%s', line %s: expected exactly one occurrence of '=' operator") % \
(myfile, lineno))
raise e
if onerror:
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py
index 7e4636f..073e3a6 100644
--- a/pym/portage/tests/resolver/ResolverPlayground.py
+++ b/pym/portage/tests/resolver/ResolverPlayground.py
@@ -26,9 +26,9 @@ from _emerge.RootConfig import RootConfig
class ResolverPlayground(object):
"""
- This class help to create the necessary files on disk and
+ This class helps to create the necessary files on disk and
the needed settings instances, etc. for the resolver to do
- it's work.
+ its work.
"""
config_files = frozenset(("package.use", "package.mask", "package.keywords", \
@@ -37,7 +37,7 @@ class ResolverPlayground(object):
def __init__(self, ebuilds={}, installed={}, profile={}, repo_configs={}, \
user_config={}, sets={}, world=[], debug=False):
"""
- ebuilds: cpv -> metadata mapping simulating avaiable ebuilds.
+ ebuilds: cpv -> metadata mapping simulating available ebuilds.
installed: cpv -> metadata mapping simulating installed packages.
If a metadata key is missing, it gets a default value.
profile: settings defined by the profile.
@@ -480,7 +480,7 @@ class ResolverPlaygroundTestCase(object):
checks = dict.fromkeys(result.checks)
for key, value in self._checks.items():
if not key in checks:
- raise KeyError("Not an avaiable check: '%s'" % key)
+ raise KeyError("Not an available check: '%s'" % key)
checks[key] = value
fail_msgs = []
diff --git a/pym/portage/update.py b/pym/portage/update.py
index bac09c2..4e5e78e 100644
--- a/pym/portage/update.py
+++ b/pym/portage/update.py
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
import codecs
@@ -310,7 +310,7 @@ def update_config_files(config_root, protect, protect_mask, update_iter, match_c
write_atomic(updating_file, "".join(file_contents[x]))
except PortageException as e:
writemsg("\n!!! %s\n" % str(e), noiselevel=-1)
- writemsg(_("!!! An error occured while updating a config file:") + \
+ writemsg(_("!!! An error occurred while updating a config file:") + \
" '%s'\n" % updating_file, noiselevel=-1)
continue
diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py
index 21e9a5d..7acc1f3 100644
--- a/pym/portage/xml/metadata.py
+++ b/pym/portage/xml/metadata.py
@@ -1,4 +1,4 @@
-# Copyright 2010 Gentoo Foundation
+# Copyright 2010-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
"""Provides an easy-to-use python interface to Gentoo's metadata.xml file.
@@ -79,7 +79,7 @@ class _Useflag(object):
@type name: str or None
@ivar name: USE flag
@type restrict: str or None
- @ivar restrict: e.g. >=portage-2.2 means flag is only avaiable in
+ @ivar restrict: e.g. >=portage-2.2 means flag is only available in
versions greater than 2.2
@type description: str
@ivar description: description of the USE flag
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-26 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 6:18 [gentoo-commits] proj/portage:2.1.9 commit in: man/, /, bin/, pym/portage/xml/, pym/portage/, doc/package/ebuild/eapi/, cnf/, Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox