portage.git
16 years agoreapply repoman typo fix v2.2_pre1
Marius Mauch [Sat, 9 Feb 2008 23:15:25 +0000 (23:15 -0000)]
reapply repoman typo fix

svn path=/main/tags/2.2_pre1/; revision=9317

16 years agoBug #208743 - Update dosed docs to indicate that "s:${D}::g" is used
Zac Medico [Sat, 9 Feb 2008 22:05:24 +0000 (22:05 -0000)]
Bug #208743 - Update dosed docs to indicate that "s:${D}::g" is used
as the default expression if none other is given.

svn path=/main/trunk/; revision=9313

16 years agoadd tagging capabilities and cli options
Marius Mauch [Sat, 9 Feb 2008 15:39:49 +0000 (15:39 -0000)]
add tagging capabilities and cli options

svn path=/main/trunk/; revision=9312

16 years agoadd preserve-libs info to make.conf.example
Marius Mauch [Sat, 9 Feb 2008 15:13:35 +0000 (15:13 -0000)]
add preserve-libs info to make.conf.example

svn path=/main/trunk/; revision=9311

16 years agomore minor doc updates regarding package sets
Marius Mauch [Sat, 9 Feb 2008 13:31:05 +0000 (13:31 -0000)]
more minor doc updates regarding package sets

svn path=/main/trunk/; revision=9310

16 years agominor documentation updates
Marius Mauch [Sat, 9 Feb 2008 13:23:36 +0000 (13:23 -0000)]
minor documentation updates

svn path=/main/trunk/; revision=9309

16 years agonew script for creating release tarballs
Marius Mauch [Sat, 9 Feb 2008 12:47:58 +0000 (12:47 -0000)]
new script for creating release tarballs

svn path=/main/trunk/; revision=9308

16 years agoremoving obsolete cruft
Marius Mauch [Sat, 9 Feb 2008 12:04:51 +0000 (12:04 -0000)]
removing obsolete cruft

svn path=/main/trunk/; revision=9307

16 years agoBug #208708 - Show informative warning messages for installed
Zac Medico [Sat, 9 Feb 2008 04:58:39 +0000 (04:58 -0000)]
Bug #208708 - Show informative warning messages for installed
packages that are masked.

svn path=/main/trunk/; revision=9301

16 years agoFix some broken variable references found by pyflakes.
Zac Medico [Fri, 8 Feb 2008 11:46:53 +0000 (11:46 -0000)]
Fix some broken variable references found by pyflakes.

svn path=/main/trunk/; revision=9299

16 years agoBug #208708 - Fix masked package display some more:
Zac Medico [Fri, 8 Feb 2008 08:39:58 +0000 (08:39 -0000)]
Bug #208708 - Fix masked package display some more:

- Warn if all matching ebuilds are masked or the installed
  package itself is masked.

- Do not warn if there are simply no matching ebuilds since
  that would be annoying in some cases.

svn path=/main/trunk/; revision=9293

16 years agoDon't show unmasked packages (currently installed packages) in
Zac Medico [Fri, 8 Feb 2008 08:01:09 +0000 (08:01 -0000)]
Don't show unmasked packages (currently installed packages) in
the masking display.

svn path=/main/trunk/; revision=9292

16 years agoAdd DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.
Zac Medico [Fri, 8 Feb 2008 04:33:30 +0000 (04:33 -0000)]
Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.

svn path=/main/trunk/; revision=9290

16 years agoBug #208708 - Fix warnings for system or world packages that are masked.
Zac Medico [Fri, 8 Feb 2008 01:26:13 +0000 (01:26 -0000)]
Bug #208708 - Fix warnings for system or world packages that are masked.

svn path=/main/trunk/; revision=9289

16 years agoBug #208743 - Clarify dosed docs to indicate that sed is performed
Zac Medico [Fri, 8 Feb 2008 00:32:49 +0000 (00:32 -0000)]
Bug #208743 - Clarify dosed docs to indicate that sed is performed
in place of a file in ${D}.

