gentoolkit.git
12 years agotest_helpers: fix test_main and mark so nosetests will ignore it
W. Trevor King [Mon, 12 Nov 2012 03:09:37 +0000 (22:09 -0500)]
test_helpers: fix test_main and mark so nosetests will ignore it

12 years agotest_keyword: fix test_main and mark so nosetests will ignore it
W. Trevor King [Mon, 12 Nov 2012 03:07:27 +0000 (22:07 -0500)]
test_keyword: fix test_main and mark so nosetests will ignore it

12 years agotest_query: fix test_main and mark so nosetests will ignore it
W. Trevor King [Mon, 12 Nov 2012 03:06:49 +0000 (22:06 -0500)]
test_query: fix test_main and mark so nosetests will ignore it

12 years agotest_syntax: fix test_main and mark so nosetests will ignore it
W. Trevor King [Mon, 12 Nov 2012 03:02:10 +0000 (22:02 -0500)]
test_syntax: fix test_main and mark so nosetests will ignore it

* fix TestGentoolkitHelpers2 -> TestForSyntaxErrors
* use unittest.TestLoader and TextTestRunner instead of test.test_support

From the Python documentation [1]:

  The test package is meant for internal use by Python only. It is
  documented for the benefit of the core developers of Python. Any use
  of this package outside of Python's standard library is discouraged
  as code mentioned here can change or be removed without notice
  between releases of Python.

[1]: http://docs.python.org/2/library/test.html

12 years agocpv: define package_list in compare_strs doctest
W. Trevor King [Mon, 12 Nov 2012 02:54:17 +0000 (21:54 -0500)]
cpv: define package_list in compare_strs doctest

This is not much of a doctest, since we aren't using compare_strs()
anywhere, but at least it doesn't error out.  Note that comparisons
have been reworked in Python 3 where cmp() has been removed.

12 years agocpv: remove shebang from module without __name__ == '__main__' block
W. Trevor King [Mon, 12 Nov 2012 02:51:58 +0000 (21:51 -0500)]
cpv: remove shebang from module without __name__ == '__main__' block

12 years agodependencies: avoid Package-is-not-iterable in graph_reverse_depends doctest
W. Trevor King [Mon, 12 Nov 2012 02:45:38 +0000 (21:45 -0500)]
dependencies: avoid Package-is-not-iterable in graph_reverse_depends doctest

Dependency is a subclass of Query, so we need to initialize it with a
CPV string, not a Package instance.  The old doctest was raising:

  File ".../pym/gentoolkit/dependencies.py", line 202, in
    gentoolkit.dependencies.Dependencies.graph_reverse_depends
  Failed example:
    deptree = ffmpeg.graph_reverse_depends(
        only_direct=False,  # Include indirect revdeps
        pkgset=installed)   # from installed pkgset
  Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.2/doctest.py", line 1288, in __run
        compileflags, 1), test.globs)
      File "<doctest gentoolkit.dependencies.Dependencies.graph_reverse_depends[5]>", line 3, in <module>
        pkgset=installed)   # from installed pkgset
      File ".../pym/gentoolkit/dependencies.py", line 237, in graph_reverse_depends
        pkgset = tuple(Dependencies(x) for x in pkgset)
      File ".../pym/gentoolkit/dependencies.py", line 237, in <genexpr>
        pkgset = tuple(Dependencies(x) for x in pkgset)
      File ".../pym/gentoolkit/dependencies.py", line 45, in __init__
        Query.__init__(self, query)
      File "/home/wking/src/gentoolkit/pym/gentoolkit/query.py", line 51, in __init__
        if not set(query).intersection(needed_chars):
    TypeError: 'Package' object is not iterable

Also use ffmpeg-9999 (for better future-proofing) and update the
length of the resulting deptree.

12 years agodependencies: update Dependencies doctest to use portage-9999
W. Trevor King [Mon, 12 Nov 2012 02:32:27 +0000 (21:32 -0500)]
dependencies: update Dependencies doctest to use portage-9999

12 years agohelpers: update entry counts and version range in ChangeLog doctest
W. Trevor King [Mon, 12 Nov 2012 02:24:29 +0000 (21:24 -0500)]
helpers: update entry counts and version range in ChangeLog doctest

