From 372d9db9c84a082712005f482e2b929daca317cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Thu, 5 Dec 2024 16:12:52 +0100 Subject: [PATCH 1/5] Create meta.yaml for xrf --- recipes/xrf/meta.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 recipes/xrf/meta.yaml diff --git a/recipes/xrf/meta.yaml b/recipes/xrf/meta.yaml new file mode 100644 index 0000000000000..22c1edba3cf9f --- /dev/null +++ b/recipes/xrf/meta.yaml @@ -0,0 +1,49 @@ +{% set name = "xrf" %} +{% set version = "0.1.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/xrf-{{ version }}.tar.gz + sha256: 3d217219ba3f5c918b86f79d448f17f6d195ea9332a5612c269f6ffbd88c9869 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.8 + - setuptools >=61.0 + - wheel + - pip + run: + - python >=3.8 + - numpy + - pandas + - scikit-learn + - scipy + - joblib + +test: + imports: + - xrf + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/henrikbostrom/xrf + dev_url: https://github.com/henrikbostrom/xrf + doc_url: https://xrf.readthedocs.io/en/latest/ + summary: ExPLAINABLE rANDOM fORESTS (xrf) + license: BSD-3-Clause + license_file: LICENSE + +extra: + recipe-maintainers: + - henrikbostrom From 409dcb9a8faf1c649bd75d87ff4f3a8dddd63bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Thu, 5 Dec 2024 20:21:02 +0100 Subject: [PATCH 2/5] Update meta.yaml --- recipes/xrf/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/xrf/meta.yaml b/recipes/xrf/meta.yaml index 22c1edba3cf9f..5dafe354b3627 100644 --- a/recipes/xrf/meta.yaml +++ b/recipes/xrf/meta.yaml @@ -16,12 +16,12 @@ build: requirements: host: - - python >=3.8 + - python {{ 3.8 }} - setuptools >=61.0 - wheel - pip run: - - python >=3.8 + - python >={{ 3.8 }} - numpy - pandas - scikit-learn From 4990c777ebf95c45fd5e4f0125c8c883cd6c6e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Thu, 5 Dec 2024 20:45:16 +0100 Subject: [PATCH 3/5] Update recipes/xrf/meta.yaml Co-authored-by: Filipe --- recipes/xrf/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/xrf/meta.yaml b/recipes/xrf/meta.yaml index 5dafe354b3627..88d5bb25a01b5 100644 --- a/recipes/xrf/meta.yaml +++ b/recipes/xrf/meta.yaml @@ -16,7 +16,7 @@ build: requirements: host: - - python {{ 3.8 }} + - python {{ python_min }} - setuptools >=61.0 - wheel - pip From d98887dfc6c434122a03f28525ab33128cb7a6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Thu, 5 Dec 2024 20:45:27 +0100 Subject: [PATCH 4/5] Update recipes/xrf/meta.yaml Co-authored-by: Filipe --- recipes/xrf/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/xrf/meta.yaml b/recipes/xrf/meta.yaml index 88d5bb25a01b5..7c90722d5ad10 100644 --- a/recipes/xrf/meta.yaml +++ b/recipes/xrf/meta.yaml @@ -21,7 +21,7 @@ requirements: - wheel - pip run: - - python >={{ 3.8 }} + - python >={{ python_min }} - numpy - pandas - scikit-learn From 69486ca85b68a97855d88ab72930a631544df658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Thu, 5 Dec 2024 20:45:38 +0100 Subject: [PATCH 5/5] Update recipes/xrf/meta.yaml Co-authored-by: Filipe --- recipes/xrf/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/xrf/meta.yaml b/recipes/xrf/meta.yaml index 7c90722d5ad10..6b0bba0822451 100644 --- a/recipes/xrf/meta.yaml +++ b/recipes/xrf/meta.yaml @@ -34,6 +34,7 @@ test: commands: - pip check requires: + - python {{ python_min }} - pip about: