summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* config: set PORTAGE_OVERRIDE_EPREFIX for subprocsZac Medico2011-12-091-0/+5
|
* Rename override var to PORTAGE_OVERRIDE_EPREFIX.Zac Medico2011-12-094-5/+5
|
* create_trees: add public eprefix parameterZac Medico2011-12-092-6/+4
|
* config: make eprefix constructor parameter publicZac Medico2011-12-093-10/+6
|
* config: constructor default portage.const.EPREFIXZac Medico2011-12-091-1/+2
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-096-9/+7
|
* portage.util.movefile._copyxattr(): Print more informative exceptionArfrever Frehtes Taifersar Arahesis2011-12-101-3/+18
| | | | when target filesystem does not support extended attributes.
* Add portage.exception.OperationNotSupported exception.Arfrever Frehtes Taifersar Arahesis2011-12-101-0/+4
|
* Binpkg: ensure $ED exists after extractionZac Medico2011-12-091-0/+1
|
* Binpkg: handle missing dir after chpathtoolZac Medico2011-12-091-5/+11
|
* Binpkg: fix os.path.dirname() usageZac Medico2011-12-091-1/+1
| | | | It doesn't behave as intended for $ED which has a trailing slash.
* Binpkg: add chpathtool support for prefixZac Medico2011-12-091-5/+59
| | | | | | This uses a python-based chpathtool implementation which is intended to be compatible with the C-based implemenation that the prefix branch uses.
* BinpkgEnvExtractor: fix PORTAGE_LOG_FILE spellingZac Medico2011-12-091-2/+2
|
* Support FEATURES=xattr.Zac Medico2011-12-092-3/+6
|
* portage.util.movefile._copyxattr(): Support usage of xattr module fromArfrever Frehtes Taifersar Arahesis2011-12-101-18/+27
| | | | dev-python/pyxattr.
* portage.util.movefile._copyxattr(): Support usage of getfattr andArfrever Frehtes Taifersar Arahesis2011-12-101-4/+23
| | | | setfattr executables.
* data.py: grp/pwd struct attrs, not indexesZac Medico2011-12-091-2/+2
|
* Auto-generate PORTAGE_GRP/USERNAME for prefix.Zac Medico2011-12-091-0/+20
| | | | | | For prefix environments, default to the UID and GID of the top-level EROOT directory. This allows us to avoid using hardcoded defaults. It's still possible to override these variables via make.conf.
* Auto-generate PORTAGE_INST_GID/UID for prefix.Zac Medico2011-12-091-4/+20
| | | | | | For prefix environments, default to the UID and GID of the top-level EROOT directory. This allows us to avoid using hardcoded defaults. It's still possible to override these variables via make.conf.
* Delete portage.dbapi.porttree._repo_info class and _repo_info attribute ofArfrever Frehtes Taifersar Arahesis2011-12-093-27/+9
| | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects.
* tests/bin: sanitize envZac Medico2011-12-081-3/+3
| | | | This fixes interference from FEATURES=force-prefix in the env.
* Add eclass_db attribute in portage.repository.config.RepoConfig objects.Arfrever Frehtes Taifersar Arahesis2011-12-092-17/+23
|
* load_emerge_config: init portage.data earlierZac Medico2011-12-081-7/+10
| | | | | The portage_uid initialization here must to happend before the _init_dirs() calls.
* Enable PORTAGE_GRPNAME/USERNAME in make.conf.Zac Medico2011-12-084-59/+118
| | | | | | | | This is handy for prefix installs, since it allows these variables to be set in make.conf rather than having them hardcoded. Eventually, the corresponding portage.data constants may be deprecated in favor of config attributes, since it's conceivable that multiple configurations with different constants could be used simultaneously.
* Add portage.const.EPREFIX, for prefix installs.Zac Medico2011-12-081-0/+18
| | | | | | | The EPREFIX for the current install is hardcoded here, but access to this constant should be minimal, in favor of access via the EPREFIX setting of a config instance (since it's possible to contruct a config instance with a different EPREFIX).
* dispatch-conf: substitute ${EPREFIX} archive-dirZac Medico2011-12-081-0/+5
| | | | This allows prefix installs to avoid hardcoding archive-dir.
* make.globals: use ${EPREFIX} for PORTDIR, etc...Zac Medico2011-12-081-0/+3
|
* Use 'wget' instead of /usr/bin/wget everywhere.Zac Medico2011-12-081-1/+1
| | | | This reduces the amount of patching needed for prefix installs.
* Whitelist/filter __PORTAGE_TEST_EPREFIX.Zac Medico2011-12-081-1/+1
|
* Support FEATURES=force-prefix.Zac Medico2011-12-082-11/+8
| | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix.
* dispatch-conf: experimental prefix supportZac Medico2011-12-071-2/+3
|
* Make USE=prefix enable EPREFIX in all EAPIs.Zac Medico2011-12-071-2/+11
| | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons).
* action_sync: fix git_sync_timestamps KeyErrorZac Medico2011-12-061-8/+15
| | | | This fixes the case where $PORTDIR doesn't exist prior to sync.
* fix logic from last commitZac Medico2011-12-041-1/+2
|
* depgraph: fix case insensitive search for unsatZac Medico2011-12-041-3/+11
| | | | | | | This fixes an interaction between the code from commits 9ce6da43ab90c4dab97ebf3b8339e5dbc113a0a8 and cbe44d92ff13b8a22f5b4215b73078ce600c6bf4, so that we don't discard matches that are identical except for differnces in upper/lower case.
* action_depclean: fix return codeZac Medico2011-12-022-5/+10
| | | | | | The fixes some cases where emerge.log would show that depclean was unsuccessful when it was really successful but there was nothing to remove.
* Handle OSError from os.read and loop if needed.Zac Medico2011-12-013-23/+29
| | | | | | Looping fixes EbuildMetadataPhase failures for ebuilds that produce more than 4096 bytes of metadata, broken since commit b432a1b3051d91546649e8f3190675767461d8e8.
* process._exec: tweak opt_name for PyPyZac Medico2011-12-011-1/+6
| | | | | PyPy 1.7 will die due to "libary path not found" if argv[0] does not contain the full path of the binary.
* PipeReader: use os.read/writeZac Medico2011-12-011-19/+11
|
* test_uniqueArray.py: fix 'is' usage PyPy incompatZac Medico2011-12-011-3/+3
|
* AsynchronousLock: use os.read/writeZac Medico2011-12-011-15/+28
| | | | | | Similar to commit b432a1b3051d91546649e8f3190675767461d8e8, don't use unecessary file objects. It also happens that these changes fix compatibility issues with PyPy.
* checksum.py: detect PyPy crashes in hashlibZac Medico2011-12-011-0/+29
| | | | | | | | Use a fork to try and PyPy by digesting random data with hashlib functions. It doesn't look like a bug has been reported upstream for this yet, so it may or may not be reproducible by others. Anyway, this allows me to avoid crashing the main PyPy process until I find a real fix.
* _emerge/EbuildMetadataPhase.py: use os.read()Zac Medico2011-12-011-7/+13
| | | | | | There's no need for a file object, and file objects introduce complexity that can lead to bugs as mentioned in bug 337465 comment 31, so use os.read() directly on the file descriptor.
* _emerge/SubProcess.py: support int fd in _filesZac Medico2011-12-011-1/+4
|
* MergeProcess: check if _elog_reader_fd is NoneZac Medico2011-12-011-1/+1
| | | | | It seems saner to check for None, given that _elog_reader_fd is an int, even though it will probably never be zero.
* locks.py: use flock with PyPy for issue 747Zac Medico2011-12-011-0/+5
|
* doebuild: disable noauto for binary packagesZac Medico2011-11-291-0/+4
|
* movefile: tweak unicode handlingZac Medico2011-11-281-8/+12
|
* movefile: chown/mod before renameZac Medico2011-11-281-15/+7
|
* movefile: avoid redundant string concatenationsZac Medico2011-11-281-6/+7
|