gentoolkit.git
13 years agoFix missing quiet option passing into the analyse module
Brian Dolbec [Tue, 25 Jan 2011 08:50:46 +0000 (00:50 -0800)]
Fix missing quiet option passing into the analyse module

13 years agoAdd a leading '-' to disabled USE flags.
Brian Dolbec [Tue, 25 Jan 2011 08:49:28 +0000 (00:49 -0800)]
Add a leading '-' to disabled USE flags.

13 years agoModify printers to use the newly split out CpvValuesWrapper and add a print_pkg_quiet()
Brian Dolbec [Tue, 25 Jan 2011 08:30:15 +0000 (00:30 -0800)]
Modify printers to use the newly split out CpvValuesWrapper and add a print_pkg_quiet()

13 years agoAdd a new cpv and values textwrapping class
Brian Dolbec [Tue, 25 Jan 2011 08:28:32 +0000 (00:28 -0800)]
Add a new cpv and values textwrapping class

13 years agofix a missed rename and relocationof some imports
Brian Dolbec [Tue, 25 Jan 2011 08:27:31 +0000 (00:27 -0800)]
fix a missed rename and relocationof some imports

13 years agoAdd a new packages module to analyse
Brian Dolbec [Tue, 25 Jan 2011 05:38:16 +0000 (21:38 -0800)]
Add a new packages module to analyse

13 years agoMake the ignorance of local settings complete.
Tomas Chvatal [Sun, 23 Jan 2011 18:51:06 +0000 (19:51 +0100)]
Make the ignorance of local settings complete.

13 years agoIgnore local_settings for package maks.
Tomas Chvatal [Sun, 23 Jan 2011 18:42:57 +0000 (19:42 +0100)]
Ignore local_settings for package maks.

13 years agoMake shadow checker aware of mask status.
Tomas Chvatal [Thu, 20 Jan 2011 21:44:23 +0000 (22:44 +0100)]
Make shadow checker aware of mask status.

13 years agocreate a new uniqify_atoms() to properly handle a list of atom instances.
Brian Dolbec [Mon, 10 Jan 2011 01:09:08 +0000 (17:09 -0800)]
create a new uniqify_atoms() to properly handle a list of atom instances.
set the reverse dependency lookup to use it.

13 years agoremove the use of uniqify as it does not work correctly with atoms.
Brian Dolbec [Sun, 9 Jan 2011 17:53:55 +0000 (09:53 -0800)]
remove the use of uniqify as it does not work correctly with atoms.

13 years agoRemove extraneous merge conflict marker.
Paul Varner [Thu, 6 Jan 2011 21:29:22 +0000 (15:29 -0600)]
Remove extraneous merge conflict marker.

13 years agoUpdate workflow in README.dev from subversion to git
Paul Varner [Thu, 6 Jan 2011 21:18:45 +0000 (15:18 -0600)]
Update workflow in README.dev from subversion to git

13 years agoAdd testfile for eclean tests to repository.
Paul Varner [Thu, 6 Jan 2011 20:47:52 +0000 (14:47 -0600)]
Add testfile for eclean tests to repository.

13 years agoUpdate ChangeLog for new euse
Paul Varner [Thu, 6 Jan 2011 19:09:46 +0000 (13:09 -0600)]
Update ChangeLog for new euse

13 years agoAdd gentoolkitNonZeroExit exception
Paul Varner [Thu, 6 Jan 2011 14:22:07 +0000 (08:22 -0600)]
Add gentoolkitNonZeroExit exception

This exception should only be used when an error is not fatal and the
absence of information means no data was found.  The return_code
parameter can be used to set the exit value.

Have the equery list module when in quiet mode return an exit status of
3.  This is needed to prevent 'euse -I' from printing many 'No installed
packages matching ...' error messages.

13 years agoman page formatting cleanup.
Paul Varner [Thu, 6 Jan 2011 14:35:09 +0000 (08:35 -0600)]
man page formatting cleanup.

