From: Michał Górny Date: Wed, 15 Nov 2017 16:16:27 +0000 (+0100) Subject: dev-python/pypy-bin: Fix mtimes between generated and source files X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c6129a87a4f7589d97cca3280bc9c79e46037ca5;p=gentoo.git dev-python/pypy-bin: Fix mtimes between generated and source files Ensure to preserve file mtimes while copying them from the source tree to the installation image. This ensures that the generated files are newer than source files, and that PyPy does not attempt to rewrite them at runtime. --- diff --git a/dev-python/pypy-bin/pypy-bin-5.9.0-r1.ebuild b/dev-python/pypy-bin/pypy-bin-5.9.0-r2.ebuild similarity index 99% rename from dev-python/pypy-bin/pypy-bin-5.9.0-r1.ebuild rename to dev-python/pypy-bin/pypy-bin-5.9.0-r2.ebuild index b33c85d2d303..8c3b3d419da8 100644 --- a/dev-python/pypy-bin/pypy-bin-5.9.0-r1.ebuild +++ b/dev-python/pypy-bin/pypy-bin-5.9.0-r2.ebuild @@ -171,6 +171,8 @@ src_install() { doexe pypy-c libpypy-c.so pax-mark m "${ED%/}${dest}/pypy-c" "${ED%/}${dest}/libpypy-c.so" insinto "${dest}" + # preserve mtimes to avoid obsoleting caches + insopts -p doins -r include lib_pypy lib-python dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy dodoc README.rst