Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269729 Details for
Bug 363137
[option=--misspell-suggestion] >=sys-portage/portage-2.1.9.42
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
corrected mistakes in make.conf man page
0001-Added-misspell-suggestions-feature.patch (text/plain), 3.65 KB, created by
Samuel Bauer
on 2011-04-12 22:29:58 UTC
(
hide
)
Description:
corrected mistakes in make.conf man page
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2011-04-12 22:29:58 UTC
Size:
3.65 KB
patch
obsolete
>From 31ca37695b0e0350bf6c57e5adffcfa13d033705 Mon Sep 17 00:00:00 2001 >From: Samuel BAUER <samuel.bauer@yahoo.fr> >Date: Wed, 13 Apr 2011 04:10:40 +0700 >Subject: [PATCH] Added misspell-suggestions feature > >--- > cnf/make.globals | 7 ++++--- > man/make.conf.5 | 3 +++ > pym/_emerge/depgraph.py | 3 ++- > pym/portage/const.py | 8 ++++---- > 4 files changed, 13 insertions(+), 8 deletions(-) > >diff --git a/cnf/make.globals b/cnf/make.globals >index 95afb56..ddec18a 100644 >--- a/cnf/make.globals >+++ b/cnf/make.globals >@@ -52,9 +52,10 @@ FETCHCOMMAND_SFTP="bash -c \"x=\\\${2#sftp://} ; host=\\\${x%%/*} ; port=\\\${ho > > # Default user options > FEATURES="assume-digests binpkg-logs distlocks fixpackages >- fixlafiles news parallel-fetch protect-owned >- sandbox sfperms strict unknown-features-warn unmerge-logs >- unmerge-orphans userfetch" >+ fixlafiles news misspell-suggestions parallel-fetch >+ protect-owned sandbox sfperms strict >+ unknown-features-warn unmerge-logs unmerge-orphans >+ userfetch" > > # Ignore file collisions in /lib/modules since files inside this directory > # are never unmerged, and therefore collisions must be ignored in order for >diff --git a/man/make.conf.5 b/man/make.conf.5 >index cf8d217..441649f 100644 >--- a/man/make.conf.5 >+++ b/man/make.conf.5 >@@ -332,6 +332,9 @@ validation mechanism to work correctly. > Fetch everything in \fBSRC_URI\fR regardless of \fBUSE\fR settings, > except do not fetch anything when \fImirror\fR is in \fBRESTRICT\fR. > .TP >+.B misspell-suggestions >+Suggests valid package names when the given one doesn't exist. >+.TP > .B multilib\-strict > Many Makefiles assume that their libraries should go to /usr/lib, or > $(prefix)/lib. This assumption can cause a serious mess if /usr/lib >diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py >index 391c845..89043f7 100644 >--- a/pym/_emerge/depgraph.py >+++ b/pym/_emerge/depgraph.py >@@ -2741,7 +2741,8 @@ class depgraph(object): > mask_docs = True > else: > writemsg_stdout("\nemerge: there are no ebuilds to satisfy "+green(xinfo)+".\n", noiselevel=-1) >- if isinstance(myparent, AtomArg): >+ if "misspell-suggestions" in pkgsettings.features and \ >+ isinstance(myparent, AtomArg): > cp = myparent.atom.cp.lower() > cat, pkg = portage.catsplit(cp) > if cat == "null": >diff --git a/pym/portage/const.py b/pym/portage/const.py >index b92149d..a892353 100644 >--- a/pym/portage/const.py >+++ b/pym/portage/const.py >@@ -91,10 +91,10 @@ SUPPORTED_FEATURES = frozenset([ > "digest", "distcc", "distlocks", "fakeroot", > "fail-clean", "fixpackages", "force-mirror", "getbinpkg", > "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror", >- "metadata-transfer", "mirror", "multilib-strict", "news", >- "noauto", "noclean", "nodoc", "noinfo", "noman", "nostrip", >- "notitles", "parallel-fetch", "parse-eapi-ebuild-head", >- "prelink-checksums", "preserve-libs", >+ "metadata-transfer", "mirror", "misspell-suggestion", >+ "multilib-strict", "news", "noauto", "noclean", "nodoc", "noinfo", >+ "noman", "nostrip", "notitles", "parallel-fetch", >+ "parse-eapi-ebuild-head", "prelink-checksums", "preserve-libs", > "protect-owned", "python-trace", "sandbox", > "selinux", "sesandbox", "severe", "sfperms", > "sign", "skiprocheck", "split-elog", "split-log", "splitdebug", >-- >1.7.3.4 >
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 363137
:
269685
|
269691
|
269699
|
269729
|
269911
|
269917
|
269957
|
269979