12 years agohelpers: update package counts in get_cpvs doctest
W. Trevor King [Mon, 12 Nov 2012 02:12:19 +0000 (21:12 -0500)]
helpers: update package counts in get_cpvs doctest

12 years agohelpers: convert get_cpvs output to a set before calculating len()
W. Trevor King [Mon, 12 Nov 2012 02:06:58 +0000 (21:06 -0500)]
helpers: convert get_cpvs output to a set before calculating len()

This avoids "TypeError: object of type 'generator' has no len()".

12 years agohelpers: use print() in ChangeLog doctest for Python 3 compatibility
W. Trevor King [Mon, 12 Nov 2012 02:05:13 +0000 (21:05 -0500)]
helpers: use print() in ChangeLog doctest for Python 3 compatibility

Also update the expected portage.latest.

12 years agokeyword: define keyword_list in compare_strs doctest
W. Trevor King [Mon, 12 Nov 2012 01:41:55 +0000 (20:41 -0500)]
keyword: define keyword_list in compare_strs doctest

This is not much of a doctest, since we aren't using compare_strs()
anywhere, but at least it doesn't error out.  Note that comparisons
have been reworked in Python 3 where cmp() has been removed.

12 years agokeyword: use Python 2/3-agnostic set notation in reduce_keywords doctest
W. Trevor King [Mon, 12 Nov 2012 01:35:08 +0000 (20:35 -0500)]
keyword: use Python 2/3-agnostic set notation in reduce_keywords doctest

Python 2.7 prints sets as "set([1, 2])", but Python 3.2 prints them as
"{1, 2}".  Avoid having to chose by showing that the result of
reduce_keywords() is a set, and then printing the elements in a list.

12 years agokeyword: remove shebang from module without __name__ == '__main__' block
W. Trevor King [Mon, 12 Nov 2012 01:31:16 +0000 (20:31 -0500)]
keyword: remove shebang from module without __name__ == '__main__' block

12 years agometadata: fix 'maintainer' -> 'maintainers' in module doctest
W. Trevor King [Mon, 12 Nov 2012 01:28:36 +0000 (20:28 -0500)]
metadata: fix 'maintainer' -> 'maintainers' in module doctest

12 years agometadata: add new _Upstream attributes in module doctest
W. Trevor King [Mon, 12 Nov 2012 01:28:08 +0000 (20:28 -0500)]
metadata: add new _Upstream attributes in module doctest

12 years agometadata: update gnome-print USE description
W. Trevor King [Mon, 12 Nov 2012 01:25:10 +0000 (20:25 -0500)]
metadata: update gnome-print USE description

12 years agometadata: gourmet package no longer part of a herd
W. Trevor King [Mon, 12 Nov 2012 01:23:27 +0000 (20:23 -0500)]
metadata: gourmet package no longer part of a herd

12 years agometadata: use print() in PackageFormatter doctest for Python 3 compatibility
W. Trevor King [Mon, 12 Nov 2012 01:22:54 +0000 (20:22 -0500)]
metadata: use print() in PackageFormatter doctest for Python 3 compatibility

12 years agometadata: remove shebang from module without __name__ == '__main__' block
W. Trevor King [Mon, 12 Nov 2012 01:18:56 +0000 (20:18 -0500)]
metadata: remove shebang from module without __name__ == '__main__' block

12 years agopackage: use portage-9999 in Package.environment doctest
W. Trevor King [Sun, 11 Nov 2012 21:47:57 +0000 (16:47 -0500)]
package: use portage-9999 in Package.environment doctest

12 years agopackage: use portage-9999 (and define pkg) in Package.ebuild_path doctest
W. Trevor King [Sun, 11 Nov 2012 21:44:19 +0000 (16:44 -0500)]
package: use portage-9999 (and define pkg) in Package.ebuild_path doctest

12 years agopackage: use portage-9999 in module doctest
W. Trevor King [Sun, 11 Nov 2012 21:42:03 +0000 (16:42 -0500)]
package: use portage-9999 in module doctest

It is more likely to stay current (and be masked and uninstalled) than
a particular Portage release.

