From 035726ceb69c75c2b3afd0eb7841c84bb8754d44 Mon Sep 17 00:00:00 2001 From: Menna Youssef <139762536+Mennayousef@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:18:33 +0000 Subject: [PATCH 1/6] Create meta.yaml --- recipes/drug2cell/meta.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes/drug2cell/meta.yaml diff --git a/recipes/drug2cell/meta.yaml b/recipes/drug2cell/meta.yaml new file mode 100644 index 0000000000000..df580b529ab6f --- /dev/null +++ b/recipes/drug2cell/meta.yaml @@ -0,0 +1,36 @@ +{% set name = "drug2cell" %} +{% set version = "main" %} +{% set sha256 = "a6353f989f92f05b36972d42795f7f071245d351bf05027dc7e3e4a074ea5bb8" %} +package: + name: {{ name|lower }} + version: {{ version }} +source: + url: https://github.com/teichlab/drug2cell/archive/main.tar.gz + sha256: {{ sha256 }} +build: + noarch: python + number: 0 + script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv + +requirements: + host: + - python + - pip + run: + - python + - anndata + - pandas + - numpy + - statsmodels + - scipy + - blitzgsea + +#test: + #commands: + #- drug2cell --version +about: + home: https://github.com/teichlab/drug2cell/ + license: MIT + license_file: LICENSE + summary: "This is a collection of utility functions for gene group activity evaluation in scanpy" + From 17e0226c6765a647a0823746940742d1c65a7565 Mon Sep 17 00:00:00 2001 From: Menna Gamal Date: Sat, 30 Nov 2024 12:17:16 +0000 Subject: [PATCH 2/6] Update meta.yaml changed source url --- recipes/drug2cell/meta.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/recipes/drug2cell/meta.yaml b/recipes/drug2cell/meta.yaml index df580b529ab6f..d688e80226e0d 100644 --- a/recipes/drug2cell/meta.yaml +++ b/recipes/drug2cell/meta.yaml @@ -1,11 +1,11 @@ {% set name = "drug2cell" %} -{% set version = "main" %} +{% set version = "0.1.1" %} {% set sha256 = "a6353f989f92f05b36972d42795f7f071245d351bf05027dc7e3e4a074ea5bb8" %} package: name: {{ name|lower }} version: {{ version }} source: - url: https://github.com/teichlab/drug2cell/archive/main.tar.gz + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: noarch: python @@ -25,12 +25,11 @@ requirements: - scipy - blitzgsea -#test: - #commands: - #- drug2cell --version +test: + commands: + - python -c "import drug2cell; print(drug2cell.__version__)" about: home: https://github.com/teichlab/drug2cell/ - license: MIT - license_file: LICENSE + license: non-commercial license summary: "This is a collection of utility functions for gene group activity evaluation in scanpy" From 8250a5e7e04a56cd46bf409751d976deb5edfce7 Mon Sep 17 00:00:00 2001 From: Menna Gamal Date: Sat, 30 Nov 2024 13:02:29 +0000 Subject: [PATCH 3/6] Update meta.yaml --- recipes/drug2cell/meta.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/recipes/drug2cell/meta.yaml b/recipes/drug2cell/meta.yaml index d688e80226e0d..317dfb53dd362 100644 --- a/recipes/drug2cell/meta.yaml +++ b/recipes/drug2cell/meta.yaml @@ -1,6 +1,6 @@ {% set name = "drug2cell" %} {% set version = "0.1.1" %} -{% set sha256 = "a6353f989f92f05b36972d42795f7f071245d351bf05027dc7e3e4a074ea5bb8" %} +{% set sha256 = "f9e03762f84320bd2357c92ca576b9a67346dbaf157620a69c617841e089495a" %} package: name: {{ name|lower }} version: {{ version }} @@ -14,12 +14,12 @@ build: requirements: host: - - python + - python >=3.10,<3.11 - pip run: - - python + - python >=3.10,<3.11 - anndata - - pandas + - pandas >=1.5.3,<2.0 - numpy - statsmodels - scipy @@ -27,9 +27,10 @@ requirements: test: commands: - - python -c "import drug2cell; print(drug2cell.__version__)" + - python -c "import drug2cell" about: home: https://github.com/teichlab/drug2cell/ license: non-commercial license + license_file: LICENSE summary: "This is a collection of utility functions for gene group activity evaluation in scanpy" - + From 58e3da565b75bb5d076faccd853ab202761efce2 Mon Sep 17 00:00:00 2001 From: Menna Gamal Date: Sat, 30 Nov 2024 13:11:00 +0000 Subject: [PATCH 4/6] Update meta.yaml --- recipes/drug2cell/meta.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/recipes/drug2cell/meta.yaml b/recipes/drug2cell/meta.yaml index 317dfb53dd362..d111c7c19de1c 100644 --- a/recipes/drug2cell/meta.yaml +++ b/recipes/drug2cell/meta.yaml @@ -25,6 +25,15 @@ requirements: - scipy - blitzgsea +run_exports: + - python >=3.10,<3.11 + - pandas >=1.5.3,<2.0 + - anndata + - numpy + - statsmodels + - scipy + - blitzgsea + test: commands: - python -c "import drug2cell" From 1147c4063f4a98d9a3da9dac74445844a2f4dd37 Mon Sep 17 00:00:00 2001 From: Menna Gamal Date: Sat, 30 Nov 2024 13:25:58 +0000 Subject: [PATCH 5/6] Update meta.yaml Added run exports section --- recipes/drug2cell/meta.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes/drug2cell/meta.yaml b/recipes/drug2cell/meta.yaml index d111c7c19de1c..eb7365ae06dc9 100644 --- a/recipes/drug2cell/meta.yaml +++ b/recipes/drug2cell/meta.yaml @@ -26,13 +26,13 @@ requirements: - blitzgsea run_exports: - - python >=3.10,<3.11 - - pandas >=1.5.3,<2.0 - - anndata - - numpy - - statsmodels - - scipy - - blitzgsea + - {{ pin_subpackage('python', max_pin="x") }} + - {{ pin_subpackage('pandas', max_pin="x") }} + - {{ pin_subpackage('anndata', max_pin="x") }} + - {{ pin_subpackage('numpy', max_pin="x") }} + - {{ pin_subpackage('statsmodels', max_pin="x") }} + - {{ pin_subpackage('scipy', max_pin="x") }} + - {{ pin_subpackage('blitzgsea', max_pin="x") }} test: commands: From ef59e1dd2f1d7dc0b0e0c55c72fe8d9c9a7f66d5 Mon Sep 17 00:00:00 2001 From: Menna Gamal Date: Sat, 30 Nov 2024 13:36:43 +0000 Subject: [PATCH 6/6] Update meta.yaml --- recipes/drug2cell/meta.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/recipes/drug2cell/meta.yaml b/recipes/drug2cell/meta.yaml index eb7365ae06dc9..0198746f57917 100644 --- a/recipes/drug2cell/meta.yaml +++ b/recipes/drug2cell/meta.yaml @@ -11,6 +11,8 @@ build: noarch: python number: 0 script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv + run_exports: + - {{ pin_subpackage('drug2cell', max_pin="x.x") }} requirements: host: @@ -24,16 +26,7 @@ requirements: - statsmodels - scipy - blitzgsea - -run_exports: - - {{ pin_subpackage('python', max_pin="x") }} - - {{ pin_subpackage('pandas', max_pin="x") }} - - {{ pin_subpackage('anndata', max_pin="x") }} - - {{ pin_subpackage('numpy', max_pin="x") }} - - {{ pin_subpackage('statsmodels', max_pin="x") }} - - {{ pin_subpackage('scipy', max_pin="x") }} - - {{ pin_subpackage('blitzgsea', max_pin="x") }} - + test: commands: - python -c "import drug2cell"