From 3bca5994a05fe967720b1d7927f2b7c7749d6543 Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Thu, 28 Aug 2025 19:36:56 +0800 Subject: [PATCH 1/7] Create meta.yaml --- recipes/cdst/meta.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 recipes/cdst/meta.yaml diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml new file mode 100644 index 0000000000000..957cd16d21db3 --- /dev/null +++ b/recipes/cdst/meta.yaml @@ -0,0 +1,46 @@ +{% set name = "cdst" %} +{% set version = "0.2.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/l1-mh/CDST/archive/refs/tags/v{{ version }}.tar.gz + sha256: 43572c9ee27fdf30c34d902aaa6219afc82742dda0d68cee2a314a8bbe0105c1 + +build: + noarch: python + script: python -m pip install . --no-deps --ignore-installed -vvv + +requirements: + host: + - python >=3.8 + - pip + run: + - python >=3.8 + - biopython ==1.85 + - pandas ==2.2.2 + - scipy ==1.13.1 + - scikit-learn ==1.5.1 + - networkx ==3.3 + - matplotlib >=3.9 + - joblib ==1.4.* + +test: + commands: + - cdst --help + +about: + home: https://github.com/l1-mh/CDST + license: GPL-3.0 + license_file: LICENSE + summary: "CoDing Sequence Typer (CDST): a decentralized, hash-based bacterial genome typing pipeline" + description: | + CDST is a fully decentralized MD5-hash–based framework that indexes predicted coding sequences (CDSs) + and computes pairwise genomic distances without locus annotation or a central database. + dev_url: https://github.com/l1-mh/CDST + +extra: + recipe-maintainers: + - l1-mh From b52c66fcef45cb5be2d33f18b1f2d40e6752233d Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Thu, 28 Aug 2025 19:45:07 +0800 Subject: [PATCH 2/7] Update meta.yaml --- recipes/cdst/meta.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml index 957cd16d21db3..d783402e6ca34 100644 --- a/recipes/cdst/meta.yaml +++ b/recipes/cdst/meta.yaml @@ -7,10 +7,13 @@ package: source: url: https://github.com/l1-mh/CDST/archive/refs/tags/v{{ version }}.tar.gz - sha256: 43572c9ee27fdf30c34d902aaa6219afc82742dda0d68cee2a314a8bbe0105c1 + sha256: build: noarch: python + number: 0 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} script: python -m pip install . --no-deps --ignore-installed -vvv requirements: @@ -24,7 +27,7 @@ requirements: - scipy ==1.13.1 - scikit-learn ==1.5.1 - networkx ==3.3 - - matplotlib >=3.9 + - matplotlib-base >=3.9 - joblib ==1.4.* test: @@ -37,10 +40,10 @@ about: license_file: LICENSE summary: "CoDing Sequence Typer (CDST): a decentralized, hash-based bacterial genome typing pipeline" description: | - CDST is a fully decentralized MD5-hash–based framework that indexes predicted coding sequences (CDSs) + CDST is a fully decentralized MD5-hash–based framework that indexes predicted coding sequences (CDSs) and computes pairwise genomic distances without locus annotation or a central database. dev_url: https://github.com/l1-mh/CDST extra: recipe-maintainers: - - l1-mh + - From bfc0e7dd68918090d25309a1fdb6136b7392fbb7 Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Thu, 28 Aug 2025 20:05:58 +0800 Subject: [PATCH 3/7] Update meta.yaml --- recipes/cdst/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml index d783402e6ca34..d3d77f13ee5eb 100644 --- a/recipes/cdst/meta.yaml +++ b/recipes/cdst/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://github.com/l1-mh/CDST/archive/refs/tags/v{{ version }}.tar.gz - sha256: + sha256: 43572c9ee27fdf30c34d902aaa6219afc82742dda0d68cee2a314a8bbe0105c1 build: noarch: python From 908a5e1b5bd33ec38a43eebbe7aeaa5ca7cd6d0b Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Thu, 28 Aug 2025 20:30:00 +0800 Subject: [PATCH 4/7] Update meta.yaml --- recipes/cdst/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml index d3d77f13ee5eb..de54a9de152c1 100644 --- a/recipes/cdst/meta.yaml +++ b/recipes/cdst/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://github.com/l1-mh/CDST/archive/refs/tags/v{{ version }}.tar.gz - sha256: 43572c9ee27fdf30c34d902aaa6219afc82742dda0d68cee2a314a8bbe0105c1 + sha256: 7147e4dae8e90d52fb79b03dd1131a730aedee06489f502638ab896f98da05df build: noarch: python From f512ca00ec4b915c789cb9b3fbabc53d1dcfbf0c Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Thu, 28 Aug 2025 21:02:08 +0800 Subject: [PATCH 5/7] Update meta.yaml --- recipes/cdst/meta.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml index de54a9de152c1..89ec8365242ce 100644 --- a/recipes/cdst/meta.yaml +++ b/recipes/cdst/meta.yaml @@ -14,12 +14,15 @@ build: number: 0 run_exports: - {{ pin_subpackage(name, max_pin="x.x") }} - script: python -m pip install . --no-deps --ignore-installed -vvv + # 关键:关闭构建隔离,使用 host 里的 setuptools/wheel + script: python -m pip install . --no-deps --no-build-isolation -vvv requirements: host: - python >=3.8 - pip + - setuptools >=61 + - wheel run: - python >=3.8 - biopython ==1.85 @@ -33,6 +36,8 @@ requirements: test: commands: - cdst --help + imports: + - cdst about: home: https://github.com/l1-mh/CDST From 86e867719c1a406c84c86a89bd657a256c0e0215 Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:43:07 +0800 Subject: [PATCH 6/7] Update meta.yaml --- recipes/cdst/meta.yaml | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml index 89ec8365242ce..75d7635f27250 100644 --- a/recipes/cdst/meta.yaml +++ b/recipes/cdst/meta.yaml @@ -1,53 +1,38 @@ {% set name = "cdst" %} -{% set version = "0.2.0" %} +{% set version = "0.2.1" %} package: name: {{ name|lower }} version: {{ version }} source: - url: https://github.com/l1-mh/CDST/archive/refs/tags/v{{ version }}.tar.gz - sha256: 7147e4dae8e90d52fb79b03dd1131a730aedee06489f502638ab896f98da05df + url: https://pypi.io/packages/source/c/cdst-genome/cdst-genome-{{ version }}.tar.gz + sha256: 5e6cd3827a54336679eba86be259de17ae9dfbba671e54ff60e9c257eb62271c build: noarch: python - number: 0 - run_exports: - - {{ pin_subpackage(name, max_pin="x.x") }} - # 关键:关闭构建隔离,使用 host 里的 setuptools/wheel - script: python -m pip install . --no-deps --no-build-isolation -vvv + script: {{ PYTHON }} -m pip install . -vv requirements: host: - - python >=3.8 + - python >=3.9 - pip - - setuptools >=61 - - wheel run: - - python >=3.8 - - biopython ==1.85 - - pandas ==2.2.2 - - scipy ==1.13.1 - - scikit-learn ==1.5.1 - - networkx ==3.3 - - matplotlib-base >=3.9 - - joblib ==1.4.* + - python >=3.9 + - biopython >=1.85 + - pandas >=2.2 + - networkx >=3.3 + - scipy >=1.13 test: commands: - cdst --help - imports: - - cdst about: home: https://github.com/l1-mh/CDST - license: GPL-3.0 + license: GPL-3.0-only license_file: LICENSE - summary: "CoDing Sequence Typer (CDST): a decentralized, hash-based bacterial genome typing pipeline" - description: | - CDST is a fully decentralized MD5-hash–based framework that indexes predicted coding sequences (CDSs) - and computes pairwise genomic distances without locus annotation or a central database. - dev_url: https://github.com/l1-mh/CDST + summary: "CoDing Sequence Typer (CDST): MD5 hash-based genome typing and clustering." extra: recipe-maintainers: From 5b1f07ff66aa4e6a116dd7735643ce242a1d0a55 Mon Sep 17 00:00:00 2001 From: Menghan Li <109520930+l1-mh@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:48:11 +0800 Subject: [PATCH 7/7] Update meta.yaml --- recipes/cdst/meta.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes/cdst/meta.yaml b/recipes/cdst/meta.yaml index 75d7635f27250..f5000a51b51d7 100644 --- a/recipes/cdst/meta.yaml +++ b/recipes/cdst/meta.yaml @@ -7,11 +7,14 @@ package: source: url: https://pypi.io/packages/source/c/cdst-genome/cdst-genome-{{ version }}.tar.gz - sha256: 5e6cd3827a54336679eba86be259de17ae9dfbba671e54ff60e9c257eb62271c + sha256: 5e6cd3827a54336679eba86be259de17ae9dfbba671e54ff60e9c257eb62271 build: noarch: python + number: 0 script: {{ PYTHON }} -m pip install . -vv + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} requirements: host: @@ -36,4 +39,4 @@ about: extra: recipe-maintainers: - - + - l1-mh