# This file created by conda-build 3.18.11
# meta.yaml template originally from:
# Origin b'https://github.com/intel-innersource/libraries.python.intel.condarecipes.python-37-recipe.git', commit b'0a4ed64ebabd2ca17afc72fa70bed9384bc8960f'
# ------------------------------------------------

package:
    name: python
    version: 3.7.13
source:
    -   patches:
            - intel_recipe/intel_cprt.patch
            - intel_recipe/intel_decouple_bzip2.patch
            - intel_recipe/intel_decouple_tcltk.patch
            - intel_recipe/intel_distutil_build.patch
            - intel_recipe/intel_remove_wininst.patch
            - intel_recipe/intel_version.patch
            - patches/0001-Fix-off-by-one-error-in-_winapi_WaitForMultipleObjec.patch
            - patches/0003-Add-Anaconda-Distribution-version-logic.patch
            - patches/0004-Darwin-Add-arch-x86_64-to-UnicCCompiler-ld_args.patch
            - patches/0005-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
            - patches/0006-Win32-distutils-Add-support-to-cygwinccompiler-for-V.patch
            - patches/0007-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch
            - patches/0008-Support-cross-compiling-byte-code.patch
            - patches/0009-Win32-Fixes-for-Windows-GCC-interop-needed-by-RPy2-a.patch
            - patches/0010-Darwin-Look-in-sysroot-usr-lib-include-if-sysroot-is.patch
            - patches/0011-runtime_library_dir_option-Use-1st-word-of-CC-as-com.patch
            - patches/0012-Win32-Do-not-download-externals.patch
            - patches/0013-Add-support-for-_CONDA_PYTHON_SYSCONFIGDATA_NAME-if-.patch
            - patches/0014-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch
            - patches/0015-Disable-new-dtags-in-unixccompiler.py.patch
            - patches/0016-Fix-cross-compilation-on-Debian-based-distros.patch
            - patches/0017-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch
            - patches/0018-Unvendor-openssl.patch
            - patches/0019-Unvendor-sqlite3.patch
            - patches/0020-venv-Revert-a-change-from-https-github.com-python-cp.patch
            - patches/0021-Add-CondaEcosystemModifyDllSearchPath.patch
            - patches/0022-Use-ranlib-from-env-if-env-variable-is-set.patch
            - patches/CVE-2015-20107.patch
            - patches/CVE-2018-25032.patch
            - patches/CVE-2021-28861.patch
            - patches/CVE-2022-40674.patch
        sha256: 99f106275df8899c3e8cb9d7c01ce686c202ef275953301427194693de5bef84
        url: https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tar.xz
    -   folder: tk8.6.10
        sha256: 63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386
        url: https://downloads.sourceforge.net/tcl/tk8.6.10-src.tar.gz
    -   folder: externals/xz-5.2.2
        sha256: 02b6d6f1e0369940e7e1f0d324992e069d09f5f3d32d86e2d22cd8b82ac3fb3f
        url: https://github.com/python/cpython-source-deps/archive/xz-5.2.2.zip
    -   folder: externals/tcl-core-8.6.9.0
        sha256: ea9e724536ec13b476ebbd47948303b92fdd90a33aa94f30fcc2f5c3a899f69e
        url: https://github.com/python/cpython-source-deps/archive/tcl-core-8.6.9.0.zip
    -   folder: externals/tk-8.6.9.0
        sha256: f3112b6bbc3bd163c877030187e73ce9a113ce03eff559ec5b9df697e3a08fad
        url: https://github.com/python/cpython-source-deps/archive/tk-8.6.9.0.zip
    -   folder: externals/tcltk-8.6.9.0
        sha256: 37cd629a75d2a34974a3d771ccab5c9e3caf3d138cea81040f9cdba1aded1cf2
        url: https://github.com/python/cpython-bin-deps/archive/tcltk-8.6.9.0.zip
    -   folder: externals/tix-8.4.3.6
        sha256: e558e3dc5e67ac0942f8fceafce00ca46b177da9ebeaf38ec7fafd9b9913ac56
        url: https://github.com/python/cpython-source-deps/archive/tix-8.4.3.6.zip
    -   folder: externals/zlib-1.2.12
        patches:
            - patches/CVE-2022-37434.patch
        sha256: 92197502951ac8414ece9f2d9fa2cc010c51d610e6b2ed9833ba4a35d65f222b
        url: https://github.com/python/cpython-source-deps/archive/zlib-1.2.12.zip
    -   folder: externals/nasm-2.11.06
        sha256: de3c87b26a80e789986d8e6950c6304175d3829afe9c6c7211eb7257266ab0ac
        url: https://github.com/python/cpython-bin-deps/archive/nasm-2.11.06.zip
build:
    detect_binary_files_with_prefix: false
    missing_dso_whitelist:
        - '**/MSVCR71.dll'
        - '**/MSVCR80.dll'
    no_link:
        - DLLs/_ctypes.pyd
    number: '12'
    script_env:
        - OPENSSL_DIR=%PREFIX%\Library
        - SQLITE3_DIR=%PREFIX%\Library
    string: hc090bed_12
    track_features:
        - vc14
requirements:
    build:
        - m2-gcc-libs 5.3.0 4
        - m2-msys2-runtime 2.5.0.17080.65c939c 3
        - m2-patch 2.7.5 2
        - msys2-conda-epoch 20160418 1
        - vs2017_win-64 19.16.27032.1 hb4161e2_3
        - vswhere 2.8.4 haa95532_0
    host:
        - bzip2 1.0.8 vc14h53ad9d4_9
        - ca-certificates 2022.07.19 haa95532_0
        - intelpython 2022.2.0 0
        - openssl 1.1.1q h2bbff1b_0
        - sqlite 3.39.2 h2bbff1b_0
        - tk 8.6.12 h2bbff1b_0
        - vc 14.2 h21ff451_1
        - vs2015_runtime 14.27.29016 h5e58377_2
        - xz 5.2.5 h8cc25b3_1
        - zlib 1.2.12 h8cc25b3_3
    run:
        - bzip2 >=1.0.8,<2.0a0
        - openssl >=1.1.1q,<1.1.2a
        - sqlite 3.39.2.*
        - sqlite >=3.39.2,<4.0a0
        - tk >=8.6.12,<8.7.0a0
        - vc 14.2.*
        - vc >=14.1,<15.0a0
        - vs2015_runtime >=14.16.27012,<15.0a0
        - xz 5.2.5.*
        - xz >=5.2.5,<6.0a0
        - zlib >=1.2.12,<1.3.0a0
test:
    commands:
        - python -V
        - python -V | grep -q "Intel Corporation"
        - 2to3 -h
        - pydoc -h
        - python -c "import sysconfig; print(sysconfig.get_config_var('CC'))"
        - python -m venv %%TEMP%%\venv
about:
    description: '<strong>LEGAL NOTICE: Use of this software package is subject to
        the

        software license agreement (as set forth above, in the license section of

        the installed Conda package and/or the README file) and all notices,

        disclaimers or license terms for third party or open source software

        included in or with the software.</strong>

        <br/><br/>

        EULA: <a href="https://docs.python.org/3/license.html" target="_blank">PSF</a>

        <br/><br/>

        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