12 years ago.gitignore: remove auto-generated stuff from `git status`
W. Trevor King [Sun, 11 Nov 2012 21:40:07 +0000 (16:40 -0500)]
.gitignore: remove auto-generated stuff from `git status`

12 years agopackage: update PackageFormatter doctest to use Query
W. Trevor King [Sun, 11 Nov 2012 21:37:07 +0000 (16:37 -0500)]
package: update PackageFormatter doctest to use Query

helpers.find_packages has been replaced by the query.Query class.

Also temporarily turn off Portage colorization during the doctest,
otherwise the CPV value is printed in green.

12 years agopackage: use print() in PackageFormatter doctest for Python 3 compatibility
W. Trevor King [Sun, 11 Nov 2012 21:14:13 +0000 (16:14 -0500)]
package: use print() in PackageFormatter doctest for Python 3 compatibility

12 years agopackage: change "f" -> "path" to avoid pylint C0103 (Invalid name "f")
W. Trevor King [Sun, 11 Nov 2012 21:12:23 +0000 (16:12 -0500)]
package: change "f" -> "path" to avoid pylint C0103 (Invalid name "f")

12 years agopackage: change "e" -> "error" to avoid pylint C0103 (Invalid name "e")
W. Trevor King [Sun, 11 Nov 2012 21:09:50 +0000 (16:09 -0500)]
package: change "e" -> "error" to avoid pylint C0103 (Invalid name "e")

12 years agopackage: remove shebang from module without __name__ == '__main__' block
W. Trevor King [Sun, 11 Nov 2012 21:08:11 +0000 (16:08 -0500)]
package: remove shebang from module without __name__ == '__main__' block

12 years agopackage: wrap long lines to avoid pylint C0301
W. Trevor King [Sun, 11 Nov 2012 21:06:08 +0000 (16:06 -0500)]
package: wrap long lines to avoid pylint C0301

12 years agohelpers: remove unused "sys" import
W. Trevor King [Sun, 11 Nov 2012 16:31:37 +0000 (11:31 -0500)]
helpers: remove unused "sys" import

Pointed out by pylint:
  W0611: 29: Unused import sys

12 years agohelpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p")
W. Trevor King [Sun, 11 Nov 2012 16:30:20 +0000 (11:30 -0500)]
helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p")

12 years agohelpers: wrap long lines to avoid pylint C0301
W. Trevor King [Sun, 11 Nov 2012 16:27:57 +0000 (11:27 -0500)]
helpers: wrap long lines to avoid pylint C0301

12 years agopylint: update pylintrc based on the template from pylint 0.23.0
W. Trevor King [Sun, 11 Nov 2012 16:20:57 +0000 (11:20 -0500)]
pylint: update pylintrc based on the template from pylint 0.23.0

The previous version of pylintrc defined MASTER.ignore twice, which is
illegal in Python 3:

  $ pylint --rcfile=pylintrc pym/gentoolkit/helpers.py
  Traceback (most recent call last):
    ...
  configparser.DuplicateOptionError: While reading from pylintrc [line 24]:
    option 'ignore' in section 'MASTER' already exists

I kept other option values unchanged from the old pylintrc, and added
"# was ..." comments for each non-default value.

12 years agohelpers: use grep instead of vim in FileOwner doctest
W. Trevor King [Sun, 11 Nov 2012 15:52:55 +0000 (10:52 -0500)]
helpers: use grep instead of vim in FileOwner doctest

grep is in the base profile so the tester is more likely to have it
installed.  The version may be off, but a test result with a different
grep version is still obviously working.  An empty result from an
uninstalled file is not so comforting.

12 years agoFix bug 381581 - revdep-rebuild unicode error
Paul Varner [Fri, 9 Nov 2012 14:08:25 +0000 (08:08 -0600)]
Fix bug 381581 - revdep-rebuild unicode error

Changed the function to use gentoolkit functions instead of
reading the vardb directly.

12 years agoeclean: Fix pkg sorting to work with Python3 gentoolkit-0.3.0.7
Paul Varner [Wed, 31 Oct 2012 19:16:00 +0000 (14:16 -0500)]
eclean: Fix pkg sorting to work with Python3