Loaded man pages into manedit and resaved.  This has the effect of
cleaning up the formatting, mainly properly escaping '-' characters.

13 years agoUpdated fix for partially matching use flags.
Paul Varner [Thu, 6 Jan 2011 03:23:41 +0000 (21:23 -0600)]
Updated fix for partially matching use flags.
The previous fix would still match a use flag it it started with the
same characters.
This fixes it completely.

13 years agoequery list: do not raise GentoolkitNoMatches exception in quiet mode
Paul Varner [Wed, 5 Jan 2011 19:26:40 +0000 (13:26 -0600)]
equery list: do not raise GentoolkitNoMatches exception in quiet mode

13 years agoAdded updates from Jared Hancock.
Paul Varner [Wed, 5 Jan 2011 05:09:57 +0000 (23:09 -0600)]
Added updates from Jared Hancock.

Fixed error output from disabling global flags with -D. Added --remove
option and left --prune as an alias

Also, as requested, pruning a flag no longer removes it from local
package.use unless an explicit package is given. Unfortunately, package
wildcards are not yet supported, so the package must be given exactly
as it is found in package.use.

Emit a warning for invalid package atoms:

euse -E ldap -p =net-misc/openssh
euse -E ldap -p net-misc/openssh-5.6*

will both fail now since they would be ineffective and give further
warnings from portage later.

euse also would add an extra empty line to make.conf every time it was
invoked with -E or -D

13 years agoFix bug where a use flag was partially matching a masked use flag.
Paul Varner [Tue, 4 Jan 2011 22:25:13 +0000 (16:25 -0600)]
Fix bug where a use flag was partially matching a masked use flag.
For example: tk matching gtk3.

13 years agoAdd Jared Hancock to AUTHORS file
Paul Varner [Tue, 4 Jan 2011 22:25:04 +0000 (16:25 -0600)]
Add Jared Hancock to AUTHORS file

13 years agoMerge euse from bug 259318
Paul Varner [Tue, 4 Jan 2011 18:52:47 +0000 (12:52 -0600)]
Merge euse from bug 259318

* euse:
  Add remove option. Remove perl code and change to sed. Add Jared Hancock to the authors.
  Change mode of eshowkw to 0755
  Added euse from bug 259318

13 years agoAdd remove option.
Paul Varner [Tue, 4 Jan 2011 15:34:55 +0000 (09:34 -0600)]
Add remove option.
Remove perl code and change to sed.
Add Jared Hancock to the authors.

13 years agoSet the encoding to 'utf_8', if the encoding returned by
Paul Varner [Sat, 1 Jan 2011 17:38:55 +0000 (11:38 -0600)]
Set the encoding to 'utf_8', if the encoding returned by
locale.getpreferredencoding() is unknown to python. (Bug 350156)

13 years agoChange mode of eshowkw to 0755
Paul Varner [Fri, 31 Dec 2010 18:55:35 +0000 (12:55 -0600)]
Change mode of eshowkw to 0755

13 years agoMerge branch 'gentoolkit' into euse
Paul Varner [Wed, 29 Dec 2010 00:30:14 +0000 (18:30 -0600)]
Merge branch 'gentoolkit' into euse

Conflicts:
bin/euse

13 years agoAdded euse from bug 259318
Paul Varner [Tue, 28 Dec 2010 22:39:13 +0000 (16:39 -0600)]
Added euse from bug 259318

13 years agoRemove use_cache parameter from setcpv call since it is deprecated.
FuzzyRay [Tue, 28 Dec 2010 20:28:46 +0000 (14:28 -0600)]
Remove use_cache parameter from setcpv call since it is deprecated.
Bug 349342

13 years agoInital man page for eshowkw listing all of the options.
FuzzyRay [Mon, 27 Dec 2010 22:18:23 +0000 (16:18 -0600)]
Inital man page for eshowkw listing all of the options.

14 years agoAdd equery has information to the man page.
Brian Dolbec [Tue, 21 Dec 2010 10:15:17 +0000 (02:15 -0800)]
Add equery has information to the man page.

14 years agoConvert my name to contain all proper chars.
scarabeus [Sat, 18 Dec 2010 20:55:24 +0000 (20:55 -0000)]
Convert my name to contain all proper chars.

svn path=/trunk/gentoolkit/; revision=877

14 years agoAdd man page stub for eshowkw
fuzzyray [Fri, 17 Dec 2010 18:47:08 +0000 (18:47 -0000)]
Add man page stub for eshowkw

svn path=/trunk/gentoolkit/; revision=876

14 years agoDrop useless comment line
scarabeus [Sat, 4 Dec 2010 08:51:34 +0000 (08:51 -0000)]
Drop useless comment line

svn path=/trunk/gentoolkit/; revision=872

14 years agoUpdate sorting algorithm to order slots properly if package with lower slot has highe...
scarabeus [Sat, 4 Dec 2010 08:46:56 +0000 (08:46 -0000)]
Update sorting algorithm to order slots properly if package with lower slot has higher version.

svn path=/trunk/gentoolkit/; revision=871

14 years agoProperly get versions for all packages in all repositories so versions from different...
scarabeus [Sat, 27 Nov 2010 21:26:42 +0000 (21:26 -0000)]
Properly get versions for all packages in all repositories so versions from different repos does not shadow each other

svn path=/trunk/gentoolkit/; revision=870

14 years agoMake euse prefix aware
fuzzyray [Wed, 24 Nov 2010 18:28:10 +0000 (18:28 -0000)]
Make euse prefix aware

svn path=/trunk/gentoolkit/; revision=869

14 years agoUpdate euse to look for portage config files in new as well as old paths. Bug 346519
fuzzyray [Wed, 24 Nov 2010 17:51:15 +0000 (17:51 -0000)]
Update euse to look for portage config files in new as well as old paths. Bug 346519

svn path=/trunk/gentoolkit/; revision=868

14 years agoRevert previous changes to euse, changes will need to be more extensive
fuzzyray [Tue, 23 Nov 2010 22:05:12 +0000 (22:05 -0000)]
Revert previous changes to euse, changes will need to be more extensive

svn path=/trunk/gentoolkit/; revision=867

14 years agoUpdate euse to look for /etc/portage/make.conf as well as /etc/make.conf. Bug 346519
fuzzyray [Tue, 23 Nov 2010 17:26:38 +0000 (17:26 -0000)]
Update euse to look for /etc/portage/make.conf as well as /etc/make.conf. Bug 346519

svn path=/trunk/gentoolkit/; revision=866

14 years agoFix cpv.py to handle prefix ebuild inter-revisions. Bug 313295
fuzzyray [Mon, 22 Nov 2010 19:59:51 +0000 (19:59 -0000)]
Fix cpv.py to handle prefix ebuild inter-revisions. Bug 313295

svn path=/trunk/gentoolkit/; revision=865

14 years agoMove useless variable passing.
scarabeus [Mon, 22 Nov 2010 19:19:02 +0000 (19:19 -0000)]
Move useless variable passing.

svn path=/trunk/gentoolkit/; revision=864

14 years agoRun the keywords check only if the keywords are not empty.
scarabeus [Mon, 22 Nov 2010 19:13:46 +0000 (19:13 -0000)]
Run the keywords check only if the keywords are not empty.

svn path=/trunk/gentoolkit/; revision=863

14 years agoDrop useless import
scarabeus [Mon, 22 Nov 2010 19:04:08 +0000 (19:04 -0000)]
Drop useless import

svn path=/trunk/gentoolkit/; revision=862

14 years agoFix wrong value parsing
scarabeus [Sun, 21 Nov 2010 18:08:42 +0000 (18:08 -0000)]
Fix wrong value parsing

svn path=/trunk/gentoolkit/; revision=861

