# This file created by conda-build 3.18.9
# meta.yaml template originally from:
# /tmp/build/80754af9/rsync-recipes/python-2.7.16-on-linux_canary, last modified Tue Sep 24 21:34:42 2019
# ------------------------------------------------

package:
    name: python
    version: 2.7.16
source:
    -   patches:
            - 0001-bpo-36216-Add-check-for-characters-in-netloc-that-no.patch
            - 0002-bpo-36216-Only-print-test-messages-when-verbose-GH-1.patch
            - 0003-bpo-36742-Corrects-fix-to-handle-decomposition-in-us.patch
            - 0004-bpo-30458-Disallow-control-chars-in-http-URLs.-GH-12.patch
            - 0005-2.7-bpo-35121-prefix-dot-in-domain-for-proper-subdom.patch
            - 0006-backport-Python-3.6-_PYTHON_SYSCONFIGDATA_NAME.patch
            - 0007-Add-Anaconda-Distribution-version-logic.patch
            - 0008-Darwin-Hack-sys.-exec_-prefix-if-run-from-python.app.patch
            - 0009-Darwin-Add-arch-x86_64-to-UnicCCompiler-ld_args.patch
            - 0010-Win32-distutils-Also-look-for-executable.bat.patch
            - 0011-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
            - 0012-Win32-Fixes-for-Windows-GCC-interop-needed-by-RPy2-a.patch
            - 0013-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch
            - 0014-Darwin-Look-in-sysroot-usr-lib-include-if-sysroot-is.patch
            - 0015-runtime_library_dir_option-Use-1st-word-of-CC-as-com.patch
            - 0016-Mark-sysconfigdata.py-as-utf-8.patch
            - 0017-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch
            - 0018-Fix-cross-compilation-on-Debian-based-distros.patch
            - 0019-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch
            - 0020-Unvendor-sqlite3.patch
            - 0022-macOS-Allow-SDK-dir-suffixes-e.g.-usr-include-into-t.patch
            - 0024-bpo-35907-Avoid-file-reading-as-disallowing-the-unne.patch
            - 0025-2.7-bpo-34155-Dont-parse-domains-containing-GH-13079.patch
        sha256: 01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5
        url: https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz
build:
    detect_binary_files_with_prefix: true
    ignore_run_exports:
        - bzip2
        - libgcc-ng
    no_link:
        - bin/python2.7
    number: '7'
    string: h9bab390_7
requirements:
    build:
        - _libgcc_mutex 0.1 main
        - binutils_impl_linux-64 2.31.1 h6176602_1
        - binutils_linux-64 2.31.1 h6176602_8
        - gcc_impl_linux-64 7.3.0 habb00fd_1
        - gcc_linux-64 7.3.0 h553295d_8
        - gxx_impl_linux-64 7.3.0 hdf63c60_1
        - gxx_linux-64 7.3.0 h553295d_8
        - libgcc-ng 9.1.0 hdf63c60_0
        - libstdcxx-ng 9.1.0 hdf63c60_0
        - libx11-common-cos6-x86_64 1.6.4 h023ea50_0
        - libx11-cos6-x86_64 1.6.4 h64a1553_0
        - libx11-devel-cos6-x86_64 1.6.4 hb9851ce_0
        - make 4.2.1 h1bed415_1
        - patch 2.7.6 h1bed415_0
        - pkg-config 0.29.2 h1bed415_8
        - xorg-x11-proto-devel-cos6-x86_64 7.7 h8d4a98b_0
    host:
        - _libgcc_mutex 0.1 main
        - bzip2 1.0.8 h7b6447c_0
        - ca-certificates 2019.8.28 0
        - libedit 3.1.20181209 hc058e9b_0
        - libffi 3.2.1 hd88cf55_4
        - libgcc-ng 9.1.0 hdf63c60_0
        - libstdcxx-ng 9.1.0 hdf63c60_0
        - ncurses 6.1 he6710b0_1
        - openssl 1.1.1d h7b6447c_1
        - readline 7.0 h7b6447c_5
        - sqlite 3.29.0 h7b6447c_0
        - tk 8.6.8 hbc83047_0
        - zlib 1.2.11 h7b6447c_3
    run:
        - ca-certificates
        - libffi >=3.2.1,<4.0a0
        - libgcc-ng >=7.3.0
        - libstdcxx-ng >=7.3.0
        - ncurses >=6.1,<7.0a0
        - openssl >=1.1.1d,<1.1.2a
        - readline >=7.0,<8.0a0
        - sqlite >=3.29.0,<4.0a0
        - tk >=8.6.8,<8.7.0a0
        - zlib >=1.2.11,<1.3.0a0
test:
    commands:
        - python -V
        - pydoc -h
        - python-config --help
        - export PATH=${CONDA_PREFIX}/${HOST}/sysroot/bin:${CONDA_PREFIX}/${HOST}/sysroot/usr/bin:${PATH}
        - export LD_LIBRARY_PATH=${CONDA_PREFIX}/lib:${CONDA_PREFIX}/${HOST}/sysroot/lib64:${CONDA_PREFIX}/${HOST}/sysroot/usr/lib:/usr/lib64:/usr/lib
        - export DISPLAY=localhost:1
        - bash -x xvfb-run python $PWD/tests.py
        - python -c "import sysconfig; print sysconfig.get_config_var('CC')"
        - _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu python
            -c "import sysconfig; print sysconfig.get_config_var('CC')"
        - python -c 'import ssl; print(ssl.get_default_verify_paths())' | grep ${CONDA_PREFIX}
    files:
        - tests.py
    requires:
        - xorg-x11-server-xvfb-cos6-x86_64
        - xorg-x11-xauth-cos6-x86_64
about:
    description: 'Python is a widely used high-level, general-purpose, interpreted,
        dynamic

        programming language. Its design philosophy emphasizes code

        readability, and its syntax allows programmers to express concepts in

        fewer lines of code than would be possible in languages such as C++ or

        Java. The language provides constructs intended to enable clear programs

        on both a small and large scale.

        '
    dev_url: https://docs.python.org/devguide/
    doc_source_url: https://github.com/python/pythondotorg/blob/master/docs/source/index.rst
    doc_url: https://www.python.org/doc/versions/
    home: http://www.python.org/
    license: PSF
    license_file: LICENSE
    summary: General purpose programming language
extra:
    copy_test_source_files: true
    final: true
    recipe-maintainers:
        - jakirkham
        - jjhelmus
        - mingwandroid
        - msarahan
        - pelson