12 years agoeclean: sort pkg list shown to user
Mike Frysinger [Wed, 31 Oct 2012 18:46:39 +0000 (14:46 -0400)]
eclean: sort pkg list shown to user

This makes it much easier to scan through and pick out packages.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agomore man page fixes.
Brian Dolbec [Sun, 21 Oct 2012 21:05:14 +0000 (14:05 -0700)]
more man page fixes.

12 years agoman page updates thanks to Francesco Turco. Update analyze and rebuild modules...
Brian Dolbec [Sun, 21 Oct 2012 20:19:40 +0000 (13:19 -0700)]
man page updates thanks to  Francesco Turco.  Update analyze and rebuild modules to use a new not_implemented() in the ModuleBase class.

12 years agoMinor example changes to equery man page.
Paul Varner [Tue, 9 Oct 2012 22:09:45 +0000 (17:09 -0500)]
Minor example changes to equery man page.

Fix typo for 'equery which' example.
Change 'equery meta --description screen' to 'equery meta --description
app-misc/screen' so portage doesn't show ambigous package name error.

12 years agoModify _pkg_re to work with EAPI 4-python which is in use by Funtoo.
Paul Varner [Tue, 9 Oct 2012 21:32:01 +0000 (16:32 -0500)]
Modify _pkg_re to work with EAPI 4-python which is in use by Funtoo.

Testing on a Gentoo system showed no adverse affects with the change.

12 years agopy 3.3 fix for bug 436934. Change the level parameter for the __import__() call.
Brian Dolbec [Sat, 6 Oct 2012 22:13:49 +0000 (15:13 -0700)]
py 3.3 fix for bug 436934.  Change the level parameter for the __import__() call.

12 years agoFix euse to always prefer /etc/portage/make.conf over /etc/make.conf. Bug 434672
Paul Varner [Wed, 26 Sep 2012 06:12:13 +0000 (01:12 -0500)]
Fix euse to always prefer /etc/portage/make.conf over /etc/make.conf. Bug 434672

12 years agoRemove check of isatty when guessing color.
Paul Varner [Thu, 6 Sep 2012 21:34:19 +0000 (16:34 -0500)]
Remove check of isatty when guessing color.

When going through a pipe, color is already turned off.  This allows
color to be restored with the --no-pipe option.  If color is not desired
with --no-pipe, then --nocolor should also be specified.

12 years agoStrip initial whitespace at the start of the description (Bug 432530).
Paul Varner [Fri, 24 Aug 2012 15:51:56 +0000 (10:51 -0500)]
Strip initial whitespace at the start of the description (Bug 432530).

12 years agomark dbapi as deprecated.
Brian Dolbec [Wed, 1 Aug 2012 03:34:16 +0000 (20:34 -0700)]
mark dbapi as deprecated.

12 years agoreplace all use of dbapi's PORTDB, VARDB, BINDB assigned variables with the actuall...
Brian Dolbec [Wed, 1 Aug 2012 03:23:14 +0000 (20:23 -0700)]
replace all use of dbapi's PORTDB, VARDB, BINDB assigned variables with the actuall portage calls to take advantage of all 3 being lazyloaded.  The assignemt in dbapi causes all 3 to be loaded, slowing down runs that do not need all 3

12 years agoReturn string from Package.__str__ (Bug 423209)
Paul Varner [Tue, 24 Jul 2012 17:16:26 +0000 (12:16 -0500)]
Return string from Package.__str__ (Bug 423209)

Patch from Brennan Shacklett

12 years agoreverse an accidental indentation change from tabs to spaces.
Brian Dolbec [Fri, 29 Jun 2012 03:43:29 +0000 (20:43 -0700)]
reverse an accidental indentation change from tabs to spaces.

12 years agomove enalyse/base.py to gentoolkit for general module use.
Brian Dolbec [Fri, 29 Jun 2012 02:36:13 +0000 (19:36 -0700)]
move enalyse/base.py to gentoolkit for general module use.

12 years agoupdate docstrings to ready it for a move to gentoolkit for general use.
Brian Dolbec [Fri, 29 Jun 2012 02:33:33 +0000 (19:33 -0700)]
update docstrings to ready it for a move to gentoolkit for general use.

12 years agoupdate authors with my contributions.
Brian Dolbec [Fri, 29 Jun 2012 02:23:15 +0000 (19:23 -0700)]
update authors with my contributions.

12 years agoAdd support for the md5-cache metadata format. (Bug 422675)
Paul Varner [Wed, 20 Jun 2012 17:11:44 +0000 (12:11 -0500)]
Add support for the md5-cache metadata format. (Bug 422675)

The gentoo tree is moving to the md5-cache format instead of pms. This
add support for reading the md5-cache metadata format.

12 years agoAdd support for ':' in the profiles parent file for bug 414961.
Paul Varner [Wed, 20 Jun 2012 15:56:16 +0000 (10:56 -0500)]
Add support for ':' in the profiles parent file for bug 414961.

Bug #414961 allows ':' shorthand to resolve to the ${PORTDIR}/profiles
A value before the ':' references the repository, no value means
gentoo

Example: local:base would refer to the profiles directory in the
repository path owned by the 'local' repository

12 years agoChange division to floor division for Python3 compatibility (Bug 417233).
Paul Varner [Thu, 24 May 2012 05:54:59 +0000 (00:54 -0500)]
Change division to floor division for Python3 compatibility (Bug 417233).

12 years agofix a bug in enalyze rebuild where it did not consider IUSE defaults for calculating...
Brian Dolbec [Thu, 7 Jun 2012 07:57:44 +0000 (00:57 -0700)]
fix a bug in enalyze rebuild where it did not consider IUSE defaults for calculating the use flag differences. Discovered by mingdao in #gentoo.

12 years agoremove the auto linewrapping from the stablereq output line so it does not mess up...
Brian Dolbec [Sat, 2 Jun 2012 18:52:10 +0000 (11:52 -0700)]
remove the auto linewrapping from the stablereq output line so it does not mess up the copy/paste of the cc's

12 years agoadd a -S, --stablereq option to equery meta to list the arch cc's to add to STABLEREQ...
Brian Dolbec [Sat, 2 Jun 2012 17:59:49 +0000 (10:59 -0700)]
add a -S, --stablereq option to equery meta to list the arch cc's to add to STABLEREQ bug on b.g.o.

12 years agoChange sed statement in euse to fix bug 410365.
Paul Varner [Wed, 16 May 2012 22:27:54 +0000 (17:27 -0500)]
Change sed statement in euse to fix bug 410365.

The sed statement was looking for the useflag as part of the regular
expression.  Since the input to the statement had already grepped for
the relevant entries from use.local.desc, this is unneccessary.  Changed
the sed statement to look for '(.*)  *' instead of '(${1}) *'.

12 years agoFix output to be sorted using portage.versions.vercmp (bug 409449).
Paul Varner [Wed, 16 May 2012 21:58:04 +0000 (16:58 -0500)]
Fix output to be sorted using portage.versions.vercmp (bug 409449).

12 years agoMake colors for useflags be the same as portage.
Paul Varner [Wed, 16 May 2012 21:12:03 +0000 (16:12 -0500)]
Make colors for useflags be the same as portage.

The current colors are the opposite of how portage uses the colors.
This just switches them so portage and equery show the same color for
the same meaning, Red is a set useflag and blue is an unset useflag.

Note: This ignores any user defined colormaps in portage.

12 years agoFix Bug 414627, where not all packages were being printed.
Paul Varner [Tue, 8 May 2012 21:03:04 +0000 (16:03 -0500)]
Fix Bug 414627, where not all packages were being printed.

Not sure of why this fixes it, but it appears to be caused by
interaction between the map() and zip() iterator objects in python3.

The fix is to use the list() operator to create a list from the iterator
objects.

12 years agoExtend eread to allow sorting (bug 413577).
SÅ‚awomir Nizio [Wed, 25 Apr 2012 22:50:57 +0000 (00:50 +0200)]
Extend eread to allow sorting (bug 413577).

12 years agoFix eread to work on a prefix environment. gentoolkit-0.3.0.6
Paul Varner [Wed, 11 Apr 2012 18:50:29 +0000 (13:50 -0500)]
Fix eread to work on a prefix environment.

