mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pypy3: 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.
This commit is contained in:
@@ -210,6 +210,8 @@ src_install() {
|
||||
doexe pypy3-c libpypy3-c.so
|
||||
pax-mark m "${ED%/}${dest}/pypy3-c" "${ED%/}${dest}/libpypy3-c.so"
|
||||
insinto "${dest}"
|
||||
# preserve mtimes to avoid obsoleting caches
|
||||
insopts -p
|
||||
doins -r include lib_pypy lib-python
|
||||
dosym ../$(get_libdir)/pypy3/pypy3-c /usr/bin/pypy3
|
||||
dodoc README.rst
|
||||
@@ -237,6 +237,8 @@ src_install() {
|
||||
doexe pypy3-c libpypy3-c.so
|
||||
pax-mark m "${ED%/}${dest}/pypy3-c" "${ED%/}${dest}/libpypy3-c.so"
|
||||
insinto "${dest}"
|
||||
# preserve mtimes to avoid obsoleting caches
|
||||
insopts -p
|
||||
doins -r include lib_pypy lib-python
|
||||
dosym ../$(get_libdir)/pypy3/pypy3-c /usr/bin/pypy3
|
||||
dodoc README.rst
|
||||
|
||||
Reference in New Issue
Block a user