svn path=/main/trunk/; revision=9287

16 years agoBug #208782 - Consistently use double quotes rather than mixining in single
Zac Medico [Fri, 8 Feb 2008 00:19:50 +0000 (00:19 -0000)]
Bug #208782 - Consistently use double quotes rather than mixining in single
quotes.

svn path=/main/trunk/; revision=9285

16 years agoBug #209144 - For emerge --sync, don't return 0 when the server
Zac Medico [Fri, 8 Feb 2008 00:12:37 +0000 (00:12 -0000)]
Bug #209144 - For emerge --sync, don't return 0 when the server
is out of date.

svn path=/main/trunk/; revision=9283

16 years agoBug #155993 - Update environment.bz2 after postinst in case
Zac Medico [Thu, 7 Feb 2008 23:30:49 +0000 (23:30 -0000)]
Bug #155993 - Update environment.bz2 after postinst in case
installation phases need to pass some variables to
uninstallation phases.

svn path=/main/trunk/; revision=9281

16 years agoFor the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] instead
Zac Medico [Wed, 6 Feb 2008 08:43:57 +0000 (08:43 -0000)]
For the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] instead
of egrep since apparently it's compatible in this case. Thanks to
igli for this.

svn path=/main/trunk/; revision=9279

16 years agoMake qa_source and qa_call save the return value and return it. Thanks
Zac Medico [Wed, 6 Feb 2008 06:08:51 +0000 (06:08 -0000)]
Make qa_source and qa_call save the return value and return it. Thanks
to igli for suggesting.

svn path=/main/trunk/; revision=9278

16 years agodon't try to copy manually removed libraries (bug #208946)
Marius Mauch [Tue, 5 Feb 2008 21:29:15 +0000 (21:29 -0000)]
don't try to copy manually removed libraries (bug #208946)

svn path=/main/trunk/; revision=9277

16 years agodisplay errors that occured during package set initalization
Marius Mauch [Tue, 5 Feb 2008 19:02:24 +0000 (19:02 -0000)]
display errors that occured during package set initalization

svn path=/main/trunk/; revision=9276

16 years agodon't record internal providers in NEEDED records as they are pointless for all usefu...
Marius Mauch [Tue, 5 Feb 2008 18:57:08 +0000 (18:57 -0000)]
don't record internal providers in NEEDED records as they are pointless for all useful applications in portage and complicate them instead (e.g. bug #205531)

svn path=/main/trunk/; revision=9275

16 years agoUse local time for elog summaries
Marius Mauch [Tue, 5 Feb 2008 08:21:06 +0000 (08:21 -0000)]
Use local time for elog summaries

svn path=/main/trunk/; revision=9273

16 years agoportage-2.1.4.1
Zac Medico [Fri, 1 Feb 2008 04:36:25 +0000 (04:36 -0000)]
portage-2.1.4.1
==================================

* If you have an overlay then you should remove **/files/digest-*
  files (Manifest1) because they are no longer supported.
* If earlier versions of portage will be used to generate manifests
  for your overlay then you should add a file named manifest1_obsolete
  to the root of the repository in order to disable generation of the
  Manifest1 digest files.

svn path=/main/trunk/; revision=9264

16 years agoRemove the manifest1 digest file removal code since it's no longer
Zac Medico [Fri, 1 Feb 2008 03:11:56 +0000 (03:11 -0000)]
Remove the manifest1 digest file removal code since it's no longer
needed.

svn path=/main/trunk/; revision=9262

16 years agoRemove the manifest1 digest filter from PORTAGE_RSYNC_OPTS since it's
Zac Medico [Fri, 1 Feb 2008 02:53:08 +0000 (02:53 -0000)]
Remove the manifest1 digest filter from PORTAGE_RSYNC_OPTS since it's
no longer needed.

svn path=/main/trunk/; revision=9260

