<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9c2928159239d0a8c5026c87c5d3f2b1f0be5d0a">https://github.com/macports/macports-ports/commit/9c2928159239d0a8c5026c87c5d3f2b1f0be5d0a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9c292815923 python*: preserve mtime of pyconfig.h
</span>9c292815923 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9c2928159239d0a8c5026c87c5d3f2b1f0be5d0a
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Mar 13 21:20:19 2022 +1100
<span style='display:block; white-space:pre;color:#404040;'> python*: preserve mtime of pyconfig.h
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/63782
</span>---
lang/python26/Portfile | 4 ++++
lang/python27/Portfile | 4 ++++
lang/python310/Portfile | 4 ++++
lang/python32/Portfile | 2 ++
lang/python33/Portfile | 4 ++++
lang/python34/Portfile | 4 ++++
lang/python35/Portfile | 4 ++++
lang/python36/Portfile | 4 ++++
lang/python37/Portfile | 4 ++++
lang/python38/Portfile | 4 ++++
lang/python39/Portfile | 4 ++++
11 files changed, 42 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python26/Portfile b/lang/python26/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9acf7a10c2e..c9197b3c8b4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -158,7 +158,9 @@ post-destroot {
</span> platform darwin {
post-configure {
# See http://trac.macports.org/ticket/18376
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-patch {
if {![file exists /usr/lib/libSystemStubs.a]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -192,7 +194,9 @@ variant universal {
</span> configure.args-append --enable-universalsdk=/
}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python27/Portfile b/lang/python27/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ffd73d28082..db8e5234dba 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python27/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python27/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -132,7 +132,9 @@ post-patch {
</span> }
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> reinplace "s;/* #undef PY_FORMAT_LONG_LONG */;#define PY_FORMAT_LONG_LONG \"ll\";" ${worksrcpath}/pyconfig.h
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
build.target all
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -170,7 +172,9 @@ platform darwin {
</span> # poll() misbehaves on 10.8 and older
# See https://trac.macports.org/ticket/18376
if {${os.major} <= 12} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python310/Portfile b/lang/python310/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index de54f17fe99..99592896eac 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python310/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python310/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,7 +108,9 @@ platform darwin {
</span> # poll() misbehaves on 10.8 and older
# See https://trac.macports.org/ticket/18376
if {${os.major} <= 12} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -220,7 +222,9 @@ variant universal {
</span> }
configure.args-append --enable-universalsdk=${configure.sysroot}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python32/Portfile b/lang/python32/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5ba0dda762e..d4adad52f49 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python32/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python32/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -162,7 +162,9 @@ variant universal {
</span> configure.args-append --enable-universalsdk=/
}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python33/Portfile b/lang/python33/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 94cda386e79..6cf5acbbfc1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python33/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python33/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -150,7 +150,9 @@ post-destroot {
</span> platform darwin {
post-configure {
# See http://trac.macports.org/ticket/18376
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -179,7 +181,9 @@ variant universal {
</span> configure.args-append --enable-universalsdk=/
}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python34/Portfile b/lang/python34/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 57fe0f5f83b..e6c8ee90b15 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python34/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python34/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -129,7 +129,9 @@ platform darwin {
</span>
post-configure {
# See https://trac.macports.org/ticket/18376
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-build {
set buildlibdir [lindex [glob -directory ${worksrcpath}/build lib.*-*-*-${branch}] 0]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -209,7 +211,9 @@ variant universal {
</span> configure.args-append --enable-universalsdk=/
}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python35/Portfile b/lang/python35/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4606035f124..669de2e7444 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python35/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python35/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -128,7 +128,9 @@ platform darwin {
</span>
post-configure {
# See https://trac.macports.org/ticket/18376
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-build {
set buildlibdir [lindex [glob -directory ${worksrcpath}/build lib.*-*-*-${branch}] 0]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -208,7 +210,9 @@ variant universal {
</span> configure.args-append --enable-universalsdk=/
}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python36/Portfile b/lang/python36/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 50e2bb259f7..a1a21f07800 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python36/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python36/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -118,7 +118,9 @@ platform darwin {
</span> # poll() misbehaves on 10.8 and older
# See https://trac.macports.org/ticket/18376
if {${os.major} <= 12} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
post-build {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -221,7 +223,9 @@ variant universal {
</span> }
configure.args-append --enable-universalsdk=${configure.sysroot}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python37/Portfile b/lang/python37/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 98bbc2bd1dc..ee10dfdb30e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python37/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python37/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -107,7 +107,9 @@ platform darwin {
</span> # poll() misbehaves on 10.8 and older
# See https://trac.macports.org/ticket/18376
if {${os.major} <= 12} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -212,7 +214,9 @@ variant universal {
</span> }
configure.args-append --enable-universalsdk=${configure.sysroot}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python38/Portfile b/lang/python38/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ac5d38cbc26..6a28958bacc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python38/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python38/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -113,7 +113,9 @@ platform darwin {
</span> # poll() misbehaves on 10.8 and older
# See https://trac.macports.org/ticket/18376
if {${os.platform} eq "darwin" && ${os.major} <= 12} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -225,7 +227,9 @@ variant universal {
</span> }
configure.args-append --enable-universalsdk=${configure.sysroot}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python39/Portfile b/lang/python39/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 413c9797d45..6f492a4f520 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python39/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python39/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -109,7 +109,9 @@ platform darwin {
</span> # poll() misbehaves on 10.8 and older
# See https://trac.macports.org/ticket/18376
if {${os.major} <= 12} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -221,7 +223,9 @@ variant universal {
</span> }
configure.args-append --enable-universalsdk=${configure.sysroot}
post-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldmtime [file mtime ${worksrcpath}/pyconfig.h]
</span> system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mtime ${worksrcpath}/pyconfig.h $oldmtime
</span> }
post-destroot {
</pre><pre style='margin:0'>
</pre>