14 years agoDrop useless code for whitespace stripping
scarabeus [Sun, 21 Nov 2010 17:58:39 +0000 (17:58 -0000)]
Drop useless code for whitespace stripping

svn path=/trunk/gentoolkit/; revision=860

14 years agoCompare keywords not as exact line match but separately. This allows multiple combine...
scarabeus [Sun, 21 Nov 2010 16:25:36 +0000 (16:25 -0000)]
Compare keywords not as exact line match but separately. This allows multiple combined versions to overshadow.

svn path=/trunk/gentoolkit/; revision=859

14 years agoFix UnicodeDecodeError in setup.py, bug 346001
fuzzyray [Fri, 19 Nov 2010 20:18:46 +0000 (20:18 -0000)]
Fix UnicodeDecodeError in setup.py, bug 346001

svn path=/trunk/gentoolkit/; revision=858

14 years agoRevert: Use join() rather than string printing.
scarabeus [Fri, 19 Nov 2010 10:53:20 +0000 (10:53 -0000)]
Revert: Use join() rather than string printing.

svn path=/trunk/gentoolkit/; revision=857

14 years agoRemove unused variable.
scarabeus [Thu, 18 Nov 2010 20:10:53 +0000 (20:10 -0000)]
Remove unused variable.

svn path=/trunk/gentoolkit/; revision=856

14 years agoUse join() rather than string printing. gentoolkit-0.3.0_rc11
scarabeus [Wed, 17 Nov 2010 02:33:58 +0000 (02:33 -0000)]
Use join() rather than string printing.

svn path=/trunk/gentoolkit/; revision=854

14 years agoRespect category when running as cwd call without specified package.
scarabeus [Wed, 17 Nov 2010 02:25:46 +0000 (02:25 -0000)]
Respect category when running as cwd call without specified package.

svn path=/trunk/gentoolkit/; revision=853

14 years agoChange keywords short option to 'y' from 'k' which was already taken by the check...
fuzzyray [Mon, 15 Nov 2010 23:56:17 +0000 (23:56 -0000)]
Change keywords short option to 'y' from 'k' which was already taken by the check keyword. Uncomment has keyword in test_init.py

svn path=/trunk/gentoolkit/; revision=849

14 years agoFix failing test, caused by uncommenting the has module
fuzzyray [Mon, 15 Nov 2010 23:38:31 +0000 (23:38 -0000)]
Fix failing test, caused by uncommenting the has module

svn path=/trunk/gentoolkit/; revision=848

14 years agoMerge genscripts revision 481
fuzzyray [Mon, 15 Nov 2010 19:07:39 +0000 (19:07 -0000)]
Merge genscripts revision 481

svn path=/trunk/gentoolkit/; revision=847

14 years agoDie correctly when called indirectly with no package specified.
scarabeus [Tue, 2 Nov 2010 14:20:49 +0000 (14:20 -0000)]
Die correctly when called indirectly with no package specified.

svn path=/trunk/gentoolkit/; revision=846

14 years agoFix typos in previous commit.
scarabeus [Tue, 2 Nov 2010 14:14:31 +0000 (14:14 -0000)]
Fix typos in previous commit.

svn path=/trunk/gentoolkit/; revision=845

14 years agoRevert altering keywords_content. This change was not ready yet.
scarabeus [Tue, 2 Nov 2010 14:07:08 +0000 (14:07 -0000)]
Revert altering keywords_content. This change was not ready yet.

svn path=/trunk/gentoolkit/; revision=844

14 years agoFix arg parsing everywhere for eshowkw.
scarabeus [Tue, 2 Nov 2010 14:05:00 +0000 (14:05 -0000)]
Fix arg parsing everywhere for eshowkw.

svn path=/trunk/gentoolkit/; revision=843

14 years agoFix error on rotate content and py3 compat.
scarabeus [Tue, 2 Nov 2010 13:53:19 +0000 (13:53 -0000)]
Fix error on rotate content and py3 compat.

svn path=/trunk/gentoolkit/; revision=842

