{% set on_win = SUBDIR in ('win-64', 'win-32') %} {% set name = "conda" %} {% set version = "23.1.0" %} {% set sha256 = "ba417f2e77806be36ab99a7640262b263a2dc809398d9403ea5f6f8f14dcc1a8" %} # Running pytest requires the inclusion of test files which baloons # the size of the package; values can be "yes" or "no" {% set run_pytest = "no" %} package: name: conda version: {{ version }} source: fn: conda-{{ version }}.tar.gz url: https://github.com/conda/{{ name }}/archive/{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 # These are present when the new environment is created # so we have to exempt them from the list of initial files # for conda-build to realize they should be included. always_include_files: - bin/conda # [unix] - bin/activate # [unix] - bin/deactivate # [unix] - Scripts/activate.bat # [win] - Scripts/activate # [win] - Scripts/deactivate # [win] requirements: build: - python # [build_platform != target_platform] - cross-python_{{ target_platform }} # [build_platform != target_platform] - m2-filesystem # [win] - m2-bash # [win] - m2-base # [win] host: - python - conda-package-handling >=1.3.0 - menuinst >=1.4.11,<2 # [win] - pip - ruamel.yaml >=0.11.14,<0.18 - setuptools >=31.0.1 - toolz >=0.8.1 - pluggy >=1.0.0 - tqdm >=4 run: - python - conda-package-handling >=1.3.0 - menuinst >=1.4.11,<2 # [win] - pycosat >=0.6.3 - pyopenssl >=16.2.0 - requests >=2.20.1,<3 - ruamel.yaml >=0.11.14,<0.18 - setuptools >=31.0.1 - toolz >=0.8.1 - pluggy >=1.0.0 - tqdm >=4 run_constrained: - conda-build >=3 - conda-content-trust >=0.1.1 - conda-env >=2.6 - cytoolz >=0.8.1 - conda-libmamba-solver >=22.12.0 test: {% if run_pytest == 'yes' %} source_files: - tests - setup.cfg {% endif %} requires: - mock {% if run_pytest == 'yes' %} - pytest {% endif %} - pexpect - responses - m2-filesystem # [win] - m2-bash # [win] - m2-base # [win] imports: - conda - conda_env files: - test_runner.bat # [win] - test_runner.sh # [unix] - commands_to_test.bat # [win] - commands_to_test.sh # [unix] downstreams: - conda-smithy # [python_impl == "cpython" and py<311] commands: - env run_pytest={{ run_pytest }} bash test_runner.sh # [unix] - set run_pytest={{ run_pytest }} && .\test_runner.bat # [win] about: home: https://conda.io license: BSD-3-Clause license_file: LICENSE.txt summary: OS-agnostic, system-level binary package and environment manager. description: > Conda is an open source package management system and environment management system for installing multiple versions of software packages and their dependencies and switching easily between them. It works on Linux, OS X and Windows, and was created for Python programs but can package and distribute any software. doc_url: https://docs.conda.io/projects/conda/en/stable/ dev_url: https://github.com/conda/conda extra: recipe-maintainers: - isuruf - jakirkham - kalefranz - mingwandroid - msarahan - mwcraig - ocefpaf - patricksnape - pelson - scopatz - mbargull - jezdez