From ec03bd6bc8fabedd1dcacade32c890f1e2b40869 Mon Sep 17 00:00:00 2001 From: Russell Neches Date: Mon, 23 Dec 2024 17:33:24 +0900 Subject: [PATCH 1/5] conda recipe for SuchTree --- recipes/suchtree/meta.yaml | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 recipes/suchtree/meta.yaml diff --git a/recipes/suchtree/meta.yaml b/recipes/suchtree/meta.yaml new file mode 100644 index 0000000000000..db8a4e0f35469 --- /dev/null +++ b/recipes/suchtree/meta.yaml @@ -0,0 +1,56 @@ +{% set name = "SuchTree" %} +{% set version = "1.2" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: "https://files.pythonhosted.org/packages/db/f0/75245602f31f80d18a7ffd4b4739e2eb442e46801c1c0ea430c0f002f2e7/suchtree-1.2.tar.gz" + sha256: c45af37beb1a210097151b807ccde9966c72a3cfa99ecfe80251bcc0a14f1f60 + +build: + number: 0 + dependencies: + - cython + - scipy + - numpy >=2.0 + script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation" + +requirements: + build: + - cython + - scipy + - numpy >=2.0 + host: + - pip + - python + - cython + - scipy + - numpy >=2.0 + run: + - python + - dendropy + - pandas >2.1 + - numpy >=2.0 + - scipy + +test: + imports: + - SuchTree + +about: + home: The package home page + license: BSD + license_family: BSD + license_file: LICENSE + summary: "A python library for doing fast, thread-safe computations on phylogenetic trees" + doc_url: https://github.com/ryneches/SuchTree/blob/master/README.md + dev_url: https://github.com/ryneches/SuchTree/ + +extra: + identifiers: + - biotools:suchtree + - doi:10.21105/joss.00678 + recipe-maintainers: + - ryneches From bfe73ccf57766d227832335ba6160ce4a750f8c1 Mon Sep 17 00:00:00 2001 From: Russell Neches Date: Mon, 23 Dec 2024 18:11:21 +0900 Subject: [PATCH 2/5] update recipe for SuchTree --- recipes/suchtree/meta.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/recipes/suchtree/meta.yaml b/recipes/suchtree/meta.yaml index db8a4e0f35469..c05e5aff24d3a 100644 --- a/recipes/suchtree/meta.yaml +++ b/recipes/suchtree/meta.yaml @@ -15,23 +15,27 @@ build: - cython - scipy - numpy >=2.0 + run_exports: + - {{ pin_subpackage( "suchtree", max_pin="x.x" ) }} script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation" requirements: build: + - {{ compiler('c') }} - cython - scipy - numpy >=2.0 host: - - pip - - python - cython + - python + - pip + - setuptools - scipy - numpy >=2.0 run: - python - dendropy - - pandas >2.1 + - pandas >=2.1 - numpy >=2.0 - scipy From b2b541e9f28da33021c834026aa6876770394fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Mon, 23 Dec 2024 10:49:49 +0100 Subject: [PATCH 3/5] Update recipes/suchtree/meta.yaml --- recipes/suchtree/meta.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recipes/suchtree/meta.yaml b/recipes/suchtree/meta.yaml index c05e5aff24d3a..91a3cc55a848b 100644 --- a/recipes/suchtree/meta.yaml +++ b/recipes/suchtree/meta.yaml @@ -11,10 +11,6 @@ source: build: number: 0 - dependencies: - - cython - - scipy - - numpy >=2.0 run_exports: - {{ pin_subpackage( "suchtree", max_pin="x.x" ) }} script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation" From 13771c60f4af9e153a5d19fb3a274595943bf453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Mon, 23 Dec 2024 10:49:56 +0100 Subject: [PATCH 4/5] Update recipes/suchtree/meta.yaml --- recipes/suchtree/meta.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes/suchtree/meta.yaml b/recipes/suchtree/meta.yaml index 91a3cc55a848b..9132a8e6b800e 100644 --- a/recipes/suchtree/meta.yaml +++ b/recipes/suchtree/meta.yaml @@ -18,9 +18,6 @@ build: requirements: build: - {{ compiler('c') }} - - cython - - scipy - - numpy >=2.0 host: - cython - python From 754e9eed68fbecb8a65868043a145e6fc8d5a04b Mon Sep 17 00:00:00 2001 From: Russell Neches Date: Tue, 24 Dec 2024 12:01:58 +0900 Subject: [PATCH 5/5] fix home URL, use jinja template for source URL --- recipes/suchtree/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/suchtree/meta.yaml b/recipes/suchtree/meta.yaml index 9132a8e6b800e..5117ea5130e7e 100644 --- a/recipes/suchtree/meta.yaml +++ b/recipes/suchtree/meta.yaml @@ -6,7 +6,7 @@ package: version: "{{ version }}" source: - url: "https://files.pythonhosted.org/packages/db/f0/75245602f31f80d18a7ffd4b4739e2eb442e46801c1c0ea430c0f002f2e7/suchtree-1.2.tar.gz" + url: "https://pypi.io/packages/source/{{ name[0]|lower }}/{{ name }}/{{ name|lower }}-{{ version }}.tar.gz" sha256: c45af37beb1a210097151b807ccde9966c72a3cfa99ecfe80251bcc0a14f1f60 build: @@ -37,7 +37,7 @@ test: - SuchTree about: - home: The package home page + home: https://github.com/ryneches/SuchTree/ license: BSD license_family: BSD license_file: LICENSE