Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add intervalues #29110

Merged
merged 18 commits into from
Feb 14, 2025
Merged
55 changes: 55 additions & 0 deletions recipes/intervalues/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% set name = "intervalues" %}
{% set python_min = '3.10' %}
{% set version = "0.3.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 551b4c2fea5e7e9c893a6df846756fe5d173fe900492c04034df12e48b837471

build:
number: 0
script:
- {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation --disable-pip-version-check
- cd rust && cargo-bundle-licenses --format yaml --output ../THIRDPARTY.yml

requirements:
build:
- {{ compiler("rust") }}
- {{ stdlib("c") }}
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- crossenv # [build_platform != target_platform]
- cargo-bundle-licenses
host:
- python >={{ python_min }},<4.0.0
- setuptools >=61.0
- setuptools-rust
- pip
run:
- python >={{ python_min }},<4.0.0
- libgcc # [linux]

test:
imports:
- intervalues
commands:
- pip check
requires:
- pip

about:
home: https://gitlab.com/bert.debruijn/intervalues
dev_url: https://gitlab.com/bert.debruijn/intervalues
summary: Efficient combining of intervals of numbers.
license: MIT
license_file:
- LICENSE
- THIRDPARTY.yml

extra:
recipe-maintainers:
- apcamargo