12 years agoRemove incorrect usage of -r flage for egrep (Bug 410137).
Paul Varner [Wed, 11 Apr 2012 17:41:32 +0000 (12:41 -0500)]
Remove incorrect usage of -r flage for egrep (Bug 410137).

12 years agoFix eshowkw traceback on prefix enviroments (Bug 411599).
Paul Varner [Wed, 11 Apr 2012 15:00:56 +0000 (10:00 -0500)]
Fix eshowkw traceback on prefix enviroments (Bug 411599).

12 years agoUpdate man page to include --ebuild option to equery which command
Paul Varner [Wed, 11 Apr 2012 14:03:21 +0000 (09:03 -0500)]
Update man page to include --ebuild option to equery which command

12 years agoequery: turn sys.argv into a parameter
Mike Frysinger [Wed, 4 Apr 2012 18:07:59 +0000 (14:07 -0400)]
equery: turn sys.argv into a parameter

This lets other tools import equery and call the main func with its own
set of flags.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Varner <fuzzyray@gentoo.org>
12 years agoAdd patch from Vitaly Shimansky to fix regex in modify_packages()
Paul Varner [Tue, 20 Mar 2012 03:59:02 +0000 (22:59 -0500)]
Add patch from Vitaly Shimansky to fix regex in modify_packages()

12 years agofix a missed hardcoded path not using the portage.root.
Brian Dolbec [Mon, 19 Mar 2012 06:49:20 +0000 (23:49 -0700)]
fix a missed hardcoded path not using the portage.root.

12 years agoadd an ebuild listing option to equery which as requested by Calchan and ryao.
Brian Dolbec [Mon, 19 Mar 2012 06:47:38 +0000 (23:47 -0700)]
add an ebuild listing option to equery which as requested by Calchan and ryao.

12 years agoApply patch from Jared Hancock to disable globbing.
Paul Varner [Tue, 6 Mar 2012 05:33:35 +0000 (23:33 -0600)]
Apply patch from Jared Hancock to disable globbing.

This patch disables shell globbing except where actually needed. This
will hopefully fix bug 382219.

12 years agoAdd ignored files/directories check.
Brian Dolbec [Sun, 4 Mar 2012 07:40:54 +0000 (23:40 -0800)]
Add ignored files/directories check.
Add a warning for incomplete pkg merges with -MERGING- in the name.

12 years agofix bug 406613. ignore any .keep_* files in /var/db/pkg. Print a warning for any...
Brian Dolbec [Fri, 2 Mar 2012 17:46:28 +0000 (09:46 -0800)]
fix bug 406613. ignore any .keep_* files in /var/db/pkg.  Print a warning for any other files found.

12 years agofix bug 406495. renamed portage.config() parameter from _eprefix to eprefix.
Brian Dolbec [Fri, 2 Mar 2012 00:01:06 +0000 (16:01 -0800)]
fix bug 406495.  renamed portage.config() parameter from _eprefix to eprefix.

12 years agoUpdate the comment for setting the overlay name. gentoolkit-0.3.0.5
Paul Varner [Mon, 20 Feb 2012 23:41:38 +0000 (17:41 -0600)]
Update the comment for setting the overlay name.

12 years agoChange overlay name to match portage when repo_name is not found.
Paul Varner [Mon, 20 Feb 2012 23:22:19 +0000 (17:22 -0600)]
Change overlay name to match portage when repo_name is not found.

12 years agoFix euse -i to not print errors from 'cat' when determining the repository name
Paul Varner [Mon, 20 Feb 2012 23:13:02 +0000 (17:13 -0600)]
Fix euse -i to not print errors from 'cat' when determining the repository name

12 years agoFix revdep-rebuild.sh to properly honor emerge return codes.
Paul Varner [Thu, 16 Feb 2012 17:34:37 +0000 (11:34 -0600)]
Fix revdep-rebuild.sh to properly honor emerge return codes.

This should fix bugs 326923, 351054, and 404065

12 years agoMerge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into...
Paul Varner [Mon, 6 Feb 2012 16:22:51 +0000 (10:22 -0600)]
Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit

12 years agoChange the documentation for revdep-rebuild --library.
Paul Varner [Mon, 6 Feb 2012 16:20:23 +0000 (10:20 -0600)]
Change the documentation for revdep-rebuild --library.

