summaryrefslogtreecommitdiffstats
path: root/pym/portage/dep.py
Commit message (Expand)AuthorAgeFilesLines
* Move dep.py to dep/__init__.py, for splitting into smaller files.Zac Medico2010-02-251-1203/+0
* Move portage.flatten to portage.dep.flatten.Zac Medico2010-02-211-0/+32
* Use a valid atom in the dep_getkey docstring.Zac Medico2010-02-191-1/+1
* Bug #303519 - Call warnings.warn() with stacklevel=2 inside dep_getkey andZac Medico2010-02-191-3/+3
* Fix deprecated dep_getkey usage in match_from_list.Zac Medico2010-02-191-1/+3
* Make dep_getkey() recommend cpv_getkey() if given a cpv.Zac Medico2010-02-191-1/+6
* Fix AttributeError from has_versions for atoms with no USE deps. Thanks toZac Medico2010-01-281-1/+1
* Fix typo in docstring.Zac Medico2010-01-281-1/+1
* Add an Atom.evaluate_conditionals() method and use where appropriate.Zac Medico2010-01-281-0/+16
* Use a regular expression for SLOT validation inside vardbapi.aux_get().Zac Medico2009-09-301-2/+3
* Take regular expressions from portage.dep and use them to reimplementZac Medico2009-09-301-12/+1
* Define __bool__() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+4
* Remove redundant list() since starred expressions work with iterators.Zac Medico2009-09-221-1/+1
* Use next(iterator) instead of iterator.next() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
* Use dict.(keys|values|items)() instead of dict.(iterkeys|itervalues|iteritems...Arfrever Frehtes Taifersar Arahesis2009-09-211-3/+3
* Simplify match_to_list(). Thanks to Marat Radchenko <marat@slonopotamus.org>Zac Medico2009-09-211-8/+1
* Show deprecation warnings when dep_* legacy code is triggered.Zac Medico2009-09-211-1/+10
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
* Make Atom.__init__ call the base class constructor, though it doesn't seemZac Medico2009-09-211-0/+2
* Make Atom inherit from str. Thanks to Marat RadchenkoZac Medico2009-09-201-79/+24
* Add isinstance(mydep, Atom) checks to the dep_* functions since we don't use av2.2_rc41Zac Medico2009-09-191-6/+15
* Avoid lots of redundant Atom constructor calls. Thanks to Marat RadchenkoZac Medico2009-09-191-4/+6
* Atom optimizations. Remove the metaclass and cache since it just slows itZac Medico2009-09-181-52/+21
* Simplify cpv_getkey() by just calling dep_getkey('=' + mycpv).Zac Medico2009-09-141-1/+0
* Make dep_getcpv() use Atom, and fall back to legacy code for backward compat.Zac Medico2009-09-141-10/+7
* Insice match_from_list(), use remove_slot() instead of dep_getcpv() whereZac Medico2009-09-141-1/+1
* Use a regular expression for cpv_getkey(), and fall back to legacy code ifZac Medico2009-09-141-0/+1
* Make get_operator() use Atom, and remove unnecessary reflection code fromZac Medico2009-09-141-6/+7
* Make isspecific() use the Atom class and fall back to legacy code if theZac Medico2009-09-141-13/+9
* Use the Atom class to implement dep_getkey(), and fall back to legacy codeZac Medico2009-09-141-0/+10
* Simplify isvalidatom() to simply use the Atom class. Thanks to MaratZac Medico2009-09-141-33/+3
* Simplify the _pkg regex and fix validation for some cases by using theZac Medico2009-09-141-12/+35
* Simlify the Atom regex. Thanks to Marat Radchenko <marat@slonopotamus.org>Zac Medico2009-09-141-9/+4
* Make the Atom constructor use regular expression match groups forZac Medico2009-09-131-22/+41
* Fix docs for isjustname() since it doesn't raise InvalidAtom now.Zac Medico2009-09-121-1/+0
* Add backward compatibility to isjustname(), so the tests don't fail.Zac Medico2009-09-121-1/+10
* Fix isjustname docstring to have a valid atom in the example.Zac Medico2009-09-121-1/+1
* Reimplement isjustname() using the Atom class. Thanks to Marat RadchenkoZac Medico2009-09-121-13/+8
* Implement Atom.__copy__ and __deepcopy__ to return self, since instances areZac Medico2009-09-121-0/+9
* simplify atom regex (winning even more performance) and turns it in verboseZac Medico2009-09-081-8/+16
* Reimplement isspecific() using a single regular expression match. Thanks toZac Medico2009-09-081-11/+9
* Fix isvalidatom() to check the 'must not end in' clause from PMS 2.1.2.Zac Medico2009-09-081-4/+5
* Reimplement isvalidatom() to use a single regular expression match. ThanksZac Medico2009-09-071-67/+41
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-151-28/+29
* Bug #280269 - Fix Atom.__str__ so that it doesn't try to encode a unicodeZac Medico2009-08-041-1/+3
* Bug #278729 - Add an Atom.without_use attribute which is identical to theZac Medico2009-08-031-1/+8
* Add note about 'use' in the Atom.intersects() docstring.v2.2_rc31Zac Medico2009-04-191-2/+3
* Add a new --deselect action which removes atoms from the world file. ThisZac Medico2009-04-191-0/+30
* Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion.Zac Medico2009-03-301-0/+3
* Update dep_getusedeps() docstring. Thanks to Douglass AndersonZac Medico2009-03-301-2/+2