nixpkgs/pkgs/development/interpreters/python/cpython/2.7
Frederik Rietdijk 4087d3fe41 python: don't use optimizations on Darwin
Also, don't use autoreconfHook on Darwin with Python 3.
Darwin builds are still impure and fail with

    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: object file (/nix/store/0lsij4jl35bnhqhdzla8md6xiswgig5q-Libsystem-osx-10.12.6/lib/crt1.10.6.o) was built for newer OSX version (10.12) than being linked (10.6)
    DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
    if test $? -ne 0 ; then \
            echo "generate-posix-vars failed" ; \
            rm -f ./pybuilddir.txt ; \
            exit 1 ; \
    fi
    /nix/store/dsb7d4dwxk6bzlm845z2zx6wp9a8bqc1-bash-4.4-p23/bin/bash: line 5: 72015 Killed: 9               DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars
    generate-posix-vars failed
    make: *** [Makefile:592: pybuilddir.txt] Error 1
2020-06-12 18:29:08 +02:00
..
2.5.2-ctypes-util-find_library.patch
2.5.2-tkinter-x11.patch
2.6.2-ssl-threads.patch
2.6.5-export-PySignal_SetWakeupFd.patch
2.6.5-FD_SETSIZE.patch
2.6.5-ncurses-abi6.patch
2.7.3-dbm.patch
2.7.3-dylib.patch
2.7.3-getpath-exe-extension.patch
2.7.3-no-libm.patch
atomic_pyc.patch python2: backport fix for pyc race condition, part 2 2019-07-17 10:22:11 +02:00
cross-compile.patch
default.nix python: don't use optimizations on Darwin 2020-06-12 18:29:08 +02:00
deterministic-build.patch
nix-store-mtime.patch
no-ldconfig.patch
profile-task.patch cpython: Use --enable-optimizations, for a 16% speedup. 2020-05-11 23:37:04 -07:00
python-2.7-distutils-C++.patch python2: 2.7.16 -> 2.7.17 2019-10-20 19:48:32 +02:00
search-path.patch
use-correct-tcl-tk-on-darwin.patch