Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy-bin/
Date: Thu, 16 Nov 2017 12:33:50
Message-Id: 1510835618.c6129a87a4f7589d97cca3280bc9c79e46037ca5.mgorny@gentoo
1 commit: c6129a87a4f7589d97cca3280bc9c79e46037ca5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 15 16:16:27 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 16 12:33:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6129a87
7
8 dev-python/pypy-bin: Fix mtimes between generated and source files
9
10 Ensure to preserve file mtimes while copying them from the source tree
11 to the installation image. This ensures that the generated files
12 are newer than source files, and that PyPy does not attempt to rewrite
13 them at runtime.
14
15 .../pypy-bin/{pypy-bin-5.9.0-r1.ebuild => pypy-bin-5.9.0-r2.ebuild} | 2 ++
16 1 file changed, 2 insertions(+)
17
18 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
19 similarity index 99%
20 rename from dev-python/pypy-bin/pypy-bin-5.9.0-r1.ebuild
21 rename to dev-python/pypy-bin/pypy-bin-5.9.0-r2.ebuild
22 index b33c85d2d30..8c3b3d419da 100644
23 --- a/dev-python/pypy-bin/pypy-bin-5.9.0-r1.ebuild
24 +++ b/dev-python/pypy-bin/pypy-bin-5.9.0-r2.ebuild
25 @@ -171,6 +171,8 @@ src_install() {
26 doexe pypy-c libpypy-c.so
27 pax-mark m "${ED%/}${dest}/pypy-c" "${ED%/}${dest}/libpypy-c.so"
28 insinto "${dest}"
29 + # preserve mtimes to avoid obsoleting caches
30 + insopts -p
31 doins -r include lib_pypy lib-python
32 dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy
33 dodoc README.rst