summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement binary package visibility filtering for emerge --search.Zac Medico2007-12-211-14/+56
| | | | svn path=/main/trunk/; revision=9029
* Don't show "Size of files: 0 kB" in emerge --search output for installedZac Medico2007-12-211-0/+7
| | | | | | packages that have no available ebuild in the tree. svn path=/main/trunk/; revision=9028
* Implement emerge --search support for installed packages, so itZac Medico2007-12-211-13/+33
| | | | | | works even without a portage tree or binary packages. svn path=/main/trunk/; revision=9027
* Make the "test" flag that's enabled by FEATURES=test intoZac Medico2007-12-211-0/+2
| | | | | | an implicit iuse member. svn path=/main/trunk/; revision=9025
* Fix xmatch "match-all" typo.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9020
* In portage.process.spawn(), make the default fd_pipes value getZac Medico2007-12-211-1/+5
| | | | | | | file descriptors from sys.std{in,out,err} so that they can be overridden. svn path=/main/trunk/; revision=9018
* In portage.spawn(), make the default fd_pipes value get fileZac Medico2007-12-211-1/+5
| | | | | | | descriptors from sys.std{in,out,err} so that they can be overridden. svn path=/main/trunk/; revision=9016
* Tweak profile validation and warning logic a bit.Zac Medico2007-12-212-5/+5
| | | | svn path=/main/trunk/; revision=9015
* Fix references to dbapi._category_re.Zac Medico2007-12-211-2/+2
| | | | svn path=/main/trunk/; revision=9013
* Use regex category validation in binarytree.populate().Zac Medico2007-12-211-2/+2
| | | | svn path=/main/trunk/; revision=9012
* Use a regex to validate package directory names in portdbapi.cp_list()Zac Medico2007-12-212-1/+5
| | | | | | and also simplify the catagory regex a bit. svn path=/main/trunk/; revision=9010
* Add "metadata" and "licenses" to _non_category_dirs.Zac Medico2007-12-211-2/+3
| | | | svn path=/main/trunk/; revision=9008
* Slightly improved the masked package check inside dep_zapdeps().Zac Medico2007-12-211-9/+9
| | | | svn path=/main/trunk/; revision=9006
* Fix a reference to an undefined "mykey" variable.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9005
* Fix a typo in the _non_category_dirs regex.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8997
* Filter out some non-category directories in portdbapi.cp_all().Zac Medico2007-12-201-3/+5
| | | | svn path=/main/trunk/; revision=8993
* For simplicity and consistency, always use a regular expressionZac Medico2007-12-202-21/+11
| | | | | | for category validation instead of using a list. svn path=/main/trunk/; revision=8992
* Fix portdbapi.cp_list() so that it can cope with aZac Medico2007-12-203-2/+5
| | | | | | missing profile. svn path=/main/trunk/; revision=8990
* Make dep_zapdeps() fall back to installed packages in it'sZac Medico2007-12-201-1/+2
| | | | | | | | availability test in cases where the package does not appear to be masked. This solves dep selection preference issues when working without a portage tree. svn path=/main/trunk/; revision=8988
* Fix binarytree._update_pkgindex_header() so that it can copeZac Medico2007-12-201-4/+6
| | | | | | with a missing profile. svn path=/main/trunk/; revision=8985
* Make vartree.cpv_all() stop relying on having a categoriesZac Medico2007-12-201-2/+14
| | | | | | | list since it may not be available if there is no portage tree. svn path=/main/trunk/; revision=8982
* Enable emerge search actions for binary packages when there isZac Medico2007-12-201-19/+89
| | | | | | no portage tree available. svn path=/main/trunk/; revision=8980
* Fix a type: eclasses -> eclass.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8978
* Pass a valid phase into eerror so that it works.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8976
* Make binarytree.populate() stop relying on having a categoriesZac Medico2007-12-201-4/+2
| | | | | | list since it may not be available if there is no portage tree. svn path=/main/trunk/; revision=8975
* Convert messages about missing portage tree to debug levelZac Medico2007-12-201-2/+4
| | | | | | | warnings since quite often it's possible to function without a portage tree now. svn path=/main/trunk/; revision=8974
* Make some adjustments so that it's possible to install binaryZac Medico2007-12-204-16/+32
| | | | | | | | | | | | | | | | | | packages without having a portage tree: * Make portdbapi.aux_get() return early by raising a KeyError if it detects that there is no portage tree. * Move the ARCH and USERLAND sanity check to the last moment in doebuild() and only require these variables if an existing environment (such as environment.bz2) is unavailable. * Make the NewsManager constructor cope with a broken make.profile symlink. svn path=/main/trunk/; revision=8973
* Bug #202748 - When merging a binary package, only clean upZac Medico2007-12-201-1/+4
| | | | | | | temp files on success. Otherwise, leave the temp files intact for debugging purposes. svn path=/main/trunk/; revision=8971
* Whitespace only: remove extra indentation.Zac Medico2007-12-201-38/+37
| | | | svn path=/main/trunk/; revision=8969
* Always add ARCH to USE without relying on it being listedZac Medico2007-12-201-0/+2
| | | | | | in PORTAGE_ARCHLIST. svn path=/main/trunk/; revision=8967
* Keep filtered USE in the PORTAGE_USE variable to keepZac Medico2007-12-191-6/+6
| | | | | | | it separate from the global USE that's shown by emerge --info. svn path=/main/trunk/; revision=8963
* Trigger a config.regenerate() call inside setcpv() when theZac Medico2007-12-191-1/+7
| | | | | | | | | EBUILD_PHASE variable is defined. It's too expensive to do the regenerate() call every time. Do in when EBUILD_PHASE is defined since it's needed to create the filtered USE that environ() passes to the ebuild environment. svn path=/main/trunk/; revision=8961
* Store filtered USE for config.environ() calls in a specialZac Medico2007-12-181-3/+14
| | | | | | | attribute so that the normal global USE is still available for things like emerge --info output. svn path=/main/trunk/; revision=8959
* Fix USE filtering code so that it doesn't rely on config.setcpv()Zac Medico2007-12-181-2/+4
| | | | | | calling config.regenerate(). svn path=/main/trunk/; revision=8957
* Make special build and bootstrap flags into implicit membersZac Medico2007-12-181-0/+5
| | | | | | of IUSE so that stage builds will work again. svn path=/main/trunk/; revision=8955
* Display the merge list with blockers any time that there areZac Medico2007-12-181-4/+7
| | | | | | | blockers, instead of telling the user to try again with --pretend. svn path=/main/trunk/; revision=8953
* Include masked flags in PORTAGE_IUSE to avoid more false positivesZac Medico2007-12-181-3/+4
| | | | | | in the useq() IUSE check. svn path=/main/trunk/; revision=8949
* Create a PORTAGE_IUSE variable containing an egrep patternZac Medico2007-12-181-2/+13
| | | | | | | | for use by the QA check that's built into useq(). This allows the IUSE logic for this check to be isolated in the python code. svn path=/main/trunk/; revision=8945
* Bug #176467 - Filter out USE flags that aren't part of IUSE.Zac Medico2007-12-181-5/+35
| | | | | | | | | | | Some flags are considered to be implicit members of IUSE: * Flags derived from ARCH * Flags derived from USE_EXPAND_HIDDEN variables * Forced flags, such as those from {,package}use.force svn path=/main/trunk/; revision=8944
* Move the reusable ConsoleStyleFile and StyleWriter classes intoZac Medico2007-12-151-0/+52
| | | | | | the ouput module. svn path=/main/trunk/; revision=8934
* Add --buildpkgonly to the options lists that exempt fromZac Medico2007-12-131-2/+3
| | | | | | slot collisions and world file updates. svn path=/main/trunk/; revision=8917
* Use the BAD color class instead of hardcoded red.Zac Medico2007-12-131-1/+1
| | | | svn path=/main/trunk/; revision=8904
* Make portdbapi.visible() mask ebuilds that do not define SLOT.Zac Medico2007-12-131-0/+2
| | | | | | (branches/2.1.2 r8900) svn path=/main/trunk/; revision=8901
* Bug #201848 - Make the ebuild command reject ebuilds that do not defineZac Medico2007-12-131-1/+6
| | | | | | SLOT. svn path=/main/trunk/; revision=8895
* Bug #201848 - Mask ebuilds that do not define SLOT.Zac Medico2007-12-131-0/+4
| | | | svn path=/main/trunk/; revision=8894
* Bug #202036 - In case of blockers, bail out earlier so that laterZac Medico2007-12-131-19/+20
| | | | | | code can assume there are no blockers. svn path=/main/trunk/; revision=8889
* Instead of calling sys.exit when a ParseError occurs in the configZac Medico2007-12-112-62/+20
| | | | | | | | | constructor, raise a ParseError and make emerge and portageq handle the error. This way consumers of the portage api can handle the ParseError rather than have their application exit. Thanks to lxnay for reporting. svn path=/main/trunk/; revision=8884
* * Raise PermissionDenied from getconfig() when appropriate.Zac Medico2007-12-111-3/+5
| | | | | | | * When available, make getconfig() include an invalid token in a ParseError message. svn path=/main/trunk/; revision=8883
* * When installing a binary package, export the file name of the packageZac Medico2007-12-111-1/+8
| | | | | | | | | | | | | | as PORTAGE_BINPKG_FILE in order to give bashrc users an opportunity to do various things such as remove binary packages after they're installed. * Add a note in ebuild.sh explaining why hardcoded bash lists are needed for backward compatibility with <portage-2.1.4 since they assume that a newly installed version of ebuild.sh will work for pkg_postinst, pkg_prerm, and pkg_postrm when portage is upgrading itself. svn path=/main/trunk/; revision=8878
* Do an EBUILD_EXIT_STATUS_FILE sanity check in spawnebuild()Zac Medico2007-12-081-1/+10
| | | | | | where it spawns misc-functions.sh after the install phase. svn path=/main/trunk/; revision=8874