conda/recipes/meta.yaml (35 lines of code) (raw):

# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. {% set name = "datafusion" %} {% set major_minor_patch = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').split('.') %} {% set new_patch = major_minor_patch[2] | int + 1 %} {% set version = (major_minor_patch[:2] + [new_patch]) | join('.') + environ.get('VERSION_SUFFIX', '') %} package: name: {{ name|lower }} version: {{ version }} source: git_url: ../.. build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - python >=3.7 - maturin >=0.15,<0.16 - libprotobuf =3 - pip run: - python >=3.7 - pyarrow >=11.0.0 test: imports: - datafusion commands: - pip check requires: - pip about: home: https://arrow.apache.org/datafusion license: Apache-2.0 license_family: APACHE license_file: LICENSE.txt summary: Apache Arrow DataFusion Python Bindings