14 years agoExtend PORTDIR_OVERLAY rather than overriding it to not create warnings.
scarabeus [Fri, 29 Oct 2010 09:04:07 +0000 (09:04 -0000)]
Extend PORTDIR_OVERLAY rather than overriding it to not create warnings.

svn path=/trunk/gentoolkit/; revision=840

14 years agoAdd encoding informations.
scarabeus [Thu, 28 Oct 2010 21:39:18 +0000 (21:39 -0000)]
Add encoding informations.

svn path=/trunk/gentoolkit/; revision=839

14 years agoFix import path again. Process only proper passed args in required function.
scarabeus [Thu, 28 Oct 2010 21:31:47 +0000 (21:31 -0000)]
Fix import path again. Process only proper passed args in required function.

svn path=/trunk/gentoolkit/; revision=838

14 years agoInitial commit to add equery keywords support for executing eshowkw.
scarabeus [Thu, 28 Oct 2010 21:18:06 +0000 (21:18 -0000)]
Initial commit to add equery keywords support for executing eshowkw.

svn path=/trunk/gentoolkit/; revision=837

14 years agoFix typo, using undefined variable with name as function...
scarabeus [Thu, 28 Oct 2010 21:10:27 +0000 (21:10 -0000)]
Fix typo, using undefined variable with name as function...

svn path=/trunk/gentoolkit/; revision=836

14 years agoFix imports and package to reflect gentoolkit integration.
scarabeus [Thu, 28 Oct 2010 21:07:58 +0000 (21:07 -0000)]
Fix imports and package to reflect gentoolkit integration.

svn path=/trunk/gentoolkit/; revision=835

14 years agoFix broken include.
scarabeus [Thu, 28 Oct 2010 20:27:47 +0000 (20:27 -0000)]
Fix broken include.

svn path=/trunk/gentoolkit/; revision=834

14 years agoFix typo
scarabeus [Thu, 28 Oct 2010 20:25:58 +0000 (20:25 -0000)]
Fix typo

svn path=/trunk/gentoolkit/; revision=833

14 years agoUpdate version string in eshowkw properly.
scarabeus [Thu, 28 Oct 2010 20:19:13 +0000 (20:19 -0000)]
Update version string in eshowkw properly.

svn path=/trunk/gentoolkit/; revision=832

14 years agoInitial commit of eshowkw, which is drop-in replacement for eshowkw from gentoolkit...
scarabeus [Thu, 28 Oct 2010 20:13:51 +0000 (20:13 -0000)]
Initial commit of eshowkw, which is drop-in replacement for eshowkw from gentoolkit-dev.

svn path=/trunk/gentoolkit/; revision=831

14 years agoAdd --binpkgs-missing option to equery list to print installed packages that
fuzzyray [Thu, 23 Sep 2010 22:15:38 +0000 (22:15 -0000)]
Add --binpkgs-missing option to equery list to print installed packages that
do not have a corresponding binary package built.

svn path=/trunk/gentoolkit/; revision=815

14 years agoDon't match package names in /var/db/pkg that begin with a '-'. This
fuzzyray [Thu, 23 Sep 2010 03:36:39 +0000 (03:36 -0000)]
Don't match package names in /var/db/pkg that begin with a '-'. This
prevents us from matching -MERGING entries. (Bug 338031)

svn path=/trunk/gentoolkit/; revision=814

14 years agoMerge from genscripts r457: douglasjanderson
fuzzyray [Wed, 22 Sep 2010 21:59:35 +0000 (21:59 -0000)]
Merge from genscripts r457: douglasjanderson
Add h(a)s to gentoolkit.test.equery.test_init.test_expand_module_name so that
the test passes.

Merge from genscripts r453: douglasjanderson
This bring all equery modules except the new has module on board with
bug #114086; adding non-zero exit status when a script finds no results

Merge from genscripts r441: brian.dolbec
some minor (non fatal) indent fixes.

svn path=/trunk/gentoolkit/; revision=812

