From d40401edd982dcc3696c0f081327546d63907480 Mon Sep 17 00:00:00 2001 From: Fawaz Dabbaghie Date: Mon, 4 Nov 2024 12:52:11 +0100 Subject: [PATCH 1/4] adding bubblegun recipe --- recipes/bubblegun/meta.yaml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 recipes/bubblegun/meta.yaml diff --git a/recipes/bubblegun/meta.yaml b/recipes/bubblegun/meta.yaml new file mode 100644 index 0000000000000..21f5e43ee7841 --- /dev/null +++ b/recipes/bubblegun/meta.yaml @@ -0,0 +1,39 @@ +{% set name = "BubbleGun" %} +{% set version = "1.1.8" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: "https://github.com/fawaz-dabbaghieh/bubble_gun/archive/refs/tags/v1.1.9.tar.gz" + sha256: 005d61a1e5774dfec810e612c1b4c5ce6c8d15f80d131237590ef71f62704c94 + + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv + run_exports: + - {{ pin_compatible('BubbleGun', max_pin="x") }} + +requirements: + host: + - python >=3.6 + - pip + - setuptools + run: + - python + +test: + commands: + - BubbleGun -h + +about: + home: "https://github.com/fawaz-dabbaghieh/bubble_gun" + license: MIT + license_family: MIT + license_file: LICENSE + summary: 'BubbleGun is a tool for detecting bubbles and superbubbles in GFA graphs, and reports them and their nested structures' + doc_url: "https://github.com/fawaz-dabbaghieh/bubble_gun/blob/master/README.md" + def_url: "https://github.com/fawaz-dabbaghieh" From 90a0e29ead1ec75bb4516b98b37f8617c77bdde8 Mon Sep 17 00:00:00 2001 From: Fawaz Dabbaghie Date: Mon, 4 Nov 2024 13:28:00 +0100 Subject: [PATCH 2/4] adding some fixes to what coderabbit suggested --- recipes/bubblegun/meta.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/recipes/bubblegun/meta.yaml b/recipes/bubblegun/meta.yaml index 21f5e43ee7841..7dac14b682a67 100644 --- a/recipes/bubblegun/meta.yaml +++ b/recipes/bubblegun/meta.yaml @@ -1,5 +1,5 @@ {% set name = "BubbleGun" %} -{% set version = "1.1.8" %} +{% set version = "1.1.9" %} package: name: {{ name|lower }} @@ -14,8 +14,6 @@ build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv - run_exports: - - {{ pin_compatible('BubbleGun', max_pin="x") }} requirements: host: @@ -23,7 +21,7 @@ requirements: - pip - setuptools run: - - python + - python >=3.6 test: commands: @@ -36,4 +34,4 @@ about: license_file: LICENSE summary: 'BubbleGun is a tool for detecting bubbles and superbubbles in GFA graphs, and reports them and their nested structures' doc_url: "https://github.com/fawaz-dabbaghieh/bubble_gun/blob/master/README.md" - def_url: "https://github.com/fawaz-dabbaghieh" + dev_url: "https://github.com/fawaz-dabbaghieh" From 40696b80b0dfc924296968802380db0660749398 Mon Sep 17 00:00:00 2001 From: Fawaz Dabbaghie Date: Mon, 4 Nov 2024 15:56:48 +0100 Subject: [PATCH 3/4] adding back the run_export that coderabbitair specifically suggested to remove -_- --- recipes/bubblegun/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/bubblegun/meta.yaml b/recipes/bubblegun/meta.yaml index 7dac14b682a67..71dbc03ae2627 100644 --- a/recipes/bubblegun/meta.yaml +++ b/recipes/bubblegun/meta.yaml @@ -14,7 +14,9 @@ build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv - + run_exports: + - {{ pin_compatible('BubbleGun', max_pin="x") }} + requirements: host: - python >=3.6 From 6394cbb8826dffd9309203c142bb06441360e1dd Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:30:22 -0600 Subject: [PATCH 4/4] Update meta.yaml --- recipes/bubblegun/meta.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes/bubblegun/meta.yaml b/recipes/bubblegun/meta.yaml index 71dbc03ae2627..a97e641474c57 100644 --- a/recipes/bubblegun/meta.yaml +++ b/recipes/bubblegun/meta.yaml @@ -6,14 +6,15 @@ package: version: {{ version }} source: - url: "https://github.com/fawaz-dabbaghieh/bubble_gun/archive/refs/tags/v1.1.9.tar.gz" + url: "https://github.com/fawaz-dabbaghieh/bubble_gun/archive/refs/tags/v{{ version }}.tar.gz" sha256: 005d61a1e5774dfec810e612c1b4c5ce6c8d15f80d131237590ef71f62704c94 - build: number: 0 noarch: python - script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv + entry_points: + - BubbleGun=BubbleGun.main:main + script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir -vvv run_exports: - {{ pin_compatible('BubbleGun', max_pin="x") }} @@ -34,6 +35,6 @@ about: license: MIT license_family: MIT license_file: LICENSE - summary: 'BubbleGun is a tool for detecting bubbles and superbubbles in GFA graphs, and reports them and their nested structures' - doc_url: "https://github.com/fawaz-dabbaghieh/bubble_gun/blob/master/README.md" + summary: 'BubbleGun is a tool for detecting bubbles and superbubbles in GFA graphs, and reports them and their nested structures.' + doc_url: "https://github.com/fawaz-dabbaghieh/bubble_gun/blob/v{{ version }}/README.md" dev_url: "https://github.com/fawaz-dabbaghieh"