<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/7ede1446690ac60822de9d84e6c4f7ebb97099ad">https://github.com/macports/macports-ports/commit/7ede1446690ac60822de9d84e6c4f7ebb97099ad</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 7ede1446690 New port: python313-devel
</span>7ede1446690 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7ede1446690ac60822de9d84e6c4f7ebb97099ad
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Oct 16 23:34:22 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> New port: python313-devel
</span>---
lang/python313-devel/Portfile | 250 ++++++++++++++
.../files/configure-disable-libb2.patch | 93 ++++++
.../files/configure-disable-libuuid.patch | 364 +++++++++++++++++++++
.../files/configure-disable-tkinter.patch | 11 +
lang/python313-devel/files/libedit-types.patch | 15 +
.../files/patch-Lib-ctypes-macholib-dyld.py.diff | 11 +
lang/python313-devel/files/patch-configure.diff | 32 ++
.../files/patch-no-copyfile-on-Tiger.diff | 77 +++++
.../files/patch-threadid-older-systems.diff | 22 ++
lang/python313-devel/files/pyconfig.ed | 2 +
lang/python313-devel/files/pyconfig.h-universal.ed | 71 ++++
lang/python313-devel/files/python-python313 | 13 +
lang/python313-devel/files/python3-python313 | 10 +
13 files changed, 971 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/Portfile b/lang/python313-devel/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2acd7315ea7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,250 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name python313-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Remember to keep py313-tkinter and py313-gdbm's versions sync'd with this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.13.0a1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license PSF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {jmr @jmroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description An interpreted, object-oriented programming language
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Python is an interpreted, interactive, object-oriented \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ programming language.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.python.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#master_sites ${homepage}ftp/python/${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}ftp/python/3.13.0/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname Python-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 1a13c086438c52a3bfd125e98e214453 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 c1930d78b71e2eac345d9c641072ffd63f6343b0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f0281bf22cc00414361c14fc9197183e7eb2eabb729656b69442224fbb63eecb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-configure.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-Lib-ctypes-macholib-dyld.py.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure-disable-libb2.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure-disable-libuuid.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure-disable-tkinter.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # work around no copyfile and/or pthread_threadid_np on older systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-no-copyfile-on-Tiger.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-threadid-older-systems.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:bzip2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext-runtime \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libedit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libffi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlite3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:python_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python3_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --enable-framework=${frameworks_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-ipv6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-loadable-sqlite-extensions \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-computed-gotos \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-ensurepip=no \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-readline=editline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-dbmliborder=ndbm:bdb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ccache no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# pkg-config removes -I flags for paths in CPATH, which confuses python.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PREFIX@@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/Lib/ctypes/macholib/dyld.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # replace /Applications with ${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@APPLICATIONS_DIR@@|${applications_dir}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target frameworkinstall maninstall
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythonNoDot python[string map {. {}} $branch]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+select.entries [list python python-$pythonNoDot $pythonNoDot] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [list python3 python3-$pythonNoDot $pythonNoDot]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framewpath ${frameworks_dir}/Python.framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framewdir ${framewpath}/Versions/${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set confdir config-${branch}-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # poll() misbehaves on 10.8 and older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See https://trac.macports.org/ticket/18376
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} <= 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir { Headers Resources Python Versions/Current } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${framewpath}/${dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${framewdir}/share/man/man1/python${branch}.1 ${destroot}${prefix}/share/man/man1/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${framewdir}/lib/pkgconfig/python-${branch}.pc ${destroot}${prefix}/lib/pkgconfig/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${framewdir}/lib/pkgconfig/python-${branch}-embed.pc ${destroot}${prefix}/lib/pkgconfig/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libdir ${destroot}${framewdir}/lib/python${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Without this, LINKFORSHARED is set to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (this becomes Python.framework/Versions/3.13/Python) which doesn't
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # work for dependents that incorrectly use this variable to find out
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # how to link against python (see ticket #15099); instead we mirror
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the behavior of `python-config --ldflags` here.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lfs_pattern {^([[:space:]]*'LINKFORSHARED':).*}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lfs_replacement "\\1 '-L${framewdir}/lib/python${branch}/${confdir} -lpython${branch} -ldl -framework CoreFoundation',"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E s|${lfs_pattern}|${lfs_replacement}| \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/_sysconfigdata__darwin_darwin.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove -arch flags from the config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-arch [a-z0-9_]+||g} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/_sysconfigdata__darwin_darwin.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # also remove gettext overlinking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lintl||" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/_sysconfigdata__darwin_darwin.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # recompile the modified file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_for_build python.exe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # executable differs depending on filesystem case sensitivity
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${worksrcpath}/${python_for_build}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_for_build python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "env DYLD_FRAMEWORK_PATH=. ./${python_for_build} -E -m compileall -d [shellescape ${framewdir}/lib/python${branch}] -o 0 -o 1 -o 2 [shellescape ${libdir}/_sysconfigdata__darwin_darwin.py]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Also make the sysconfig changes in the Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s|^\(LINKFORSHARED=\).*$|\1 -L$(LIBPL) -lpython$(VERSION)$(ABIFLAGS) $(LIBS) $(SYSLIBS)|} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/${confdir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-arch [a-z0-9_]+||g} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/${confdir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lintl||" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/${confdir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach unversioned {2to3 idle3 pydoc3 python3 python3-config} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/bin/${unversioned}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To make this the default Python or Python 3 (i.e., the version run by\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the 'python' or 'python3' commands), run one or both of:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo port select --set python $pythonNoDot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo port select --set python3 $pythonNoDot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant universal {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set universal_arch_flags {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set arch_run_32bit {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lipo_32bit_flags {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lipo_intel64_flags {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any64 no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend universal_arch_flags -arch ${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${arch} in {i386 ppc}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend arch_run_32bit -${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend lipo_32bit_flags -extract ${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any64 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$any64} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$arch_run_32bit eq ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set arch_run_32bit true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lipo_32bit_flags ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set arch_run_32bit "/usr/bin/arch $arch_run_32bit"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #lipo_32bit_flags already correct
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {"arm64" in ${configure.universal_archs} && "x86_64" in ${configure.universal_archs}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lipo_intel64_flags "-extract x86_64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set arch_run_32bit ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lipo_32bit_flags ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|@@UNIVERSAL_ARCH_FLAGS@@|${universal_arch_flags}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|@@LIPO_32BIT_FLAGS@@|${lipo_32bit_flags}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|@@LIPO_INTEL64_FLAGS@@|${lipo_intel64_flags}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|@@ARCH_RUN_32BIT@@|${arch_run_32bit}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-universalsdk=${configure.sysroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach unversioned {python3-32 python3-intel64} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/bin/${unversioned}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant optimizations description {enable expensive, stable optimizations (including PGO)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-optimizations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant lto description {enable Link-Time Optimization} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-lto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Build failures on 10.9 and older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 14 || !($universal_possible && [variant_isset universal])} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +lto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +optimizations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant dtrace description {enable DTrace support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-dtrace
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}downloads/source/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.regex Python (${branch}\[.0-9\]+) -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex Python (${branch}\[.0-9abrc\]+) -
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/configure-disable-libb2.patch b/lang/python313-devel/files/configure-disable-libb2.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a846f5e4fb8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/configure-disable-libb2.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,93 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2023-09-19 05:48:09
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-09-23 10:13:17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28384,89 +28384,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IFS=$as_save_IFS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$with_builtin_blake2" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-pkg_failed=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBB2" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf %s "checking for LIBB2... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test -n "$LIBB2_CFLAGS"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBB2_CFLAGS="$LIBB2_CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- elif test -n "$PKG_CONFIG"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -n "$PKG_CONFIG" && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_status=$?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test $ac_status = 0; }; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBB2_CFLAGS=`$PKG_CONFIG --cflags "libb2" 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test "x$?" != "x0" && pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=untried
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test -n "$LIBB2_LIBS"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBB2_LIBS="$LIBB2_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- elif test -n "$PKG_CONFIG"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -n "$PKG_CONFIG" && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_status=$?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test $ac_status = 0; }; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBB2_LIBS=`$PKG_CONFIG --libs "libb2" 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test "x$?" != "x0" && pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=untried
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test $pkg_failed = yes; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "no" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _pkg_short_errors_supported=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _pkg_short_errors_supported=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test $_pkg_short_errors_supported = yes; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libb2" 2>&1`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libb2" 2>&1`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Put the nasty error message in config.log where it belongs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "$LIBB2_PKG_ERRORS" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_libb2=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-elif test $pkg_failed = untried; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "no" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_libb2=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBB2_CFLAGS=$pkg_cv_LIBB2_CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBB2_LIBS=$pkg_cv_LIBB2_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "yes" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++have_libb2=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_libb2=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "#define HAVE_LIBB2 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Check whether to disable test modules. Once set, setup.py will not build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # test extension modules and "make install" will not install test suites.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/configure-disable-libuuid.patch b/lang/python313-devel/files/configure-disable-libuuid.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2db8d8c3306
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/configure-disable-libuuid.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,364 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2023-09-19 05:48:09
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-09-23 09:54:55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13149,361 +13149,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ have_uuid=missing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for ac_header in uuid.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-do :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_fn_c_check_header_compile "$LINENO" "uuid.h" "ac_cv_header_uuid_h" "$ac_includes_default"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_header_uuid_h" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_H 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for ac_func in uuid_create uuid_enc_be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-do :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if eval test \"x\$"$as_ac_var"\" = x"yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cat >>confdefs.h <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_uuid=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_LIBS=${LIBUUID_LIBS-""}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$have_uuid" = xmissing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-pkg_failed=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBUUID" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf %s "checking for LIBUUID... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test -n "$LIBUUID_CFLAGS"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBUUID_CFLAGS="$LIBUUID_CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- elif test -n "$PKG_CONFIG"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -n "$PKG_CONFIG" && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.20\""; } >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ($PKG_CONFIG --exists --print-errors "uuid >= 2.20") 2>&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_status=$?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test $ac_status = 0; }; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 2.20" 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test "x$?" != "x0" && pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=untried
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test -n "$LIBUUID_LIBS"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBUUID_LIBS="$LIBUUID_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- elif test -n "$PKG_CONFIG"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -n "$PKG_CONFIG" && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.20\""; } >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ($PKG_CONFIG --exists --print-errors "uuid >= 2.20") 2>&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_status=$?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test $ac_status = 0; }; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid >= 2.20" 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test "x$?" != "x0" && pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkg_failed=untried
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test $pkg_failed = yes; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "no" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _pkg_short_errors_supported=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _pkg_short_errors_supported=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test $_pkg_short_errors_supported = yes; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.20" 2>&1`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.20" 2>&1`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Put the nasty error message in config.log where it belongs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "$LIBUUID_PKG_ERRORS" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- save_CFLAGS=$CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-save_CPPFLAGS=$CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-save_LDFLAGS=$LDFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="$LDFLAGS $LIBUUID_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for ac_header in uuid/uuid.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-do :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_header_uuid_uuid_h" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_UUID_H 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- py_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf %s "checking for uuid_generate_time in -luuid... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test ${ac_cv_lib_uuid_uuid_generate_time+y}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf %s "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS="-luuid $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Override any GCC internal prototype to avoid an error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- Use char because int might match the return type of a GCC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- builtin and then its argument prototype would still apply. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char uuid_generate_time ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-main (void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-return uuid_generate_time ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if ac_fn_c_try_link "$LINENO"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-rm -f core conftest.err conftest.$ac_objext conftest.beam \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- conftest$ac_exeext conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$ac_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "$ac_cv_lib_uuid_uuid_generate_time" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_lib_uuid_uuid_generate_time" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_uuid=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$py_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- py_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe in -luuid" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf %s "checking for uuid_generate_time_safe in -luuid... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test ${ac_cv_lib_uuid_uuid_generate_time_safe+y}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf %s "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS="-luuid $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Override any GCC internal prototype to avoid an error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- Use char because int might match the return type of a GCC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- builtin and then its argument prototype would still apply. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char uuid_generate_time_safe ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-main (void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-return uuid_generate_time_safe ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if ac_fn_c_try_link "$LINENO"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time_safe=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time_safe=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-rm -f core conftest.err conftest.$ac_objext conftest.beam \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- conftest$ac_exeext conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$ac_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time_safe" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "$ac_cv_lib_uuid_uuid_generate_time_safe" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_lib_uuid_uuid_generate_time_safe" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_uuid=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$py_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "x$have_uuid" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_LIBS=${LIBUUID_LIBS-"-luuid"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS=$save_CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CPPFLAGS=$save_CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDFLAGS=$save_LDFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-elif test $pkg_failed = untried; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "no" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- save_CFLAGS=$CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-save_CPPFLAGS=$CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-save_LDFLAGS=$LDFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="$LDFLAGS $LIBUUID_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for ac_header in uuid/uuid.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-do :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_header_uuid_uuid_h" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_UUID_H 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- py_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf %s "checking for uuid_generate_time in -luuid... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test ${ac_cv_lib_uuid_uuid_generate_time+y}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf %s "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS="-luuid $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Override any GCC internal prototype to avoid an error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- Use char because int might match the return type of a GCC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- builtin and then its argument prototype would still apply. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char uuid_generate_time ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-main (void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-return uuid_generate_time ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if ac_fn_c_try_link "$LINENO"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-rm -f core conftest.err conftest.$ac_objext conftest.beam \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- conftest$ac_exeext conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$ac_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "$ac_cv_lib_uuid_uuid_generate_time" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_lib_uuid_uuid_generate_time" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_uuid=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$py_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- py_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe in -luuid" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf %s "checking for uuid_generate_time_safe in -luuid... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test ${ac_cv_lib_uuid_uuid_generate_time_safe+y}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf %s "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS="-luuid $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Override any GCC internal prototype to avoid an error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- Use char because int might match the return type of a GCC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- builtin and then its argument prototype would still apply. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char uuid_generate_time_safe ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-main (void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-return uuid_generate_time_safe ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if ac_fn_c_try_link "$LINENO"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time_safe=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else $as_nop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ac_cv_lib_uuid_uuid_generate_time_safe=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-rm -f core conftest.err conftest.$ac_objext conftest.beam \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- conftest$ac_exeext conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$ac_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time_safe" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "$ac_cv_lib_uuid_uuid_generate_time_safe" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$ac_cv_lib_uuid_uuid_generate_time_safe" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_uuid=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$py_check_lib_save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "x$have_uuid" = xyes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_LIBS=${LIBUUID_LIBS-"-luuid"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS=$save_CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CPPFLAGS=$save_CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDFLAGS=$save_LDFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS=$save_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_CFLAGS=$pkg_cv_LIBUUID_CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBUUID_LIBS=$pkg_cv_LIBUUID_LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-printf "%s\n" "yes" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_uuid=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_H 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf "%s\n" "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$have_uuid" = xmissing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/configure-disable-tkinter.patch b/lang/python313-devel/files/configure-disable-tkinter.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..537f0a89024
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/configure-disable-tkinter.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2023-06-07 00:16:21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-06-10 21:52:00
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -30496,7 +30496,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$py_cv_module__tkinter" != "n/a"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$have_tcltk" = "yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then :
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/libedit-types.patch b/lang/python313-devel/files/libedit-types.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3ea7625570b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/libedit-types.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Modules/readline.c.orig 2023-09-06 07:57:19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Modules/readline.c 2023-09-10 01:43:53
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -442,12 +442,8 @@ readline_set_completion_display_matches_hook_impl(PyOb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default completion display. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rl_completion_display_matches_hook =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ readlinestate_global->completion_display_matches_hook ?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(_RL_FUNCTION_TYPEDEF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (rl_compdisp_func_t *)on_completion_display_matches_hook : 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- (VFunction *)on_completion_display_matches_hook : 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return result;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/patch-Lib-ctypes-macholib-dyld.py.diff b/lang/python313-devel/files/patch-Lib-ctypes-macholib-dyld.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4c6d118d687
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/patch-Lib-ctypes-macholib-dyld.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Lib/ctypes/macholib/dyld.py.orig 2019-10-15 00:34:47.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Lib/ctypes/macholib/dyld.py 2019-11-08 19:28:42.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,7 +23,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEFAULT_LIBRARY_FALLBACK = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os.path.expanduser("~/lib"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "/usr/local/lib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "@@PREFIX@@/lib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/lib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/lib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/patch-configure.diff b/lang/python313-devel/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e0815ab77b8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,32 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2021-10-05 23:44:05.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-10-10 03:34:57.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3266,6 +3266,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ FRAMEWORKINSTALLAPPSPREFIX="@@APPLICATIONS_DIR@@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Add files for Mac specific code to the list of output
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6574,7 +6576,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # non-suffixed name in their versioned llvm directory.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ llvm_bin_dir=''
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-llvm_path="${PATH}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++llvm_path="/bin:/sbin:/usr/bin:/usr/sbin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${CC}" = "clang"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clang_bin=`which clang`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7626,6 +7628,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ UNIVERSAL_ARCH_FLAGS="@@UNIVERSAL_ARCH_FLAGS@@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIPO_32BIT_FLAGS="@@LIPO_32BIT_FLAGS@@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIPO_INTEL64_FLAGS="@@LIPO_INTEL64_FLAGS@@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ARCH_RUN_32BIT="@@ARCH_RUN_32BIT@@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${UNIVERSALSDK}" != "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/patch-no-copyfile-on-Tiger.diff b/lang/python313-devel/files/patch-no-copyfile-on-Tiger.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..811d7169ba1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/patch-no-copyfile-on-Tiger.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,77 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+posix.copyfile does not exist on Tiger.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Python 3.8's posix._fcopyfile implementation unconditionally uses <copyfile.h>,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+which only exists on Leopard ane newer. This patch removes posix._fcopyfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+on Tiger - this is okay because the rest of the stdlib uses posix._fcopyfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+only conditionally after checking that the function exists
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(non-Apple systems don't have posix._fcopyfile either).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+thanks to @dgelessus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/macports/macports-ports/pull/5987
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git Lib/test/test_shutil.py Lib/test/test_shutil.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e56b337..fdc53e3 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Lib/test/test_shutil.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Lib/test/test_shutil.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2451,7 +2451,7 @@ class TestZeroCopySendfile(_ZeroCopyFileTest, unittest.TestCase):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ shutil._USE_CP_SENDFILE = True
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-@unittest.skipIf(not MACOS, 'macOS only')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@unittest.skipIf(not MACOS or not hasattr(posix, "_fcopyfile"), 'macOS with posix._fcopyfile only')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class TestZeroCopyMACOS(_ZeroCopyFileTest, unittest.TestCase):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PATCHPOINT = "posix._fcopyfile"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git Modules/clinic/posixmodule.c.h Modules/clinic/posixmodule.c.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 41baa45..3965876 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Modules/clinic/posixmodule.c.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Modules/clinic/posixmodule.c.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5505,7 +5505,7 @@ exit:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* defined(HAVE_SENDFILE) && !defined(__APPLE__) && !(defined(__FreeBSD__) || defined(__DragonFly__)) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PyDoc_STRVAR(os__fcopyfile__doc__,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "_fcopyfile($module, in_fd, out_fd, flags, /)\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Modules/posixmodule.c.orig 2021-12-09 09:24:29.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Modules/posixmodule.c 2021-12-12 04:50:08.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -67,6 +67,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__has_builtin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if __has_builtin(__builtin_available)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_BUILTIN_AVAILABLE 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -235,7 +237,7 @@ corresponding Unix manual entries for mo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include <sys/sendfile.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include <copyfile.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10001,7 +10003,7 @@ done:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* HAVE_SENDFILE */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*[clinic input]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os._fcopyfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15415,7 +15417,7 @@ all_ins(PyObject *m)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (PyModule_AddIntMacro(m, EFD_SEMAPHORE)) return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (PyModule_AddIntConstant(m, "_COPYFILE_DATA", COPYFILE_DATA)) return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/patch-threadid-older-systems.diff b/lang/python313-devel/files/patch-threadid-older-systems.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f68c2db51f6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/patch-threadid-older-systems.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git Python/thread_pthread.h Python/thread_pthread.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e6910b3..ff9bb1f 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Python/thread_pthread.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Python/thread_pthread.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -331,7 +331,17 @@ PyThread_get_thread_native_id(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PyThread_init_thread();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uint64_t native_id;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ native_id = pthread_mach_thread_np(pthread_self());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif MAC_OS_X_VERSION_MIN_REQUIRED < 1060
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (&pthread_threadid_np != NULL) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (void) pthread_threadid_np(NULL, &native_id);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ native_id = pthread_mach_thread_np(pthread_self());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (void) pthread_threadid_np(NULL, &native_id);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(__linux__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pid_t native_id;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ native_id = syscall(SYS_gettid);
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/pyconfig.ed b/lang/python313-devel/files/pyconfig.ed
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..671d0d56037
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/pyconfig.ed
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+g,.*\(HAVE_POLL[_A-Z]*\).*,s,,/* #undef \1 */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+w
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/pyconfig.h-universal.ed b/lang/python313-devel/files/pyconfig.h-universal.ed
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e1c28309f2c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/pyconfig.h-universal.ed
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,71 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/DOUBLE_IS_BIG_ENDIAN_IEEE754/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __BIG_ENDIAN__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define DOUBLE_IS_BIG_ENDIAN_IEEE754 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/* #undef DOUBLE_IS_BIG_ENDIAN_IEEE754 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/DOUBLE_IS_LITTLE_ENDIAN_IEEE754/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LITTLE_ENDIAN__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/HAVE_LARGEFILE_SUPPORT/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/* #undef HAVE_LARGEFILE_SUPPORT */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define HAVE_LARGEFILE_SUPPORT 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF_LONG/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_LONG 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_LONG 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF_PTHREAD_T/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_PTHREAD_T 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_PTHREAD_T 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF_SIZE_T/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_SIZE_T 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_SIZE_T 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF_TIME_T/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_TIME_T 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_TIME_T 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF_UINTPTR_T/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_UINTPTR_T 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_UINTPTR_T 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF_VOID_P/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_VOID_P 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF_VOID_P 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/SIZEOF__BOOL/c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(__LP64__) || !defined(__POWERPC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF__BOOL 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define SIZEOF__BOOL 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+w
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/python-python313 b/lang/python313-devel/files/python-python313
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d075b6a5e99
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/python-python313
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/python3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/python3.13-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/idle3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/pydoc3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/2to3-3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/man1/python3.13.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.13/Headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.13/Resources
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.13/Python
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/python3-python313 b/lang/python313-devel/files/python3-python313
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0bc1f57feb8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/python3-python313
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/python3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/python3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/python3.13-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/python3.13-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/idle3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/pydoc3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/2to3-3.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/man1/python3.13.1
</span></pre><pre style='margin:0'>
</pre>