Change the help output and man page to reflect that --library will
unconditionally rebuild the packages with the named library.

12 years agoFix bug 400957 where -hC did not work to to printing help immediately upon finding...
Brian Dolbec [Fri, 27 Jan 2012 09:52:33 +0000 (01:52 -0800)]
Fix bug 400957 where -hC  did not work to to printing help immediately upon finding the -h option and not parsing the remaining options.  Fixed equery, enalyze, eclean, revdep-rebuild (although, python revdep did not colorize the help).

12 years agofix bug 398103 to properly delete broken symlinks and not abort.
Brian Dolbec [Sun, 22 Jan 2012 17:48:36 +0000 (09:48 -0800)]
fix bug 398103 to properly delete broken symlinks and not abort.

13 years agoFix equery's term_width too.
Brian Dolbec [Fri, 23 Dec 2011 06:24:53 +0000 (22:24 -0800)]
Fix equery's term_width too.

13 years agoFix the term_width setting for the recent portage change, which is now returning...
Brian Dolbec [Fri, 23 Dec 2011 06:01:45 +0000 (22:01 -0800)]
Fix the term_width setting for the recent portage change, which is now returning 0 instead of -1.
This should work for all portage versions.

13 years agoFix setup.py to work with EPREFIX changes in Portage (Bug 394909).
Paul Varner [Mon, 19 Dec 2011 19:38:40 +0000 (13:38 -0600)]
Fix setup.py to work with EPREFIX changes in Portage (Bug 394909).

13 years agoFix typo in euse
Paul Varner [Mon, 28 Nov 2011 15:45:57 +0000 (09:45 -0600)]
Fix typo in euse

13 years agoFix revdep-rebuiild to exit correctly with correct error code when emerge
Paul Varner [Wed, 12 Oct 2011 16:34:47 +0000 (11:34 -0500)]
Fix revdep-rebuiild to exit correctly with correct error code when emerge
fails. Bug 351054

13 years agoreverse the logging message in analyse.py since it is not correct.
dol-sen [Mon, 10 Oct 2011 17:34:56 +0000 (10:34 -0700)]
reverse the logging message in analyse.py since it is not correct.

13 years agoadd --library output to revdep-rebuild.
dol-sen [Mon, 10 Oct 2011 16:03:32 +0000 (09:03 -0700)]
add --library output to revdep-rebuild.

13 years agoAdd missing quotes
Christian Ruppert [Wed, 7 Sep 2011 12:39:10 +0000 (14:39 +0200)]
Add missing quotes

13 years agofix bug 380573.
dol-sen [Thu, 25 Aug 2011 07:04:47 +0000 (00:04 -0700)]
fix bug 380573.

13 years agoFix traversal of cascading profiles by euse (Bug 379559).
Paul Varner [Wed, 24 Aug 2011 17:28:06 +0000 (12:28 -0500)]
Fix traversal of cascading profiles by euse (Bug 379559).
Thanks to Ian Abbot for the patch!

13 years agoFix missing parenthises in euse. Bug 376393
Paul Varner [Wed, 27 Jul 2011 19:01:34 +0000 (14:01 -0500)]
Fix missing parenthises in euse.  Bug 376393

13 years agoFix updated Package class to work correctly with prefix portage
Paul Varner [Sat, 16 Jul 2011 04:02:07 +0000 (23:02 -0500)]
Fix updated Package class to work correctly with prefix portage

13 years agoUpdate Package Class to allow passing of local_config.
Paul Varner [Sat, 16 Jul 2011 03:16:56 +0000 (22:16 -0500)]
Update Package Class to allow passing of local_config.

The local_config variable determines if the portage.config settings
object takes the /etc/portage/package.* files into account.

13 years agoDo not index ChangeLog entries with an invalid CPV. (Bug 375293)
Paul Varner [Fri, 15 Jul 2011 19:59:23 +0000 (14:59 -0500)]
Do not index ChangeLog entries with an invalid CPV. (Bug 375293)

13 years agoFix call_program to actually return stdout as string under py3k
Paul Varner [Thu, 14 Jul 2011 18:29:09 +0000 (13:29 -0500)]
Fix call_program to actually return stdout as string under py3k