16 years agoMake the manifest1_compat constructor parameter default to False
Zac Medico [Fri, 1 Feb 2008 00:04:52 +0000 (00:04 -0000)]
Make the manifest1_compat constructor parameter default to False
to prevent potential interference from stale old digest files in
overlays.

svn path=/main/trunk/; revision=9258

16 years agoBug #205718 - Fix quoting of ${INSTALL_MASK} where appropriate. Thanks
Zac Medico [Thu, 31 Jan 2008 23:45:12 +0000 (23:45 -0000)]
Bug #205718 - Fix quoting of ${INSTALL_MASK} where appropriate. Thanks
to Ed Catmur <ed@catmur.co.uk> for this patch.

svn path=/main/trunk/; revision=9256

16 years agoDisable manifest1_compat for ebuild --force digest.
Zac Medico [Thu, 31 Jan 2008 20:25:20 +0000 (20:25 -0000)]
Disable manifest1_compat for ebuild --force digest.

svn path=/main/trunk/; revision=9254

16 years agoUnconditionally disable manifest1 compatibility since it's been dropped
Zac Medico [Thu, 31 Jan 2008 20:04:56 +0000 (20:04 -0000)]
Unconditionally disable manifest1 compatibility since it's been dropped
from the main tree and nobody needs it anymore.

svn path=/main/trunk/; revision=9252

16 years agoMake the autotools.eclass functions exempt from the autotools
Zac Medico [Thu, 31 Jan 2008 09:31:23 +0000 (09:31 -0000)]
Make the autotools.eclass functions exempt from the autotools
QA Notice.

svn path=/main/trunk/; revision=9249

16 years agoAdd 'local' to the list of non_category_dirs since it's commonly
Zac Medico [Thu, 31 Jan 2008 07:46:28 +0000 (07:46 -0000)]
Add 'local' to the list of non_category_dirs since it's commonly
used for layman overlays.

svn path=/main/trunk/; revision=9241

16 years ago* Bug #205966 - Don't show binhost password when displaying the uri.
Zac Medico [Thu, 31 Jan 2008 04:15:48 +0000 (04:15 -0000)]
* Bug #205966 - Don't show binhost password when displaying the uri.
* Fix a cpv variable name typo.

svn path=/main/trunk/; revision=9238

16 years agoRemove the last traces of the ebuild.autotools check.
Zac Medico [Wed, 30 Jan 2008 22:52:57 +0000 (22:52 -0000)]
Remove the last traces of the ebuild.autotools check.

svn path=/main/trunk/; revision=9236

