Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Package: filter built USE for bug #453400 | Zac Medico | 2013-01-23 | 1 | -1/+3 |
| | | | | | The enabled flags must be consistent with implicit IUSE, in order to avoid potential inconsistencies in USE dep matching (see bug #453400). | ||||
* | Fix default use match for implicit IUSE.v2.2.0_alpha159 | Zac Medico | 2013-01-21 | 1 | -4/+12 |
| | | | | | | This will fix bug #453400, which was triggered by inconsistency between the enabled USE and the effective missing_disabled set used in matching logic, due to implicit IUSE. | ||||
* | Use unicode_literals more. | Zac Medico | 2013-01-18 | 1 | -1/+3 |
| | | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3. | ||||
* | Pass settings to _pkg_str constructor. | Zac Medico | 2012-11-14 | 1 | -2/+5 |
| | | | | Forgotten in commit 0b4e6c27e87e57fac09fa28d3ed1320cb6a83ad9. | ||||
* | update_dbentry: add parent arg for bug #367215 | Zac Medico | 2012-11-13 | 1 | -5/+9 |
| | |||||
* | update_ents: use Package._dep_keys | Zac Medico | 2012-09-25 | 1 | -2/+2 |
| | |||||
* | Add experimental EAPI 5-hdepend support. | Ambroz Bizjak | 2012-09-24 | 1 | -1/+2 |
| | |||||
* | Use re.UNICODE for category/package name regexes. | Zac Medico | 2012-09-22 | 1 | -1/+1 |
| | | | | | | | | This only affects r'\w' with Python 2.x, since Python 3 already defaults to re.UNICODE behavior when compiling unicode str objects (unless re.ASCII is specified). If a repository wants to ban unicode categore/package names then we can add a layout.conf setting for that, as discussed in bug #435934. | ||||
* | Fix "unsatisfied" comment typo. | Zac Medico | 2012-09-16 | 1 | -1/+1 |
| | |||||
* | repoman: unsatsified use-default deps, bug 435242 | Zac Medico | 2012-09-16 | 1 | -0/+10 |
| | |||||
* | Rename slot-abi stuff to refer to slot-operator. | Zac Medico | 2012-08-29 | 1 | -3/+3 |
| | | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47 | ||||
* | EAPI 5: Profile IUSE injection | Zac Medico | 2012-08-29 | 1 | -2/+7 |
| | | | | | See bug #176467 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9040ab3482af5f790368bac5d053bf1cd760ba8 | ||||
* | _pkg_str: pass in config + metadata with KEYWORDS | Zac Medico | 2012-08-24 | 1 | -8/+8 |
| | | | | | This will be needed in order to support stable use.mask/force for bug #431078. | ||||
* | Propagate EAPI for update_dbentry (bug #426476). | Zac Medico | 2012-07-17 | 1 | -3/+4 |
| | |||||
* | slotmove: fix handling for EAPI 4-slot-abiv2.2.0_alpha118 | Zac Medico | 2012-07-13 | 1 | -8/+20 |
| | | | | | | | | This is just a really minimal fix, in order to prevent slotmove from behaving incorrectly with packages that use EAPI 4-slot-abi. Any slotmove commands that try so specify a sub-slot are treated as invalid for now, since that will required additional EAPI conditional logic, as reported in bug #426476. | ||||
* | Add experimental EAPI 4-slot-abi support. | Zac Medico | 2012-06-22 | 1 | -2/+2 |
| | | | | Refer to 4-slot-abi.docbook for a full description. | ||||
* | dbapi: construct _pkg_str during match on-demand | Zac Medico | 2012-06-11 | 1 | -10/+37 |
| | |||||
* | Use any() to optimize intersection operations. | Zac Medico | 2012-05-30 | 1 | -9/+8 |
| | |||||
* | _pkg_str: validate repo (move code from Package) | Zac Medico | 2012-05-13 | 1 | -2/+0 |
| | |||||
* | _pkg_str: add version attribute for comparisons | Zac Medico | 2012-05-13 | 1 | -7/+7 |
| | | | | | This attribute can be passed directly into vercmp, avoiding the need to generate this string many times. | ||||
* | _pkg_str: add slot and repo attributes | Zac Medico | 2012-05-12 | 1 | -4/+10 |
| | |||||
* | dbapi: split _match_use from _iter_match_use | Zac Medico | 2011-09-24 | 1 | -47/+53 |
| | |||||
* | dbapi._iter_match: remove redundant myrepo args | Zac Medico | 2011-06-05 | 1 | -10/+10 |
| | | | | | The myrepo arguments are redundant since the Atom.repo attribute carries the same information. | ||||
* | Update copyright headers for touched files. | Zac Medico | 2011-01-16 | 1 | -1/+1 |
| | |||||
* | Use Atom for stricter portdb.cp_all() validation. | Zac Medico | 2011-01-16 | 1 | -1/+0 |
| | |||||
* | dbapi.match: Use IUSE to validate built USE | Zac Medico | 2010-12-05 | 1 | -1/+6 |
| | |||||
* | fix AttributeError in recent use dep changes | Zac Medico | 2010-11-30 | 1 | -1/+3 |
| | |||||
* | dbapi: remove redundant missing_enabled/disabled | Zac Medico | 2010-11-29 | 1 | -2/+1 |
| | |||||
* | dbapi: sync USE match logic with depgraph | Zac Medico | 2010-11-29 | 1 | -7/+22 |
| | | | | | This changes the IUSE check to use the unevaluated atom, and fixes some missing_enabled/disabled cases. | ||||
* | reposyntax: Add support all over the place | Sebastian Luther | 2010-09-26 | 1 | -8/+19 |
| | |||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 1 | -2/+2 |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | ||||
* | Remove questionable lockfile removal code in dbapi.invalidentry(). | Zac Medico | 2010-08-15 | 1 | -9/+1 |
| | |||||
* | Implement use dependency defaults | Sebastian Luther | 2010-08-13 | 1 | -3/+5 |
| | |||||
* | Tweak global updates handling so that updates from $PORTDIR are applied | Zac Medico | 2010-07-27 | 1 | -6/+15 |
| | | | | | | | | | for all of the following cases: * package is missing repository metadata * package has repository metadata, but the source repository does not have a profiles/updates/ directory * package has repository metadata, but the source repository is not currently accessible via PORTDIR_OVERLAY | ||||
* | Make dbapi.update_ents() take a dict of {repo_name: list}, since it's | Zac Medico | 2010-07-27 | 1 | -10/+17 |
| | | | | most efficient to process all repos at once. | ||||
* | Limit repository-wide dbentry updates. | Michał Górny | 2010-07-27 | 1 | -1/+5 |
| | | | | | Update dbentries only when the repository the package comes from matches the repository update comes from. | ||||
* | Support repository-wide updates. | Michał Górny | 2010-07-27 | 1 | -1/+4 |
| | | | | | | | Support reading repository-wide update files. Apply them as long as the 'repository' for vardb entry matches the repository update is originating from. For world and configuration files, use the best vardb match. | ||||
* | Make iuse_implicit_re private for now. | Zac Medico | 2010-04-27 | 1 | -1/+1 |
| | |||||
* | --update: don't ignore higher versions because of missing IUSE | Sebastian Luther | 2010-04-27 | 1 | -5/+2 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Fix broken dep_expand import from previous commit. | Zac Medico | 2010-02-25 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=15467 | ||||
* | Avoid name collision with dep_expand submodule so epydoc won't crash. | Zac Medico | 2010-02-25 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=15465 | ||||
* | Move dep_expand and cpv_expand into portage.dbapi submodules. | Zac Medico | 2010-02-25 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=15460 | ||||
* | Deprecate pordbapi.mysettings since the portdbapi.settings alias is now | Zac Medico | 2010-01-31 | 1 | -1/+1 |
| | | | | | | supported by stable portage. svn path=/main/trunk/; revision=15306 | ||||
* | Use catsplit() instead of a regex to generate dbapi._categories. Thanks to | Zac Medico | 2009-09-27 | 1 | -6/+3 |
| | | | | | | Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14448 | ||||
* | Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -2/+1 |
| | | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -1/+1 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14003 | ||||
* | Optimize dbapi._iter_match_use() so that it shares a single compiled regex | Zac Medico | 2009-07-06 | 1 | -7/+7 |
| | | | | | | | | for all implicit iuse checks. This avoids lots of expensibe re.compile() calls. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the initial patch. svn path=/main/trunk/; revision=13801 | ||||
* | Make dbapi.cp_list() raise NotImplementedError. | Zac Medico | 2009-06-25 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13695 | ||||
* | Prepare 117 messages to localization. | Arfrever Frehtes Taifersar Arahesis | 2009-06-14 | 1 | -2/+3 |
| | | | | svn path=/main/trunk/; revision=13639 |