Skip to content

Commit 940b5b1

Browse files
authored
Merge pull request #18775 from rcaneill/gsw-xarray
Adding gsw-xarray
2 parents 5b95f17 + 7655ba4 commit 940b5b1

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

recipes/gsw-xarray/meta.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{% set name = "gsw-xarray" %}
2+
{% set version = "0.2.1" %}
3+
4+
package:
5+
name: {{ name|lower }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/gsw-xarray-{{ version }}.tar.gz
10+
sha256: 867cd4b3bbcd18cfcb11caf7778ce6beb98f26e7a6ec459740bde8dea85b6f56
11+
12+
build:
13+
noarch: python
14+
script: {{ PYTHON }} -m pip install . -vv --use-deprecated=out-of-tree-build
15+
number: 0
16+
17+
requirements:
18+
host:
19+
- pip
20+
- poetry-core
21+
- python >=3.8
22+
run:
23+
- gsw >=3.4.0
24+
- python >=3.8
25+
- xarray >=0.20.2
26+
27+
test:
28+
imports:
29+
- gsw_xarray
30+
commands:
31+
- pip check
32+
requires:
33+
- pip
34+
35+
about:
36+
home: https://github.com/DocOtak/gsw-xarray
37+
summary: Drop in wrapper for gsw which adds CF standard name and units attributes to xarray results
38+
license: BSD-3-Clause
39+
license_file: LICENSE.rst
40+
41+
extra:
42+
recipe-maintainers:
43+
- rcaneill
44+
- DocOtak

0 commit comments

Comments
 (0)