16 years ago- Remove ebuild.autotools repoman check since it produces lots
Zac Medico [Wed, 30 Jan 2008 22:49:47 +0000 (22:49 -0000)]
- Remove ebuild.autotools repoman check since it produces lots
  of false positives (bug #207104) and its hard to parse bash

- Use QA_INTERCEPTORS in ebuild.sh to implement a runtime
  'QA Notice' when autotools is called directly

svn path=/main/trunk/; revision=9235

16 years agouse strip(os.sep) on paths prior to os.path.join (branches/prefix
Zac Medico [Wed, 30 Jan 2008 18:45:49 +0000 (18:45 -0000)]
use strip(os.sep) on paths prior to os.path.join (branches/prefix
r9228)

svn path=/main/trunk/; revision=9230

16 years agoPull more functions out of repoman proper and into repoman.utilities, correct a typo...
Alec Warner [Sun, 27 Jan 2008 11:26:48 +0000 (11:26 -0000)]
Pull more functions out of repoman proper and into repoman.utilities, correct a typo, clean up imports

svn path=/main/trunk/; revision=9227

16 years agoPull more functions out of repoman proper and into repoman.utilities
Alec Warner [Sun, 27 Jan 2008 11:26:01 +0000 (11:26 -0000)]
Pull more functions out of repoman proper and into repoman.utilities

svn path=/main/trunk/; revision=9226

16 years agoimport ordering, prevent errors from mucking up module namespace in checks, fix typo...
Alec Warner [Sun, 27 Jan 2008 11:05:41 +0000 (11:05 -0000)]
import ordering, prevent errors from mucking up module namespace in checks, fix typo from last commit, rename 'm' to autotools_match, fix spacing between classes

svn path=/main/trunk/; revision=9225

16 years agoRestore desktop.invalid as a warning; was an intergration error
Alec Warner [Sun, 27 Jan 2008 06:01:19 +0000 (06:01 -0000)]
Restore desktop.invalid as a warning; was an intergration error

svn path=/main/trunk/; revision=9222

16 years agoMove random functions out of repoman and into utilties.py
Alec Warner [Sat, 26 Jan 2008 20:53:20 +0000 (20:53 -0000)]
Move random functions out of repoman and into utilties.py

svn path=/main/trunk/; revision=9221

16 years agoBug #206772 - Enable bashrc once again for the clean phase.
Zac Medico [Tue, 22 Jan 2008 22:14:24 +0000 (22:14 -0000)]
Bug #206772 - Enable bashrc once again for the clean phase.

svn path=/main/trunk/; revision=9220

16 years agoWe need to implement diefunc() since environment.bz2 files contain
Zac Medico [Mon, 21 Jan 2008 01:43:38 +0000 (01:43 -0000)]
We need to implement diefunc() since environment.bz2 files contain
calls to it (due to alias expansion).

svn path=/main/trunk/; revision=9217

16 years agoReplace the current diefunc() and die alias with a single die() function.
Zac Medico [Sun, 20 Jan 2008 22:28:25 +0000 (22:28 -0000)]
Replace the current diefunc() and die alias with a single die() function.
The previous arguments to diefunc() weren't used anyway. The result is
that the die message looks better because it doesn't show the alias and
all of it's arguments which are totally irrelevant. (branches/prefix
r9212)

svn path=/main/trunk/; revision=9216

16 years agoAdd a note that PORTDIR is a repository of software and that users should not add...
Alec Warner [Sat, 19 Jan 2008 23:18:12 +0000 (23:18 -0000)]
Add a note that PORTDIR is a repository of software and that users should not add random directories in it.

svn path=/main/trunk/; revision=9209

16 years agoCheck for quoted ${A}. Thanks to maekke for this patch.
Zac Medico [Fri, 18 Jan 2008 22:58:21 +0000 (22:58 -0000)]
Check for quoted ${A}. Thanks to maekke for this patch.

svn path=/main/trunk/; revision=9206

16 years agofix typo in emerge-webrsync from r9118
Alec Warner [Sun, 13 Jan 2008 01:03:50 +0000 (01:03 -0000)]
fix typo in emerge-webrsync from r9118

svn path=/main/trunk/; revision=9201

16 years agostyle fixes (imports), add support for --version (bug 138159)
Alec Warner [Sun, 13 Jan 2008 00:55:21 +0000 (00:55 -0000)]
style fixes (imports), add support for --version (bug 138159)

svn path=/main/trunk/; revision=9200

16 years agoAdd some notes about enhancements related to binary package support
Zac Medico [Sat, 12 Jan 2008 02:53:42 +0000 (02:53 -0000)]
Add some notes about enhancements related to binary package support
that's now in 2.1.4.

svn path=/main/trunk/; revision=9197

16 years agoRemove redundant return statement.
Zac Medico [Sat, 12 Jan 2008 01:39:39 +0000 (01:39 -0000)]
Remove redundant return statement.

svn path=/main/trunk/; revision=9195

16 years agoIn preprocess_ebuild_env(), move a filter_readonly_variables call
Zac Medico [Sat, 12 Jan 2008 01:35:08 +0000 (01:35 -0000)]
In preprocess_ebuild_env(), move a filter_readonly_variables call
out of a subshell since FreeBSD and prefix users have reported
apparent corruption of the PATH environment variable that triggers
calls to the wrong version of sed (one that does not support the
-r option). An example of what users have observed:

>>> Source compiled.
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
Traceback (most recent call last):
  File "/usr/lib/portage/bin/filter-bash-environment.py", line 51, in <module>
    compile_egrep_pattern(args[0]), file_in, file_out)
  File "/usr/lib/portage/bin/filter-bash-environment.py", line 34, in filter_bash_environment
    file_out.write(line)
