Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename pym→lib, for better distutils-r1 interoperability | Michał Górny | 2018-07-18 | 1 | -1/+1 |
| | | | | Closes: https://github.com/gentoo/portage/pull/343 | ||||
* | asyncio: explicitly close event loops (bug 654390) | Zac Medico | 2018-05-06 | 1 | -0/+3 |
| | | | | | | | The default asyncio event loop triggers a resource warning if it is not explicitly closed, therefore close it when appropriate. Bug: https://bugs.gentoo.org/654390 | ||||
* | Do not enable optimizations by default to work-around pycparser issue | Michał Górny | 2017-09-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | dev-python/pycparser-2.18+ exposes a design flaw in dev-python/ply that makes it unable to work with -OO code. Given that Gentoo compiles its Python packages with -OO and both -O and -OO use the same files for Python < 3.5, using -O in Portage implicitly means -OO for those implementations. Remove the optimizations from Portage shebangs to prevent triggering the issue until we find a proper solution for it. Bug: https://bugs.gentoo.org/628386 Reviewed-by: Zac Medico <zmedico@gentoo.org> | ||||
* | Update sys.path in scripts only when using not installed instance of Portage. | Arfrever Frehtes Taifersar Arahesis | 2014-09-20 | 1 | -2/+2 |
| | | | | | Modules of installed instance of Portage are now placed in standard location, which is included in default sys.path. | ||||
* | Use -b instead of -bb. | Arfrever Frehtes Taifersar Arahesis | 2014-01-23 | 1 | -1/+1 |
| | | | | (-bb can trigger errors, depending on Python version and environment.) | ||||
* | Enable BytesWarnings. | Arfrever Frehtes Taifersar Arahesis | 2014-01-18 | 1 | -2/+2 |
| | |||||
* | fix random pylint errors | Mike Frysinger | 2013-11-29 | 1 | -2/+2 |
| | | | | Shouldn't be any functional changes here. | ||||
* | emaint: Clean and standardize package docstrings and module descriptions | W. Trevor King | 2013-03-09 | 1 | -2/+1 |
| | |||||
* | Remove stray quotes in emaint docstrings. | Zac Medico | 2013-03-09 | 1 | -1/+1 |
| | |||||
* | Add portage._internal_caller var, and use it. | Zac Medico | 2013-01-03 | 1 | -1/+2 |
| | |||||
* | Unconditionally insert our pym dir in sys.path. | Zac Medico | 2012-09-02 | 1 | -7/+4 |
| | | | | | This is especially necessary when running in prefix mode, since sys.path may contain the path for a different version of portage. | ||||
* | emaint: split into separate modules | Brian Dolbec | 2012-07-22 | 1 | -631/+28 |
| | |||||
* | Propagate EAPI for update_dbentry (bug #426476). | Zac Medico | 2012-07-17 | 1 | -3/+4 |
| | |||||
* | migrate emaint to use the new title and label features of the progressbar. | Brian Dolbec | 2012-07-09 | 1 | -4/+2 |
| | |||||
* | emaint: remove obsolete world category check | Zac Medico | 2012-07-03 | 1 | -7/+2 |
| | | | | | | The reason for this check, as discussed in bug #166785, is no longer relevant since emerge does not suggest to run `emaint --check world` in this case anymore. | ||||
* | Fix missed ROOT -> EROOT changes. | Zac Medico | 2011-10-27 | 1 | -1/+1 |
| | | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a. | ||||
* | Use EROOT instead of ROOT for keys everywhere. | Zac Medico | 2011-10-25 | 1 | -10/+10 |
| | | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty. | ||||
* | emaint binhost: add method for SIZE/MTIME checks | Zac Medico | 2011-06-18 | 1 | -19/+38 |
| | |||||
* | emaint binhost: check SIZE and MTIME | Zac Medico | 2011-06-18 | 1 | -1/+21 |
| | |||||
* | Remove redundant initial os.sep argument to os.path.join() calls | Zac Medico | 2010-09-05 | 1 | -2/+2 |
| | | | | involving EROOT. | ||||
* | use EROOT with WORLD_FILE | Fabian Groffen | 2010-09-04 | 1 | -1/+1 |
| | |||||
* | use EROOT with VDB_PATH | Fabian Groffen | 2010-09-04 | 1 | -2/+2 |
| | |||||
* | Rename the portage.sets module to portage._sets since it will be useful | Zac Medico | 2010-08-30 | 1 | -2/+2 |
| | | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form. | ||||
* | Tweak global updates handling so that updates from $PORTDIR are applied | Zac Medico | 2010-07-27 | 1 | -10/+40 |
| | | | | | | | | | 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 | -2/+1 |
| | | | | most efficient to process all repos at once. | ||||
* | Fallback to updates from PORTDIR if repository has no 'updates' dir. | Michał Górny | 2010-07-27 | 1 | -0/+3 |
| | | | | | | As a backwards-compatibility measure, if a particular repository doesn't come with an 'updates' directory, fallback to updates from dbapi.porttree_root. | ||||
* | Add repository-wide updates support to emaint. | Michał Górny | 2010-07-27 | 1 | -40/+55 |
| | |||||
* | Skip atom validation in WorldHandler since WorldSelectedSet handles this | Zac Medico | 2010-02-09 | 1 | -3/+2 |
| | | | | | | already, and use Atom.cp instead of dep_getkey(). svn path=/main/trunk/; revision=15327 | ||||
* | Bug #300388 - Fix terminal handling code to so term codes aren't sent when | Zac Medico | 2010-01-11 | 1 | -1/+1 |
| | | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191 | ||||
* | Fix WorldHandler to use the "selected" set. | Zac Medico | 2009-10-17 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14620 | ||||
* | Use list comprehensions instead of filter() or map() in some places for ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 1 | -3/+3 |
| | | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421 | ||||
* | Replace doct.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 1 | -1/+1 |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14379 | ||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -2/+2 |
| | | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 | ||||
* | 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 syntax of numbers for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -1/+1 |
| | | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292 | ||||
* | Support print() function with Python 2 in some files. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14291 | ||||
* | Update syntax of calls to print() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -7/+7 |
| | | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290 | ||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -1/+1 |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -2/+1 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993 | ||||
* | Bug #280259 - Fix emaint to call binarytree._load_pkgindex() for unicode | Zac Medico | 2009-08-04 | 1 | -13/+3 |
| | | | | | | handling. svn path=/main/trunk/; revision=13891 | ||||
* | Fix typo in --help. | Zac Medico | 2008-11-24 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12072 | ||||
* | Add docs for all of the supported commands. | Zac Medico | 2008-11-23 | 1 | -4/+26 |
| | | | | svn path=/main/trunk/; revision=12047 | ||||
* | Optimize `emaint` --fix binhost so that it the Packages file isn't re-read | Zac Medico | 2008-08-01 | 1 | -15/+45 |
| | | | | | | | and re-written for each package that's updated. Instead, hold a lock for the whole time the command is running and just update it once. svn path=/main/trunk/; revision=11307 | ||||
* | Fix an UnboundLocalError for 'pkgindex'. | Zac Medico | 2008-03-15 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=9467 | ||||
* | Convert PackageIndex.packages from a dict to a list so that in the future | Zac Medico | 2008-03-07 | 1 | -6/+14 |
| | | | | | | it will be possible to support multiple packages with the same cpv. svn path=/main/trunk/; revision=9452 | ||||
* | style fixes (imports), add support for --version (bug 138159) | Alec Warner | 2008-01-13 | 1 | -4/+8 |
| | | | | svn path=/main/trunk/; revision=9200 | ||||
* | Fix setconfig.getSets() api breakage. | Zac Medico | 2007-12-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=8937 | ||||
* | Fix setconfig loader to use config files instead of hardcoded fallbacks | Marius Mauch | 2007-12-04 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=8839 | ||||
* | Bug #197797 - Set umask to 022 so that created files (such as the | Zac Medico | 2007-11-12 | 1 | -0/+4 |
| | | | | | | world file) have sane permissions. svn path=/main/trunk/; revision=8491 | ||||
* | Move glsa-check from gentoolkit into portage so the gentoolkit version can ↵ | Marius Mauch | 2007-11-09 | 1 | -2/+1 |
| | | | | | | be removed after 2.2 is released svn path=/main/trunk/; revision=8478 |