Merged from trunk 8642:8659
authorFabian Groffen <grobian@gentoo.org>
Sun, 25 Nov 2007 16:27:00 +0000 (16:27 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 25 Nov 2007 16:27:00 +0000 (16:27 -0000)
commitf52aa8f84d11191a14837b831ec6dcbffd0cdfa0
tree448dfa303bea2e7724a787599c30ec1cfdb061f5
parent1f5c83d4508a14e8cefb93447ed2cfda7e8ec1be
   Merged from trunk 8642:8659

   | 8643    | Use `md5` if `md5sum` is not available (useful for FreeBSD   |
   | zmedico | users).                                                      |

   | 8645    | Bug #140180 - Never trigger a LICENSE.missing violation for  |
   | zmedico | old style virtuals since they don't directly install         |
   |         | anything.                                                    |

   | 8647    | Bug #200238 - Make ebuild.sh properly bail out when the      |
   | zmedico | pkg_info() function doesn't exist.                           |

   | 8649    | Implement loading of environment.bz2 for the pkg_info()      |
   | zmedico | phase. Since a temporary directory is required for           |
   |         | processing of ${T}/environment, and we want a user who's not |
   |         | in the portage group to be able to run the pkg_info() phase, |
   |         | PORTAGE_TMPDIR is temporarily overridden with a directory    |
   |         | created by mkdtemp. To make this work, doebuild() creates    |
   |         | the tempdir and cleans it up in a finally block.             |

   | 8651    | * Load environment.bz2 for the pkg_config() phase. * Run the |
   | zmedico | "clean" phase if pkg_config() succeeds.                      |

   | 8653    | The qa_call() function and anything before it are portage    |
   | zmedico | internals that the user will not be interested in.           |
   |         | Therefore, the stack trace should only show calls that come  |
   |         | after qa_call().                                             |

   | 8654    | Test if ebuild functions are defined before calling them.    |
   | zmedico | This will be useful if an environment.bz2 has been loaded    |
   |         | and it has missing functions for some reason. For example,   |
   |         | there are a lot of default functions that are empty and      |
   |         | could simply be omitted from the environment.                |

   | 8655    | Remove the empty default pkg_setup, src_install,             |
   | zmedico | pkg_preinst, pkg_postinst, pkg_prerm, pkg_postrm, and        |
   |         | pkg_config functions since they do nothing more than clutter |
   |         | the environment.                                             |

   | 8659    | Allow the pkg_info and pkg_config pre/post hooks to run even |
   | zmedico | when the ebuild function is not defined.                     |

svn path=/main/branches/prefix/; revision=8661
bin/ebuild.sh
bin/isolated-functions.sh
bin/misc-functions.sh
bin/repoman
pym/_emerge/__init__.py
pym/portage/__init__.py