From c6129a87a4f7589d97cca3280bc9c79e46037ca5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 15 Nov 2017 17:16:27 +0100 Subject: [PATCH] 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. --- .../{pypy-bin-5.9.0-r1.ebuild => pypy-bin-5.9.0-r2.ebuild} | 2 ++ 1 file changed, 2 insertions(+) rename dev-python/pypy-bin/{pypy-bin-5.9.0-r1.ebuild => pypy-bin-5.9.0-r2.ebuild} (99%) 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 -- 2.26.2