summaryrefslogtreecommitdiffstats
path: root/pym/portage/dep.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* Use enumerate() inside use_reduce() validation code.Zac Medico2009-03-051-2/+2
* Use basestring instead of str for isinstance check inside use_reduce() soZac Medico2009-03-051-1/+2
* Make Atom instances consume less memory by implementing str methods at theZac Medico2009-02-281-9/+61
* Make isvalidatom() identify empty slot as invalid (missing slot is valid) andZac Medico2009-02-191-0/+4
* For compatibility with python-3.0, use isinstance() instead of type().Zac Medico2009-02-191-2/+2
* Fix more false positives in isvalidatom() from previous commits.Zac Medico2009-02-151-2/+3
* Fix isvalidatom() logic from previous commit to avoid false positives.Zac Medico2009-02-151-1/+1
* Fix isvalidatom to properly identify an invalid atom such asZac Medico2009-02-151-0/+2
* For py3k compat, remove Atom.__cmp__() and use str.__lt__() instead.Zac Medico2008-12-101-10/+2