diff options
author | Martin Väth <vaeth at mathematik.uni-wuerzburg.de> | 2012-09-02 13:18:20 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-02 13:18:20 -0700 |
commit | ce16249658fa99a8b2051a19091b85f712f5dac1 (patch) | |
tree | 3a8705057b61c011115b6c68f4f542f63ac66393 /bin/phase-helpers.sh | |
parent | b7f39b5f439cc7c3563706478d1ebafca7fde074 (diff) | |
download | portage-ce16249658fa99a8b2051a19091b85f712f5dac1.tar.gz portage-ce16249658fa99a8b2051a19091b85f712f5dac1.tar.bz2 portage-ce16249658fa99a8b2051a19091b85f712f5dac1.zip |
Add DateSet, bug #433704.
Allow sets of packages installed before or after a specific date.
The date may be specified explicitly (in dateformat which defaults to "%x %X")
or seconds since Epoch, or implicitly as an installation date or a filestamp.
For example, the following sets can be specified in /etc/portage/sets.conf:
[date1]
class = portage.sets.dbapi.DateSet
mode = older
date = 08/31/12 10:00:00
dateformat = %%x %%X
[date2]
class = portage.sets.dbapi.DateSet
mode = newer
seconds = 1346400000
[date3]
class = portage.sets.dbapi.DateSet
package = sys-devel/gcc:4.7
[date4]
class = portage.sets.dbapi.DateSet
filestamp = /usr/bin/gcc
Diffstat (limited to 'bin/phase-helpers.sh')
0 files changed, 0 insertions, 0 deletions