From 4dbfa7a842d6d1e2ab0515d451369e8aa936f4e5 Mon Sep 17 00:00:00 2001 From: gbfree Date: Wed, 22 Jan 2025 16:53:46 +0100 Subject: [PATCH 1/3] Add pixcdust meta.yaml --- recipes/pixcdust/meta.yaml | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 recipes/pixcdust/meta.yaml diff --git a/recipes/pixcdust/meta.yaml b/recipes/pixcdust/meta.yaml new file mode 100644 index 0000000000000..5e9508f2ca230 --- /dev/null +++ b/recipes/pixcdust/meta.yaml @@ -0,0 +1,62 @@ +{% set name = "pixcdust" %} +{% set version = "0.1.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pixcdust-{{ version }}.tar.gz + sha256: 75199f9811a198e46c2cb2590e857ea225da8f4ee8430a7568c58899934636b5 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.10 + - poetry-core + - pip + run: + - python >=3.10.0 + - numpy >=1.26.4 + - fiona >=1.9.5 + - pandas >=2.2.0 + - geopandas >=0.14.3 + - h3-py >=3.7.6 + - xarray >=2024.2.0 + - shapely >=2.0.3 + - black >=24.2.0 + - flake8 >=7.0.0 + - click >=8.1.7 + - zcollection >=2024.2.0 + - netcdf4 >=1.6.5 + - tqdm >=4.66.4 + - pyogrio >=0.8.0 + - pyarrow >=16.1.0 + - eodag >=2.12.1 + - folium >=0.16.0 + - branca >=0.7.2 + - xvec >=0.3.0 + +test: + imports: + - pixcdust + commands: + - pip check + requires: + - pip + +about: + summary: 'Tools and converters to facilitate local studies based on SWOT-HR Level-2 Pixel Cloud products.' + license: Apache-2.0 + license_file: LICENSE.md + dev_url: https://github.com/SWOT-community/PixCDust + +extra: + recipe-maintainers: + - gbfree + - zawadzl + From 5e69b5f9867f79f0ee0cc3bd6faa41d79032e81d Mon Sep 17 00:00:00 2001 From: gbfree Date: Wed, 22 Jan 2025 18:11:19 +0100 Subject: [PATCH 2/3] Fix pixcdust meta.yaml --- recipes/pixcdust/meta.yaml | 48 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/recipes/pixcdust/meta.yaml b/recipes/pixcdust/meta.yaml index 5e9508f2ca230..af8f24ca11b34 100644 --- a/recipes/pixcdust/meta.yaml +++ b/recipes/pixcdust/meta.yaml @@ -1,5 +1,6 @@ {% set name = "pixcdust" %} {% set version = "0.1.0" %} +{% set python_min = "3.10" %} package: name: {{ name|lower }} @@ -16,30 +17,31 @@ build: requirements: host: - - python >=3.10 + - python >={{ python_min }} - poetry-core - pip run: - - python >=3.10.0 - - numpy >=1.26.4 - - fiona >=1.9.5 - - pandas >=2.2.0 - - geopandas >=0.14.3 - - h3-py >=3.7.6 - - xarray >=2024.2.0 - - shapely >=2.0.3 - - black >=24.2.0 - - flake8 >=7.0.0 - - click >=8.1.7 - - zcollection >=2024.2.0 - - netcdf4 >=1.6.5 - - tqdm >=4.66.4 - - pyogrio >=0.8.0 - - pyarrow >=16.1.0 - - eodag >=2.12.1 - - folium >=0.16.0 - - branca >=0.7.2 - - xvec >=0.3.0 + - python >={{ python_min }} + - numpy >=1.26.4,<2.0.0 + - fiona >=1.9.5,<2.0.0 + - pandas >=2.2.0,<3.0.0 + - geopandas >=0.14.3,<0.15.0 + - h3-py >=3.7.6,<4.0.0 + - xarray >=2024.2.0,<2025.0.0 + - shapely >=2.0.3,<3.0.0 + - black >=24.2.0,<25.0.0 + - flake8 >=7.0.0,<8.0.0 + - click >=8.1.7,<9.0.0 + - zcollection >=2024.2.0,<2025.0.0 + - netcdf4 >=1.6.5,<2.0.0 + - tqdm >=4.66.4,<5.0.0 + - pyogrio >=0.8.0,<0.9.0 + - pyarrow >=16.1.0,<17.0.0 + - eodag >=2.12.1,<3.0.0 + - folium >=0.16.0,<0.17.0 + - branca >=0.7.2,<0.8.0 + - xvec >=0.3.0,<0.4.0 + test: imports: @@ -50,13 +52,11 @@ test: - pip about: + home: https://github.com/SWOT-community/PixCDust summary: 'Tools and converters to facilitate local studies based on SWOT-HR Level-2 Pixel Cloud products.' license: Apache-2.0 license_file: LICENSE.md - dev_url: https://github.com/SWOT-community/PixCDust extra: recipe-maintainers: - gbfree - - zawadzl - From 2d82de91a54ecafffca77a3a4bfb07fb8a8f1f1e Mon Sep 17 00:00:00 2001 From: Guillaume Beauchamp Date: Tue, 11 Feb 2025 21:39:25 +0100 Subject: [PATCH 3/3] Fix pixcdust python_min --- recipes/pixcdust/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/pixcdust/meta.yaml b/recipes/pixcdust/meta.yaml index af8f24ca11b34..f018602e554bb 100644 --- a/recipes/pixcdust/meta.yaml +++ b/recipes/pixcdust/meta.yaml @@ -17,7 +17,7 @@ build: requirements: host: - - python >={{ python_min }} + - python {{ python_min }} - poetry-core - pip run: @@ -49,6 +49,7 @@ test: commands: - pip check requires: + - python {{ python_min }} - pip about: