package:
    name: dpctl
    version: {{ GIT_DESCRIBE_TAG }}

source:
    path: ..

build:
    number: {{ GIT_DESCRIBE_NUMBER }}
    script_env:
        - WHEELS_OUTPUT_FOLDER

requirements:
    build:
        - {{ compiler('cxx') }}
        - {{ compiler('dpcpp') }} >=2023.1  # [not osx]
        - sysroot_linux-64 >=2.28  # [linux]
    host:
        - setuptools
        - cmake  >=3.21
        - ninja
        - git
        - cython  <3
        - python
        - scikit-build
        - numpy
        - wheel
    run:
        - python
        - {{ pin_compatible('numpy', min_pin='x.x', max_pin='x') }}
        - {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x', max_pin='x') }}  # [py<=39]
        - dpcpp-cpp-rt >=2023.1  # [py>39]
        - level-zero  # [linux]

test:
    requires:
        - cython
        - setuptools
        - pytest
        - pytest-cov

about:
    home: https://github.com/IntelPython/dpctl.git
    license: Apache-2.0
    license_file: LICENSE
    summary: 'A lightweight Python wrapper for a subset of SYCL API.'
    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://opensource.org/licenses/Apache-2.0" target="_blank">Apache-2.0</a>
        <br/><br/>

extra:
    recipe-maintainers:
        - diptorup deb
        - PokhodenkoSA