IOError: [Errno 32] Broken pipe

svn path=/main/trunk/; revision=9194

16 years agoReplace hardcoded value with max_desc_len.
Zac Medico [Sat, 12 Jan 2008 00:18:44 +0000 (00:18 -0000)]
Replace hardcoded value with max_desc_len.

svn path=/main/trunk/; revision=9192

16 years agoBug #203887 - Make repoman recognize RESTRICT="installsources".
Zac Medico [Fri, 11 Jan 2008 23:42:59 +0000 (23:42 -0000)]
Bug #203887 - Make repoman recognize RESTRICT="installsources".

svn path=/main/trunk/; revision=9190

16 years agoBug #205318 - Handle errno.ENOTDIR thrown from the lstat call
Zac Medico [Fri, 11 Jan 2008 23:07:10 +0000 (23:07 -0000)]
Bug #205318 - Handle errno.ENOTDIR thrown from the lstat call
inside dblink._security_check().

svn path=/main/trunk/; revision=9188

16 years agoAdjust the max DESCRIPTION.toolong length to 100 characters so that
Zac Medico [Fri, 11 Jan 2008 22:24:30 +0000 (22:24 -0000)]
Adjust the max DESCRIPTION.toolong length to 100 characters so that
it's not too small and only about 3% of packages will trigger it.

svn path=/main/trunk/; revision=9186

