commit: c6129a87a4f7589d97cca3280bc9c79e46037ca5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 16:16:27 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 12:33:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6129a87
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/{pypy-bin-5.9.0-r1.ebuild => pypy-bin-5.9.0-r2.ebuild} | 2 ++
1 file changed, 2 insertions(+)
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 b33c85d2d30..8c3b3d419da 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