From dc82ebb0fddeaba82bb2f214705c9ad7489c0283 Mon Sep 17 00:00:00 2001 From: Henri Drake Date: Fri, 20 Feb 2026 20:43:20 -0800 Subject: [PATCH 1/3] Add conda recipe --- conda/meta.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 conda/meta.yaml diff --git a/conda/meta.yaml b/conda/meta.yaml new file mode 100644 index 0000000..53151ee --- /dev/null +++ b/conda/meta.yaml @@ -0,0 +1,49 @@ +{% set name = "regionate" %} +{% set version = "0.5.4" %} +{% set python_min = "3.11" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/r/regionate/regionate-{{ version }}.tar.gz + sha256: 42b33b9a9a83fb23b737e39dd2ac40993f939bf84eb25ecb4e0a7eab6e0780be + +build: + noarch: python + number: 0 + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + host: + - python {{ python_min }} + - pip + - hatchling + run: + - python >={{ python_min }} + - proj + - pyproj + - geopands + - regionmask + - contourpy + - sectionate >=0.3.3 + +test: + requires: + - python {{ python_min }} + - pip + imports: + - sectionate + commands: + - pip check + +about: + home: https://github.com/hdrake/regionate + summary: A package for creating xgcm-grid consistent regional masks and boundaries + license: GPL-3.0-only + license_file: LICENSE + +extra: + recipe-maintainers: + - hdrake From 742976b1bf35f50fe3da4050bcf6fc7a9c8384c7 Mon Sep 17 00:00:00 2001 From: Henri Drake Date: Fri, 20 Feb 2026 20:58:56 -0800 Subject: [PATCH 2/3] Fixed geopandas typo --- conda/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 53151ee..871ec8a 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -24,7 +24,7 @@ requirements: - python >={{ python_min }} - proj - pyproj - - geopands + - geopandas - regionmask - contourpy - sectionate >=0.3.3 From 47e9a791a5f23478b1970855167d369ddf94eb14 Mon Sep 17 00:00:00 2001 From: Henri Drake Date: Sat, 21 Feb 2026 13:33:05 -0800 Subject: [PATCH 3/3] Remove proj from deps and bump version --- conda/meta.yaml | 5 ++--- pyproject.toml | 1 - regionate/version.py | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 871ec8a..cb953ad 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,5 +1,5 @@ {% set name = "regionate" %} -{% set version = "0.5.4" %} +{% set version = "0.5.5" %} {% set python_min = "3.11" %} package: @@ -22,7 +22,6 @@ requirements: - hatchling run: - python >={{ python_min }} - - proj - pyproj - geopandas - regionmask @@ -34,7 +33,7 @@ test: - python {{ python_min }} - pip imports: - - sectionate + - regionate commands: - pip check diff --git a/pyproject.toml b/pyproject.toml index a8f4dc0..c54eb67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "proj", "pyproj", "geopandas", "regionmask", diff --git a/regionate/version.py b/regionate/version.py index dd7e4aa..6125cbd 100644 --- a/regionate/version.py +++ b/regionate/version.py @@ -1,3 +1,3 @@ """regionate: version information""" -__version__ = "0.5.4" +__version__ = "0.5.5"