14 years agoMerge from genscripts r459: douglasjanderson
fuzzyray [Wed, 22 Sep 2010 21:51:32 +0000 (21:51 -0000)]
Merge from genscripts r459: douglasjanderson
Fixing a traceback when Query is passed an invalid atom, and merging some
_incomplete_ work on has.py

Merge from genscripts r454: brian.dolbec
make the needed changes to fix bug 114086 in the has module.

Merge from genscripts r452: douglasjanderson
gentoolkit.query.Query can't subclass gentoolkit.atom.Atom because we can't
control what portage.dep.Atom takes as input.

Merge from genscripts r451: douglasjanderson
Revert r438 because the problem it addresses can be taken care of more robustly.

Merge from genscripts r449: douglasjanderson
Make some modifications to fix bug #309091

Merge from genscripts r444: brian.dolbec
add more help about the env_var's

Merge from genscripts r443: douglasjanderson
Simplify a func for ease of testing

Merge from genscripts r442: brian.dolbec
initial commit of a general purpose equery has module useable for nearly all the
available vardb ENVIRONMENT data"

Merge from genscripts r438: brian.dolbec
rework the dpendencies _parser() tok == '' trap in an attempt to trap the
InvalidAtom error, add '' removal from matches in query, add more detail in the
error from Atom, add a trap to skirt around a null atom in the ChangeLog class.
Hopefully I either solved it or have it printing out more info this time.

Merge from genscripts r436: brian.dolbec
fix the error in the raising of the GentoolkitInvalidAtom error, find and changethe info printed out in the error message to help track down the problem.

Merge from genscripts r428: andkit
Fix globbing for python-2.6.5/3.1.2 (fixes #315665)

Apply the regexp only to the category instead of trying to
modify the regexp to match the full package key to avoid relying on
a specific layout of the regexp return by fnmatch.translate.

svn path=/trunk/gentoolkit/; revision=811

14 years agoMerge from genscripts r446: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 21:33:43 +0000 (21:33 -0000)]
Merge from genscripts r446: brian.dolbec
fix the new has module description line.

Merge from genscripts r442: brian.dolbec
initial commit of a general purpose equery has module useable for nearly all
the available vardb ENVIRONMENT data

svn path=/trunk/gentoolkit/; revision=810

14 years agoMerge from genscripts r461: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 21:28:48 +0000 (21:28 -0000)]
Merge from genscripts r461: brian.dolbec
replace the inaccurate reg expression method of obtaining the filename from the
SRC_URI with code from portage.portdbapi._parse_uri_map() so that it works
correctly for all instances and it's just as fast.

svn path=/trunk/gentoolkit/; revision=809

14 years agoMerge from genscripts r445: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 21:26:01 +0000 (21:26 -0000)]
Merge from genscripts r445: brian.dolbec
fix Bug 327741. put in the full command path including the EPREFIX if defined.

svn path=/trunk/gentoolkit/; revision=808

14 years agoMerge from genscripts r448: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 21:24:05 +0000 (21:24 -0000)]
Merge from genscripts r448: brian.dolbec
Fix the output of the deprecated pkg information to reflect whether it was able
to save their sources or not.

Merge from genscripts r439: brian.dolbec
fix the prettySize output errors introduced when I removed the deprecated
formatting style previously used.  This now properly displays the rounded file
sizes.

svn path=/trunk/gentoolkit/; revision=807

14 years agoMerge from genscripts r440: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 21:20:46 +0000 (21:20 -0000)]
Merge from genscripts r440: brian.dolbec
remove the noisy deprecation warning and put in a comment instead.  This
function tries the new API function parameter first anyway, so it would only
revert to internal code as a last resort.

svn path=/trunk/gentoolkit/; revision=806

14 years agoMerge from genscripts r429: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 21:18:18 +0000 (21:18 -0000)]
Merge from genscripts r429: brian.dolbec
remove a few debug print statements.

svn path=/trunk/gentoolkit/; revision=805

