Re: [gentoo-portage-dev] [PATCH] bin/doins.py: implement install -p option (bug 642632)

2017-12-29 Thread Zac Medico
On 12/29/2017 02:13 PM, Mike Gilbert wrote: > On Fri, Dec 29, 2017 at 3:35 PM, Zac Medico wrote: >> + if self._parsed_options.preserve_timestamps: >> + if sys.version_info >= (3, 3): >> +

[gentoo-portage-dev] [PATCH v2] bin/doins.py: implement install -p option (bug 642632)

2017-12-29 Thread Zac Medico
Bug: https://bugs.gentoo.org/642632 --- [PATCH v2] fix to copy atime, and split out _set_timestamps function bin/doins.py| 28 +--- pym/portage/tests/bin/test_doins.py | 6 -- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git

Re: [gentoo-portage-dev] [PATCH] bin/doins.py: implement install -p option (bug 642632)

2017-12-29 Thread Mike Gilbert
On Fri, Dec 29, 2017 at 3:35 PM, Zac Medico wrote: > + if self._parsed_options.preserve_timestamps: > + if sys.version_info >= (3, 3): > + os.utime(dest, ns=(sstat.st_mtime_ns, >

[gentoo-portage-dev] [PATCH] bin/doins.py: implement install -p option (bug 642632)

2017-12-29 Thread Zac Medico
Bug: https://bugs.gentoo.org/642632 --- bin/doins.py| 13 ++--- pym/portage/tests/bin/test_doins.py | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/bin/doins.py b/bin/doins.py index 92e450979..dceffee83 100644 --- a/bin/doins.py +++