16 years agoFix a typo.
Zac Medico [Fri, 11 Jan 2008 11:59:15 +0000 (11:59 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=9184

16 years agoAdd a new "ebuild.autotools" check for when ebuilds call
Zac Medico [Fri, 11 Jan 2008 09:27:38 +0000 (09:27 -0000)]
Add a new "ebuild.autotools" check for when ebuilds call
 autotools directly instead of using autotools.eclass.
Thanks to Betelgeuse for the initial patch.

svn path=/main/trunk/; revision=9179

16 years ago* Make pkgcmp() pass the ebuild revision directly into vercmp() since
Zac Medico [Fri, 11 Jan 2008 08:19:55 +0000 (08:19 -0000)]
* Make pkgcmp() pass the ebuild revision directly into vercmp() since
  there is code there to handle it already. This eliminates some
  redundant revision comparison code. Thanks to peper for the patch.

* Add some vercmp() test cases for comparison of ebuild revisions.

svn path=/main/trunk/; revision=9178

16 years agoAdd a DESCRIPTION.toolong warning for when the DESCRIPTION line is
Zac Medico [Fri, 11 Jan 2008 07:22:07 +0000 (07:22 -0000)]
Add a DESCRIPTION.toolong warning for when the DESCRIPTION line is
over 80 characters long. Thanks to Betelgeuse for the patch.

svn path=/main/trunk/; revision=9177

16 years agoBug #162450 - Try to avoid having so many bugs marked UPSTREAM by
Zac Medico [Fri, 11 Jan 2008 06:51:09 +0000 (06:51 -0000)]
Bug #162450 - Try to avoid having so many bugs marked UPSTREAM by
encouraging users to report 'poor programming practices' QA issues
upstream and show them the $HOMEPAGE for convenience.

svn path=/main/trunk/; revision=9176

16 years agoBug #203887 - Implement RESTRICT=installsources for binaries that are
Zac Medico [Fri, 11 Jan 2008 05:14:43 +0000 (05:14 -0000)]
Bug #203887 - Implement RESTRICT=installsources for binaries that are
not compatible with debugedit.

svn path=/main/trunk/; revision=9167

16 years agoBug #203316 - Fix isvalidatom() to properly detect invalid operators
Zac Medico [Fri, 11 Jan 2008 04:31:53 +0000 (04:31 -0000)]
Bug #203316 - Fix isvalidatom() to properly detect invalid operators
used together with slot atoms. Thanks to Arfrever Frehtes Taifersar
Arahesis <Arfrever.FTA@GMail.Com> for the patch.

svn path=/main/trunk/; revision=9166

16 years agoFix the "Appending to PORTDIR_OVERLAY..." feature which was
Zac Medico [Fri, 11 Jan 2008 02:18:39 +0000 (02:18 -0000)]
Fix the "Appending to PORTDIR_OVERLAY..." feature which was
broken by the previous commit.

svn path=/main/trunk/; revision=9165

16 years agoMake sure that portdb.findname() returns the correct ebuild.
Zac Medico [Fri, 11 Jan 2008 02:03:15 +0000 (02:03 -0000)]
Make sure that portdb.findname() returns the correct ebuild.

svn path=/main/trunk/; revision=9164

16 years agoBug #204425 - Remove --delete-after from the default PORTAGE_RSYNC_OPTS.
Zac Medico [Fri, 11 Jan 2008 00:28:34 +0000 (00:28 -0000)]
Bug #204425 - Remove --delete-after from the default PORTAGE_RSYNC_OPTS.
This allows the rsync program to choose the preferred --delete algorithm,
or the user can choose one via PORTAGE_RSYNC_EXTRA_OPTS.

svn path=/main/trunk/; revision=9163

16 years agoBug#204668 - Fix WORKDIR quoting in econf() when updating
Zac Medico [Fri, 11 Jan 2008 00:05:39 +0000 (00:05 -0000)]
Bug#204668 - Fix WORKDIR quoting in econf() when updating
config.guess and config.sub.

svn path=/main/trunk/; revision=9162

16 years agoBug #162542 - When dropping privileges for FEATURES=userpriv,
Zac Medico [Thu, 10 Jan 2008 23:02:01 +0000 (23:02 -0000)]
Bug #162542 - When dropping privileges for FEATURES=userpriv,
automatically detect permission problems with CCACHE_DIR and
recursively adjust permissions only when necessary.

svn path=/main/trunk/; revision=9160

16 years agoAfter loading the environment, make sure the color variables
Zac Medico [Tue, 8 Jan 2008 09:05:24 +0000 (09:05 -0000)]
After loading the environment, make sure the color variables
are in sync with the current NOCOLOR setting.

svn path=/main/trunk/; revision=9158

16 years agoWhen spawing the "depend" phase, use file descriptors from sys.std*
Zac Medico [Tue, 8 Jan 2008 04:56:31 +0000 (04:56 -0000)]
When spawing the "depend" phase, use file descriptors from sys.std*
streams.

svn path=/main/trunk/; revision=9157

16 years agoBug #204753 - Add "distfiles" and "packages" to the list of
Zac Medico [Mon, 7 Jan 2008 22:17:34 +0000 (22:17 -0000)]
Bug #204753 - Add "distfiles" and "packages" to the list of
non-category directories.

svn path=/main/trunk/; revision=9155

16 years agoBug #204651 - Make repoman respect NOCOLOR=true.
Zac Medico [Sun, 6 Jan 2008 20:22:03 +0000 (20:22 -0000)]
Bug #204651 - Make repoman respect NOCOLOR=true.

svn path=/main/trunk/; revision=9151

16 years agoMake filter_readonly_variables() filter PATH in any case since
Zac Medico [Sat, 5 Jan 2008 22:00:45 +0000 (22:00 -0000)]
Make filter_readonly_variables() filter PATH in any case since
we never want to save of reload it.

svn path=/main/trunk/; revision=9147

16 years agoFilter PATH along with FEATURES when loading environment.bz2.
Zac Medico [Sat, 5 Jan 2008 21:33:09 +0000 (21:33 -0000)]
Filter PATH along with FEATURES when loading environment.bz2.

svn path=/main/trunk/; revision=9145

16 years agoper bug 204468, remove old check from repoman (all ebuilds in gentoo-x86 are migrated).
Alec Warner [Sat, 5 Jan 2008 20:31:31 +0000 (20:31 -0000)]
per bug 204468, remove old check from repoman (all ebuilds in gentoo-x86 are migrated).

svn path=/main/trunk/; revision=9144

16 years agoSend eerror and ewarn messages to stderr. This is important in
Zac Medico [Fri, 4 Jan 2008 20:49:05 +0000 (20:49 -0000)]
Send eerror and ewarn messages to stderr. This is important in
case somebody calls portageq inside a global scope command
substitution. The output needs to go to stderr so that the
die message from the subshell is visible.

svn path=/main/trunk/; revision=9140

16 years agoRecognize export statements when filtering the environment. This
Zac Medico [Thu, 3 Jan 2008 15:39:08 +0000 (15:39 -0000)]
Recognize export statements when filtering the environment. This
is needed for compatibility with environment.bz2 files generated
by paludis.

svn path=/main/trunk/; revision=9137

16 years agoBug #204020 - Make grabfile() properly raise PermissionDenied when
Zac Medico [Wed, 2 Jan 2008 15:00:39 +0000 (15:00 -0000)]
Bug #204020 - Make grabfile() properly raise PermissionDenied when
appropriate instead of silently ignoring permission errors.

svn path=/main/trunk/; revision=9135

16 years agoWhen searching for "test" in IUSE, account for IUSE defaults.
Zac Medico [Mon, 31 Dec 2007 11:43:03 +0000 (11:43 -0000)]
When searching for "test" in IUSE, account for IUSE defaults.

svn path=/main/trunk/; revision=9128

16 years agoFix config.setcpv() to properly call config.regenerate() in cases
Zac Medico [Mon, 31 Dec 2007 09:54:15 +0000 (09:54 -0000)]
Fix config.setcpv() to properly call config.regenerate() in cases
when USE needs to be regenerated due to FEATURES=test to USE=test
mapping.

svn path=/main/trunk/; revision=9126

16 years agoAs suggested by grobian, treat Darwin just like USERLAND=gnu
Zac Medico [Sat, 29 Dec 2007 20:14:05 +0000 (20:14 -0000)]
As suggested by grobian, treat Darwin just like USERLAND=gnu
since they seem to be switching commands to gnu anyway.

svn path=/main/trunk/; revision=9118

16 years agoFix USERLAND references to handle Darwin like BSD.
Zac Medico [Sat, 29 Dec 2007 19:54:20 +0000 (19:54 -0000)]
Fix USERLAND references to handle Darwin like BSD.

svn path=/main/trunk/; revision=9117

16 years agoFix broken Darwin USERLAND detection.
Zac Medico [Sat, 29 Dec 2007 19:36:57 +0000 (19:36 -0000)]
Fix broken Darwin USERLAND detection.

svn path=/main/trunk/; revision=9116

16 years agoAdd PKGDIR to the config.environ() whitelist so that people's
Zac Medico [Sat, 29 Dec 2007 18:20:43 +0000 (18:20 -0000)]
Add PKGDIR to the config.environ() whitelist so that people's
bashrc's don't break.

svn path=/main/trunk/; revision=9114

16 years agoFix handling of leading / charactes some more.
Zac Medico [Sat, 29 Dec 2007 17:56:30 +0000 (17:56 -0000)]
Fix handling of leading / charactes some more.

svn path=/main/trunk/; revision=9112

16 years agoMake the ecompressdir vecho output show a leading / on
Zac Medico [Sat, 29 Dec 2007 17:41:18 +0000 (17:41 -0000)]
Make the ecompressdir vecho output show a leading / on
the directory path. Thanks to armin76.

svn path=/main/trunk/; revision=9111

16 years agoDocument that docinto works for dohtml.
Zac Medico [Sat, 29 Dec 2007 16:47:05 +0000 (16:47 -0000)]
Document that docinto works for dohtml.

svn path=/main/trunk/; revision=9109

16 years agoRely on USERLAND since it's automatically generated by
Zac Medico [Sat, 29 Dec 2007 13:50:58 +0000 (13:50 -0000)]
Rely on USERLAND since it's automatically generated by
isolated-functions.sh when necessary.

svn path=/main/trunk/; revision=9107

16 years agoMake the global counter file correspond to
Zac Medico [Sat, 29 Dec 2007 13:31:38 +0000 (13:31 -0000)]
Make the global counter file correspond to
the total number of installation actions
that have occurred in the history of this
package database.

svn path=/main/trunk/; revision=9105

16 years agoRemove redundant USERLAND sanity check code from doebuild() since
Zac Medico [Sat, 29 Dec 2007 12:37:26 +0000 (12:37 -0000)]
Remove redundant USERLAND sanity check code from doebuild() since
it's handled in isolated-functions.sh now.

svn path=/main/trunk/; revision=9103

16 years agoAdd back support for silent definition of the dummy lchown()
Zac Medico [Sat, 29 Dec 2007 12:14:27 +0000 (12:14 -0000)]
Add back support for silent definition of the dummy lchown()
function when ostype == Darwin.

svn path=/main/trunk/; revision=9101

16 years agoSimplify the userland detection code in portage.data and add
Zac Medico [Sat, 29 Dec 2007 12:07:56 +0000 (12:07 -0000)]
Simplify the userland detection code in portage.data and add
a bash version of it to isolated-functions.sh.

svn path=/main/trunk/; revision=9100

16 years agoRemove redundant lchown() compatibility code since the
Zac Medico [Sat, 29 Dec 2007 11:49:38 +0000 (11:49 -0000)]
Remove redundant lchown() compatibility code since the
getattr(os, "lchown", None) call already handles it.

svn path=/main/trunk/; revision=9099

16 years agoMove XARGS initialization from portage.data to isolated-functions.sh.
Zac Medico [Sat, 29 Dec 2007 11:36:20 +0000 (11:36 -0000)]
Move XARGS initialization from portage.data to isolated-functions.sh.

svn path=/main/trunk/; revision=9097

16 years agoMove XARGS initialization from portage.data to isolated-functions.sh.
Zac Medico [Sat, 29 Dec 2007 11:30:30 +0000 (11:30 -0000)]
Move XARGS initialization from portage.data to isolated-functions.sh.

svn path=/main/trunk/; revision=9096

16 years agoAdd support for showing binary package file sizes in emerge
Zac Medico [Sat, 29 Dec 2007 10:41:14 +0000 (10:41 -0000)]
Add support for showing binary package file sizes in emerge
--search output.

svn path=/main/trunk/; revision=9094

16 years ago* Initialize dbapi._categories = None so that we can compare
Zac Medico [Sat, 29 Dec 2007 09:58:56 +0000 (09:58 -0000)]
* Initialize dbapi._categories = None so that we can compare
with None instead of using hasattr.
* Remove unwanted self._categories initialization from the
  portdbapi constructor.

svn path=/main/trunk/; revision=9092

16 years agoMake doebuild() check XARGS together with ARCH and USERLAND.
Zac Medico [Sat, 29 Dec 2007 09:04:45 +0000 (09:04 -0000)]
Make doebuild() check XARGS together with ARCH and USERLAND.

svn path=/main/trunk/; revision=9090

16 years agoMake the ARCH and USERLAND sanity check use the autodetected USERLAND
Zac Medico [Sat, 29 Dec 2007 08:57:05 +0000 (08:57 -0000)]
Make the ARCH and USERLAND sanity check use the autodetected USERLAND
from the portage.data module if necessary.

svn path=/main/trunk/; revision=9089

16 years agoBug #121584 - Make the automatic USERLAND detection code recognize
Zac Medico [Sat, 29 Dec 2007 08:38:43 +0000 (08:38 -0000)]
Bug #121584 - Make the automatic USERLAND detection code recognize
GNU/kFreeBSD.

svn path=/main/trunk/; revision=9087