14 years agoMerge from genscripts r458: douglasjanderson
fuzzyray [Wed, 22 Sep 2010 21:11:52 +0000 (21:11 -0000)]
Merge from genscripts r458: douglasjanderson
Fix for bug #303129: equery meta's keyword sorting should match ekeyword.

Merge from genscripts r455: douglasjanderson
Small backend and source mods.

Merge from genscripts r432: brian.dolbec
fix Bug 317899 traceback due to incorrectly using pass instead of continue in
two locations.

Merge from genscripts r426: andkit
add $mask2 to the list of allowed placeholders for --help.

svn path=/trunk/gentoolkit/; revision=804

14 years agoMerge from genscripts r460: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 20:59:30 +0000 (20:59 -0000)]
Merge from genscripts r460:  brian.dolbec
fix typo.

svn path=/trunk/gentoolkit/; revision=803

14 years agoMerge from genscripts r451: douglasjanderson
fuzzyray [Wed, 22 Sep 2010 20:56:38 +0000 (20:56 -0000)]
Merge from genscripts r451: douglasjanderson
Revert r438 because the problem it addresses can be taken care of more robustly.

Merge from genscripts r449: douglasjanderson
Make some modifications to fix bug #309091

Merge from genscripts r438: brian.dolbec
rework the dpendencies _parser() tok == '' trap in an attempt to trap the
InvalidAtom error, add '' removal from matches in query, add more detail in the
error from Atom, add a trap to skirt around a null atom in the ChangeLog class.
Hopefully I either solved it or have it printing out more info this time.

Merge from genscripts r436: brian.dolbec
fix the error in the raising of the GentoolkitInvalidAtom error, find and change
the info printed out in the error message to help track down the problem.

Merge from genscripts r435: brian.dolbec
modify the tok if statement as it didn't catch the error the user was using to
print out additional info

Merge from genscripts r434: brian.dolbec
try to solve an svn diff! Invalid Atom, '' error a user is getting running
equery depends.  this should intercept the empty tok before and print out more
useable info to determine if it should be an error or should be ignored, etc.

svn path=/trunk/gentoolkit/; revision=802

14 years agoMerge from genscripts r456: douglasjanderson
fuzzyray [Wed, 22 Sep 2010 20:37:14 +0000 (20:37 -0000)]
Merge from genscripts r456: douglasjanderson
Revert r430 and fix the problem within the existing code without relying on
pkgsplit (it's slow); adds test case to catch the problem and future
regressions. Bug #316961

Merge from genscripts r433: brian.dolbec
fix a regression due to pkgsplit returning '-r0'.

Merge from genscripts r430: brian.dolbec
fix bug 316961. commented out the pkgname validation due to a false result. Why
is it necessary anyway?

svn path=/trunk/gentoolkit/; revision=801

14 years agoMerge from genscripts r447: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 20:25:39 +0000 (20:25 -0000)]
Merge from genscripts r447: brian.dolbec
Update the eclean manpage with the additional options.
Fix a few grammar mistakes.
Add a section explaining the new deprecated pkg reporting.

svn path=/trunk/gentoolkit/; revision=800

14 years agoReplace portage.db[/] with portage.db[portage.root] so that root is not hardcoded
fuzzyray [Thu, 13 May 2010 16:07:10 +0000 (16:07 -0000)]
Replace portage.db[/] with portage.db[portage.root] so that root is not hardcoded

svn path=/trunk/gentoolkit/; revision=782

14 years agoeclean/cli.py: Fix typo, bug 319349, thanks to Ulrich Müller <ulm@gentoo.org>.
idl0r [Thu, 13 May 2010 00:17:40 +0000 (00:17 -0000)]
eclean/cli.py: Fix typo, bug 319349, thanks to Ulrich Müller <ulm@gentoo.org>.

svn path=/trunk/gentoolkit/; revision=781

