summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* Bug #293603 - Blacklist EPREFIX and EROOT variables, in addition to ED.Zac Medico2009-11-201-1/+2
| | | | svn path=/main/trunk/; revision=14852
* Bug #293603 - Add $ED to the blacklist, to prevent interference with relatedZac Medico2009-11-191-1/+1
| | | | | | prefix code in eclasses and ebuilds. svn path=/main/trunk/; revision=14851
* Bug #293448 - Fix TypeError when sending mail with python3, triggered by thisZac Medico2009-11-171-1/+3
| | | | | | | issue: http://bugs.python.org/issue6521. Thanks to Albert W. Hopkins <marduk@python.net> for this patch. svn path=/main/trunk/; revision=14844
* Inside LinkageMap.rebuild(), ensure that all preserved libraries have anZac Medico2009-11-131-0/+13
| | | | | | | | entry in self._obj_properties, even when they fail to appear in scanelf output. This is important in order to prevent findConsumers from raising an unwanted KeyError. svn path=/main/trunk/; revision=14820
* Implement dblink.__hash__ and __eq__, so that `portageq owners` correctly groupsZac Medico2009-11-121-1/+9
| | | | | | | search results. Also, increase iter_owners dblink cache size from 25 to 100 instances. svn path=/main/trunk/; revision=14817
* Inside iter_owners, only cache a maximum of 25 dblink instances, in orderZac Medico2009-11-111-0/+6
| | | | | | to avoid potentially running out of memory. svn path=/main/trunk/; revision=14815
* Convert MIMEText body to string before sending.Zac Medico2009-11-111-1/+1
| | | | svn path=/main/trunk/; revision=14808
* Preserve previous usage of MIMEText constructor under python2, since it'sZac Medico2009-11-111-2/+5
| | | | | | known to work this way. svn path=/main/trunk/; revision=14807
* Bug #292528 - Specify UTF-8 in the MIMEText constructor arguments, in orderZac Medico2009-11-111-4/+5
| | | | | | | to avoid conversiont to ascii and subsequent UnicodeEncodeError when sending mail. The idea comes from here: http://bugs.python.org/issue4403#msg76425. svn path=/main/trunk/; revision=14806
* Define portage.proxy.objectproxy.ObjectProxy.__add__() to fix problem with ↵Arfrever Frehtes Taifersar Arahesis2009-11-051-0/+3
| | | | | | string concatenation reported by dol-sen. svn path=/main/trunk/; revision=14778
* Bug #291331 - Make send_mail() encode the unicode message as bytes beforeZac Medico2009-11-041-1/+3
| | | | | | | passing it to smtplib.SMTP.sendmail(), in order to avoid a UnicodeEncodeError which SMTP.send() tries to encode the message a plain ascii. svn path=/main/trunk/; revision=14776
* Make cacheddir() always behave like EmptyOnError is True, since listdir()Zac Medico2009-10-311-7/+3
| | | | | | doesn't handle a None return value correctly. svn path=/main/trunk/; revision=14755
* Make dblink.delete() remove empty parent category directories.Zac Medico2009-10-311-0/+5
| | | | svn path=/main/trunk/; revision=14754
* Bug #291271 - Make vardbapi._bump_mtime() create category directories whenZac Medico2009-10-311-2/+5
| | | | | | necessary. svn path=/main/trunk/; revision=14753
* Bug #290428 - Update mtime of /var/db/pkg and category subdirectories whenv2.2_rc48_14769v2.2_rc47Zac Medico2009-10-271-0/+22
| | | | | | | stuff inside is modified, so that consumers can use directory mtimes to validate caches. svn path=/main/trunk/; revision=14735
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-263-22/+32
| | | | | | potential UnicodeEncodeError exceptions. svn path=/main/trunk/; revision=14734
* Add a reference to bug #141118 inside _expand_new_virtuals().Zac Medico2009-10-261-2/+4
| | | | svn path=/main/trunk/; revision=14732
* update documentation on _test_openpty_eof and disable openpty on Solaris ↵Fabian Groffen2009-10-241-11/+10
| | | | | | again (branches/prefix r14721) svn path=/main/trunk/; revision=14722
* Fix license_groups parsing to stack the lists, so license_groups from overlaysZac Medico2009-10-191-2/+4
| | | | | | | extend groups from the main tree instead of overwritting them. Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14696
* drop IMAGE -- people have had years to catch upMike Frysinger2009-10-191-1/+1
| | | | svn path=/main/trunk/; revision=14694
* Remove support for 'extend', 'remove', and 'intersect' sets.conf sectionZac Medico2009-10-181-26/+3
| | | | | | | | | | | | | | | | attributes in SetConfig.getSetAtoms() since the current implementation does not meet user expectations, as mentioned in bug #253802, comment #5: Package set operators currently operate on atoms, but what users really need is for them to operate on the packages themselves. This will allow one set to add or subtract packages from another even though the sets to not use the exact same atoms to refer to the given packages. I imagine the way this should be done is to create a mapping of atom -> package for each set, perform the intersection using the packages, and then map the package intersection back into a set of atoms. svn path=/main/trunk/; revision=14679
* Revert r14677 since it doesn't interact well with the 'extend', 'remove', andZac Medico2009-10-181-16/+11
| | | | | | 'intersect' code in SetConfig.getSetAtoms(). svn path=/main/trunk/; revision=14678
* Add a boolean expand_nested_sets parameter to SetConfig.getSetAtoms(). ThisZac Medico2009-10-181-14/+19
| | | | | | | will be useful for adding support to the dependency graph for keeping track of precisely which nested set each atom comes from. svn path=/main/trunk/; revision=14677
* Ind SetConfig.getSetAtoms(), don't assume the set has a 'creator' attribute,Zac Medico2009-10-181-1/+4
| | | | | | | since if sets.conf is corrupt then emerge generates fallback sets without the 'creator' attribute. svn path=/main/trunk/; revision=14660
* Call config._init_dirs() from emerge so that it's not called every timeZac Medico2009-10-181-2/+0
| | | | | | the portage api is imported. svn path=/main/trunk/; revision=14631
* Make cpv_getkey() use catpkgsplit() insead of a separate regex.Zac Medico2009-10-181-4/+3
| | | | svn path=/main/trunk/; revision=14628
* Fix repoman breakage from previous commit.Zac Medico2009-10-171-4/+4
| | | | svn path=/main/trunk/; revision=14627
* Inside dep_zapdeps(), detect cases such as || ( foo:1 foo:2 ), where we wantZac Medico2009-10-171-15/+70
| | | | | | | | | | to prefer the atom which matches the higher version rather than the atom furthest to the left. Sorting is done separately for each of choice_bins, so as not to interfere with the ordering of the bins. Because of the bin separation, the main function of this code is to allow --depclean to remove old slots (rather than to pull in new slots). svn path=/main/trunk/; revision=14626
* Bug #273643 - Don't export AA in EAPI 3. Thanks to Jonathan Callen <abcd@g.o>Zac Medico2009-10-171-0/+5
| | | | | | for the initial patch (I moved the code from spawnebuild to config.environ). svn path=/main/trunk/; revision=14624
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-161-4/+4
| | | | | | | | to portage-2.2_rc* releases. In addition to @system, @world now includes a @selected set which represents user-selected "world" packages and sets that saved in /var/lib/portage/world{,sets}. svn path=/main/trunk/; revision=14614
* Add the "test" flag to implicit IUSE, so handling of FEATURES=test isZac Medico2009-10-151-1/+8
| | | | | | | | consistent regardless of explicit IUSE. Users may use use.mask and package.use.mask to control FEATURES=test for all ebuilds, regardless of explicit IUSE. svn path=/main/trunk/; revision=14607
* Only call _test_pty_eof() on Linux, since it seems to hang on most otherZac Medico2009-10-142-7/+25
| | | | | | | kernels. This should fix the hang reported on FreeBSD here: http://archives.gentoo.org/gentoo-alt/msg_d81c5e8c6dd6849312ecb048feb41c5b.xml svn path=/main/trunk/; revision=14606
* Implement FetchlistDict.__len__, in order to avoidZac Medico2009-10-121-0/+5
| | | | | | infinite recursion in some cases. svn path=/main/trunk/; revision=14597
* Bug #288551 - Handle invalid cpv in portdbapi.aux_get() by raising KeyError.Zac Medico2009-10-111-1/+5
| | | | svn path=/main/trunk/; revision=14579
* Bug #288025 - Avoid AttributeError on OSes that don't have os.statvfs.Zac Medico2009-10-101-1/+3
| | | | svn path=/main/trunk/; revision=14553
* Bug #273099 - Add split-log and split-elog FEATURES for splitting build logsZac Medico2009-10-092-6/+25
| | | | | | | and elog mod_save logs into category subdirectories. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14532
* Bug #274497 - Misc spelling, grammar, and terminology fixes, includingZac Medico2009-10-093-7/+7
| | | | | | URL -> URI and FOO's -> FOOs. svn path=/main/trunk/; revision=14531
* Handle AUTOCLEAN and NOCOLOR case insensitivity inside config.Zac Medico2009-10-091-0/+9
| | | | svn path=/main/trunk/; revision=14528
* Bug #287950 - Add support for FEATURES=fail-clean which is useful for cleaningZac Medico2009-10-071-1/+4
| | | | | | up temp files on tmpfs after build failures with --keep-going. svn path=/main/trunk/; revision=14517
* Enable pty support on FreeBSD.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14516
* merge disable openpty conditional from branches/prefixFabian Groffen2009-10-071-1/+15
| | | | svn path=/main/trunk/; revision=14515
* Use the stricter _pkgsplit function.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14509
* * Add default ACCEPT_LICENSE and ACCEPT_PROPERTIES values in make.globals.Zac Medico2009-10-051-12/+39
| | | | | | | | | * Set default values if missing from make.globals. * Only warn once if a given license group is missing. * Prune off any parts of an ACCEPT_LICENSE and ACCEPT_PROPERTIES that are made irrelevant by the latest occuring * or -* wildcard. svn path=/main/trunk/; revision=14496
* Make deprecated_profile_check() suggest to use eselect profile. Thanks toZac Medico2009-10-051-0/+2
| | | | | | Samuli Suominen <ssuominen@g.o> for the suggestion. svn path=/main/trunk/; revision=14495
* Make pkgsplit() preserve 'null' category if it's present in the input.Zac Medico2009-10-051-2/+3
| | | | svn path=/main/trunk/; revision=14494
* Use _pkgsplit when input cannot contain a category.Zac Medico2009-10-041-3/+3
| | | | svn path=/main/trunk/; revision=14493
* Use the simpler/stricter _pkgspit in dbapi code.Zac Medico2009-10-043-3/+8
| | | | svn path=/main/trunk/; revision=14492
* Make pkgsplit() accept a cpv again, since accepting a pv only will probablyZac Medico2009-10-041-3/+20
| | | | | | | break lots of api consumers. Thanks to Romain Perier <mrpouet@g.o> for reporting epkginfo breakage. svn path=/main/trunk/; revision=14491
* fix mis-alignmentFabian Groffen2009-10-041-1/+1
| | | | svn path=/main/trunk/; revision=14488
* Generate an eerror message in dblink.mergeme when a file has to be renamed inv2.2_rc43Zac Medico2009-10-031-2/+31
| | | | | | order to merge a directory to the same path. svn path=/main/trunk/; revision=14485