From 15f806d7acefa01287c888bbf73b8ec91c585548 Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Fri, 4 Oct 2024 12:26:35 +1000 Subject: [PATCH 1/4] :sparkles: Add snk to recipes --- recipes/snk/meta.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes/snk/meta.yaml diff --git a/recipes/snk/meta.yaml b/recipes/snk/meta.yaml new file mode 100644 index 0000000000000..ac22dfe46f3d3 --- /dev/null +++ b/recipes/snk/meta.yaml @@ -0,0 +1,51 @@ +{% set name = "snk" %} +{% set version = "0.30.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name | replace("-","_") }}-{{ version }}.tar.gz + sha256: 6bb3ed373c94ed4d9764b3ced41aecddc112c373400925f1166d52b5e5ca7c90 + +build: + run_exports: + - {{ pin_subpackage('snk', max_pin="x.x") }} + entry_points: + - snk = snk.main:app + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.8 + - hatchling + - pip + run: + - python >=3.8 + - gitpython >=3.1.0,<3.2.dev0 + - snk-cli >=0.5.2 + +test: + imports: + - snk + commands: + - pip check + - snk --help + requires: + - pip + +about: + home: https://snk.wytamma.com + dev_url: https://github.com/wytamma/snk + summary: A Snakemake CLI and Workflow Management System. + license: MIT + license_file: LICENSE.txt + +extra: + recipe-maintainers: + - Wytamma + + From f42185f2787f2ecb89d7da963d7ee307ea2f2a6b Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Tue, 8 Oct 2024 19:03:15 +1100 Subject: [PATCH 2/4] :bug: add git to host --- recipes/snk/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/snk/meta.yaml b/recipes/snk/meta.yaml index ac22dfe46f3d3..293718c406faa 100644 --- a/recipes/snk/meta.yaml +++ b/recipes/snk/meta.yaml @@ -23,6 +23,7 @@ requirements: - python >=3.8 - hatchling - pip + - git run: - python >=3.8 - gitpython >=3.1.0,<3.2.dev0 From 0ed442474225126019b8175c72a136a7073c9ec9 Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Tue, 8 Oct 2024 19:41:51 +1100 Subject: [PATCH 3/4] :bug: add git to test env --- recipes/snk/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/snk/meta.yaml b/recipes/snk/meta.yaml index 293718c406faa..75ff453f63925 100644 --- a/recipes/snk/meta.yaml +++ b/recipes/snk/meta.yaml @@ -37,6 +37,7 @@ test: - snk --help requires: - pip + - git about: home: https://snk.wytamma.com From 83b831dd7fa7f6af7298ff9d9b55a6078082757f Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Tue, 8 Oct 2024 20:14:15 +1100 Subject: [PATCH 4/4] :bug: add git to run --- recipes/snk/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/snk/meta.yaml b/recipes/snk/meta.yaml index 75ff453f63925..26dfad0f59b98 100644 --- a/recipes/snk/meta.yaml +++ b/recipes/snk/meta.yaml @@ -28,6 +28,7 @@ requirements: - python >=3.8 - gitpython >=3.1.0,<3.2.dev0 - snk-cli >=0.5.2 + - git test: imports: