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

Adding numpy_quaddtype package #27913

Merged
merged 26 commits into from
Oct 19, 2024
Merged
Changes from 15 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions recipes/numpy_quaddtype/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{% set name = "numpy_quaddtype" %}
{% set version = "0.0.4" %}

package:
name: {{ name }}
version: {{ version }}

source:
url: https://github.com/SwayamInSync/numpy-user-dtypes/archive/refs/tags/quaddtype-v{{ version }}.tar.gz
sha256: a400f35cf980965486f9dd00c9d2289e877a4bd09a848f49b82de23e1855beea

build:
number: 0
SwayamInSync marked this conversation as resolved.
Show resolved Hide resolved
skip: True # [py<310,py>=313]
SwayamInSync marked this conversation as resolved.
Show resolved Hide resolved
script: |
cd quaddtype
{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- python
- pip
- meson
- meson-python
- setuptools
- sleef ==3.6.1
- numpy >=2.0
host:
- python
- pip
- setuptools
- meson
- meson-python
- sleef ==3.6.1
- numpy >=2.0
run:
- python
- {{ pin_compatible('sleef') }}
- numpy

test:
imports:
- numpy_quaddtype
requires:
- pytest
source_files:
- quaddtype/tests
commands:
- pytest quaddtype/tests

about:
home: https://github.com/numpy/numpy-user-dtypes
summary: "Quad (128-bit) float dtype for numpy"
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- SwayamInSync