From 60c181a856b38b7f26ab79d49e6363ffb470c863 Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Mon, 28 Oct 2024 23:08:53 +0100 Subject: [PATCH 1/4] meta.yaml created by greyskull --- recipes/corneto/meta.yaml | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 recipes/corneto/meta.yaml diff --git a/recipes/corneto/meta.yaml b/recipes/corneto/meta.yaml new file mode 100644 index 0000000000000..a252ad1c49629 --- /dev/null +++ b/recipes/corneto/meta.yaml @@ -0,0 +1,45 @@ +{% set name = "corneto" %} +{% set version = "1.0.0a0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/corneto-{{ version }}.tar.gz + sha256: 966d50762f92047ea4e5d1a136607f20ae9ec1d585530a24ad5c95e700b24180 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.9 + - poetry-core >=1.0.0 + - pip + run: + - python >=3.9 + - numpy >=1.15,<2.0.0 + - cvxpy-base >=1.5.0,<2.0.0 + run_constrained: + - scipy >=1.11.0,<2.0.0 + +test: + imports: + - corneto + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/saezlab/corneto/ + summary: 'CORNETO: A Unified Framework for Omics-Driven Network Inference' + license: GPL-3.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - nilchia From d9c5a62119e179e6bbdbb1febc975d8b32770277 Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Mon, 28 Oct 2024 23:12:10 +0100 Subject: [PATCH 2/4] update meta.yaml --- recipes/corneto/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/corneto/meta.yaml b/recipes/corneto/meta.yaml index a252ad1c49629..24c457be2cedc 100644 --- a/recipes/corneto/meta.yaml +++ b/recipes/corneto/meta.yaml @@ -13,6 +13,8 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation number: 0 + run_exports: + - {{ pin_subpackage("corneto", max_pin="x.x.x") }} requirements: host: From 10decf520094ee19560060e60242cd6dfc836744 Mon Sep 17 00:00:00 2001 From: Amirhossein <66441226+nilchia@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:44:59 +0100 Subject: [PATCH 3/4] Update recipes/corneto/meta.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Björn Grüning --- recipes/corneto/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/corneto/meta.yaml b/recipes/corneto/meta.yaml index 24c457be2cedc..528c2a5b32603 100644 --- a/recipes/corneto/meta.yaml +++ b/recipes/corneto/meta.yaml @@ -25,7 +25,6 @@ requirements: - python >=3.9 - numpy >=1.15,<2.0.0 - cvxpy-base >=1.5.0,<2.0.0 - run_constrained: - scipy >=1.11.0,<2.0.0 test: From 64e89d793eecddb20132dc07f9a7952c33bcf67e Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Tue, 29 Oct 2024 10:51:05 +0100 Subject: [PATCH 4/4] SPDX identifier --- recipes/corneto/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/corneto/meta.yaml b/recipes/corneto/meta.yaml index 528c2a5b32603..fe7defc856845 100644 --- a/recipes/corneto/meta.yaml +++ b/recipes/corneto/meta.yaml @@ -38,7 +38,7 @@ test: about: home: https://github.com/saezlab/corneto/ summary: 'CORNETO: A Unified Framework for Omics-Driven Network Inference' - license: GPL-3.0 + license: GPL-3.0-or-later license_file: LICENSE extra: