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/pypy3-bin/
Date: Thu, 16 Nov 2017 12:33:50
Message-Id: 1510835619.68d757d5379b7a91d895124b62f8bc5ea724d437.mgorny@gentoo
1 commit: 68d757d5379b7a91d895124b62f8bc5ea724d437
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 15 16:17:22 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 16 12:33:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d757d5
7
8 dev-python/pypy3-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 .../pypy3-bin/{pypy3-bin-5.9.0-r2.ebuild => pypy3-bin-5.9.0-r3.ebuild} | 2 ++
16 1 file changed, 2 insertions(+)
17
18 diff --git a/dev-python/pypy3-bin/pypy3-bin-5.9.0-r2.ebuild b/dev-python/pypy3-bin/pypy3-bin-5.9.0-r3.ebuild
19 similarity index 98%
20 rename from dev-python/pypy3-bin/pypy3-bin-5.9.0-r2.ebuild
21 rename to dev-python/pypy3-bin/pypy3-bin-5.9.0-r3.ebuild
22 index 0f0e4bd042d..4ac56798f83 100644
23 --- a/dev-python/pypy3-bin/pypy3-bin-5.9.0-r2.ebuild
24 +++ b/dev-python/pypy3-bin/pypy3-bin-5.9.0-r3.ebuild
25 @@ -150,6 +150,8 @@ src_install() {
26 doexe pypy3-c libpypy3-c.so
27 pax-mark m "${ED%/}${dest}/pypy3-c" "${ED%/}${dest}/libpypy3-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)/pypy3/pypy3-c /usr/bin/pypy3
33 dodoc README.rst