Skip to content

Commit 5da62c3

Browse files
committed
Adding pan3D and trame-vtklocal recipes for conda-forge
1 parent 4cbc6ef commit 5da62c3

File tree

2 files changed

+155
-0
lines changed

2 files changed

+155
-0
lines changed

recipes/pan3d/meta.yaml

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{% set name = "pan3d" %}
2+
{% set version = "0.14.1" %}
3+
4+
{% set vtk_version = "9.4.1" %}
5+
6+
# Based on platform, vtk 9.4.1 required different minimum python
7+
{% if linux %}
8+
{% set python_min = "3.13" %}
9+
{% elif osx %}
10+
{% set python_min = "3.12" %}
11+
{% else %}
12+
{% set python_min = "3.9" %}
13+
{% endif %}
14+
15+
package:
16+
name: {{ name|lower }}
17+
version: {{ version }}
18+
19+
source:
20+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pan3d-{{ version }}.tar.gz
21+
sha256: 0d7d4891e0a359e9fa84a141a8d88df490b9057b574555f9992e7c96ebe341e0
22+
23+
build:
24+
entry_points:
25+
- xr-viewer = pan3d.viewers.preview:main
26+
- xr-catalog = pan3d.viewers.catalog:main
27+
- xr-slicer = pan3d.explorers.slicer:main
28+
- xr-globe = pan3d.explorers.globe:main
29+
- xr-contour = pan3d.explorers.contour:main
30+
noarch: python
31+
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
32+
number: 0
33+
34+
requirements:
35+
host:
36+
- python {{ python_min }}
37+
- setuptools
38+
- wheel
39+
- pip
40+
run:
41+
- python >={{ python_min }}
42+
- vtk >={{ vtk_version }}
43+
- requests >=2.31
44+
- aiohttp
45+
- xarray >=2023.8
46+
# viewers/explorers
47+
- trame >=3.6
48+
- trame-vtk >=2.6
49+
# Removing the local rendering support for now as it requires special vtk build
50+
# trame-vtklocal
51+
- trame-vuetify >=2.4
52+
# esgf
53+
- intake-esgf >=2024.1
54+
# pangeo
55+
- intake 0.7.0 # latest has plugin errors
56+
- intake-xarray >=0.7
57+
- intake-esm >=2023.11
58+
- s3fs >=2024.2
59+
- gcsfs >=2024.2
60+
# xcdat
61+
- xcdat
62+
63+
test:
64+
imports:
65+
- dist
66+
- docker
67+
- docs
68+
- examples
69+
- pan3d
70+
commands:
71+
- pip check
72+
- xr-viewer --help
73+
- xr-catalog --help
74+
- xr-slicer --help
75+
- xr-globe --help
76+
- xr-contour --help
77+
requires:
78+
- python {{ python_min }}
79+
- pip
80+
81+
about:
82+
home: https://github.com/Kitware/pan3d
83+
summary: Utility package for processing and visualizing 3D datasets
84+
license: Apache-2.0
85+
license_file: LICENSE
86+
87+
extra:
88+
recipe-maintainers:
89+
- ayenpure
90+
- jourdain

recipes/trame-vtklocal/meta.yaml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{% set name = "trame-vtklocal" %}
2+
{% set version = "0.7.1" %}
3+
4+
{% set vtk_version = "9.4.1" %}
5+
6+
# Based on platform, vtk 9.4.1 required different minimum python
7+
{% if linux %}
8+
{% set python_min = "3.13" %}
9+
{% elif osx %}
10+
{% set python_min = "3.12" %}
11+
{% else %}
12+
{% set python_min = "3.9" %}
13+
{% endif %}
14+
15+
16+
package:
17+
name: {{ name|lower }}
18+
version: {{ version }}
19+
20+
source:
21+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/trame_vtklocal-{{ version }}.tar.gz
22+
sha256: 32adf39235d0c93f4b5cbc448fc0799f02c74a8ac21d275bf4aea82aec1f2552
23+
24+
build:
25+
noarch: python
26+
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
27+
number: 0
28+
29+
requirements:
30+
host:
31+
- python {{ python_min }}
32+
- setuptools
33+
- wheel
34+
- pip
35+
run:
36+
- python >={{ python_min }}
37+
- trame
38+
- vtk >={{ vtk_version }}
39+
40+
test:
41+
imports:
42+
- dist
43+
- examples
44+
- js-lib
45+
- trame
46+
- trame_vtklocal
47+
- utils
48+
- visual_baseline
49+
- vue-components
50+
commands:
51+
- pip check
52+
requires:
53+
- python {{ python_min }}
54+
- pip
55+
56+
about:
57+
home: https://github.com/Kitware/trame-vtklocal
58+
summary: VTK Local Rendering using WASM
59+
license: Apache-2.0
60+
license_file: LICENSE
61+
62+
extra:
63+
recipe-maintainers:
64+
- jourdain
65+
- ayenpure

0 commit comments

Comments
 (0)