14 years agorevdep-rebuild: Make revdep-rebuild more quiet, bug 97073. We might
idl0r [Thu, 6 May 2010 00:25:29 +0000 (00:25 -0000)]
revdep-rebuild: Make revdep-rebuild more quiet, bug 97073. We might
improve that a bit more in the future.

svn path=/trunk/gentoolkit/; revision=780

14 years agoRestore follow symlinks option (-L) to the find /var/db/pkg command so that revdep...
fuzzyray [Wed, 28 Apr 2010 14:53:44 +0000 (14:53 -0000)]
Restore follow symlinks option (-L) to the find /var/db/pkg command so that revdep-rebuild works even when /var/db/pkg is a symlink. (Bug #317571)

svn path=/trunk/gentoolkit/; revision=777

14 years agoeuse: Make python code of euse python-3 compatible, thanks to Arfrever
idl0r [Sat, 17 Apr 2010 19:27:08 +0000 (19:27 -0000)]
euse: Make python code of euse python-3 compatible, thanks to Arfrever
Frehtes Taifersar Arahesis <arfrever@gentoo.org>.

svn path=/trunk/gentoolkit/; revision=775

14 years agoDocument --format option for equery
fuzzyray [Mon, 12 Apr 2010 04:17:52 +0000 (04:17 -0000)]
Document --format option for equery

svn path=/trunk/gentoolkit/; revision=774

14 years agoeuse: Fix check for /etc/make.profile.
idl0r [Sun, 11 Apr 2010 18:07:15 +0000 (18:07 -0000)]
euse: Fix check for /etc/make.profile.
Check if its readable and a directory instead of checking if its a link,
thanks to Phillip Brink (ohnobinki) <ohnobinki@ohnopublishing.net>.

svn path=/trunk/gentoolkit/; revision=772

14 years agoFix spelling of deprecation
fuzzyray [Thu, 8 Apr 2010 21:41:55 +0000 (21:41 -0000)]
Fix spelling of deprecation

svn path=/trunk/gentoolkit/; revision=771

14 years agoChange AttributeError to ImportError when trying to import EPREFIX
fuzzyray [Thu, 8 Apr 2010 21:31:06 +0000 (21:31 -0000)]
Change AttributeError to ImportError when trying to import EPREFIX

svn path=/trunk/gentoolkit/; revision=770

14 years agoFix bad indentation
fuzzyray [Thu, 8 Apr 2010 21:19:35 +0000 (21:19 -0000)]
Fix bad indentation

svn path=/trunk/gentoolkit/; revision=769

14 years agoSync with genscripts rev 422, includes fixes to eclean and python additions for prefix
fuzzyray [Thu, 8 Apr 2010 21:13:07 +0000 (21:13 -0000)]
Sync with genscripts rev 422, includes fixes to eclean and python additions for prefix

svn path=/trunk/gentoolkit/; revision=768

14 years agoeuse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault
idl0r [Tue, 6 Apr 2010 21:23:46 +0000 (21:23 -0000)]
euse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault
<jbrouault@gmail.com>.

svn path=/trunk/gentoolkit/; revision=767

14 years agorevdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS to allow overwriting, gentoolkit-0.3.0_rc10
idl0r [Thu, 1 Apr 2010 15:03:35 +0000 (15:03 -0000)]
revdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS to allow overwriting,
bug 307023, thanks to Albert W. Hopkins <marduk@python.net>.

svn path=/trunk/gentoolkit/; revision=765

14 years agoFix link to testdistfiles.tar.gz.
idl0r [Thu, 1 Apr 2010 14:41:20 +0000 (14:41 -0000)]
Fix link to testdistfiles.tar.gz.

svn path=/trunk/gentoolkit/; revision=764

14 years agorevdep-rebuild: Check if $ERRORS_FILE exist before running gawk on it.
idl0r [Wed, 31 Mar 2010 16:56:01 +0000 (16:56 -0000)]
revdep-rebuild: Check if $ERRORS_FILE exist before running gawk on it.

svn path=/trunk/gentoolkit/; revision=763