From 97474d497ba9ea17484bd700c10a1e02aa8c83e3 Mon Sep 17 00:00:00 2001 From: Max Schubach Date: Fri, 11 Oct 2024 11:27:21 +0200 Subject: [PATCH 1/7] init o seqspec --- recipes/seqspec/meta.yaml | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 recipes/seqspec/meta.yaml diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml new file mode 100644 index 0000000000000..4dc0a48e295d7 --- /dev/null +++ b/recipes/seqspec/meta.yaml @@ -0,0 +1,48 @@ +{% set name = "seqspec" %} +{% set version = "0.3.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/seqspec-{{ version }}.tar.gz + sha256: d9e6c283daaca06f58f1090c0c7dcfecf646b9658e62aa873a4e85fef56c56c9 + +build: + entry_points: + - seqspec=seqspec.main:main + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.6 + - pip + run: + - python >=3.6 + - pyyaml >=6.0 + - jsonschema + - newick + - requests + - biopython + - packaging + +test: + imports: + - seqspec + commands: + - pip check + - seqspec --help + requires: + - pip + +about: + home: https://github.com/sbooeshaghi/seqspec + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - visze From 1cc7ba7c9031d23807ba601845b95bf4041d7019 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 11 Oct 2024 11:42:34 +0200 Subject: [PATCH 2/7] add run_exports --- recipes/seqspec/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml index 4dc0a48e295d7..a99b91e80b82d 100644 --- a/recipes/seqspec/meta.yaml +++ b/recipes/seqspec/meta.yaml @@ -10,6 +10,8 @@ source: sha256: d9e6c283daaca06f58f1090c0c7dcfecf646b9658e62aa873a4e85fef56c56c9 build: + run_exports: + - {{ pin_subpackage('seqspec', max_pin="x.x") }} entry_points: - seqspec=seqspec.main:main noarch: python From 6b0fc06aed62c35de19eb418c36aa8fd3f86afb3 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 11 Oct 2024 11:56:02 +0200 Subject: [PATCH 3/7] add summary --- recipes/seqspec/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml index a99b91e80b82d..5d0f2981b0627 100644 --- a/recipes/seqspec/meta.yaml +++ b/recipes/seqspec/meta.yaml @@ -42,6 +42,7 @@ test: about: home: https://github.com/sbooeshaghi/seqspec + summary: File format that describes data generated from genomics experiments. File format and seqspec tool enable uniform processing of genomics data. license: MIT license_file: LICENSE From 10b1bc7a9ed1f1f6627e9960b86303acd465aa99 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 14 Oct 2024 10:23:06 +0200 Subject: [PATCH 4/7] fix: use python-newick --- recipes/seqspec/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml index 5d0f2981b0627..464cd47dc0c54 100644 --- a/recipes/seqspec/meta.yaml +++ b/recipes/seqspec/meta.yaml @@ -26,7 +26,7 @@ requirements: - python >=3.6 - pyyaml >=6.0 - jsonschema - - newick + - python-newick - requests - biopython - packaging From 26b841d26fdb382b89767970a3d6d55c2306e58e Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 14 Oct 2024 11:37:11 +0200 Subject: [PATCH 5/7] adding setuptools --- recipes/seqspec/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml index 464cd47dc0c54..9795f4d051d6b 100644 --- a/recipes/seqspec/meta.yaml +++ b/recipes/seqspec/meta.yaml @@ -25,6 +25,7 @@ requirements: run: - python >=3.6 - pyyaml >=6.0 + - setuptools - jsonschema - python-newick - requests From 6666d5a485541b4a7a66929b254302cfcaffbe45 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 14 Oct 2024 11:45:33 +0200 Subject: [PATCH 6/7] Update meta.yaml --- recipes/seqspec/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml index 9795f4d051d6b..13b0c9a4f64ad 100644 --- a/recipes/seqspec/meta.yaml +++ b/recipes/seqspec/meta.yaml @@ -22,10 +22,10 @@ requirements: host: - python >=3.6 - pip + - setuptools run: - python >=3.6 - pyyaml >=6.0 - - setuptools - jsonschema - python-newick - requests From 79949b8be33e6200b5bd3b40ace295bf13a16964 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 14 Oct 2024 12:42:58 +0200 Subject: [PATCH 7/7] Update meta.yaml --- recipes/seqspec/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/seqspec/meta.yaml b/recipes/seqspec/meta.yaml index 13b0c9a4f64ad..c4a928dfcb61f 100644 --- a/recipes/seqspec/meta.yaml +++ b/recipes/seqspec/meta.yaml @@ -37,7 +37,7 @@ test: - seqspec commands: - pip check - - seqspec --help + - seqspec version -h requires: - pip