Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packaging/bioconda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ source:

build:
number: 0
run_exports:
- {{ pin_subpackage('fastaguard', max_pin="x.x") }}

requirements:
build:
- {{ compiler('rust') }}
- {{ compiler('c') }}
- {{ stdlib('c') }}
- cargo-bundle-licenses

test:
Expand Down
7 changes: 7 additions & 0 deletions tests/python/test_release_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ def test_bioconda_recipe_avoids_unneeded_runtime_zlib(self):

self.assertNotIn(" - zlib", recipe)

def test_bioconda_recipe_includes_required_lint_metadata(self):
recipe = (ROOT / "packaging" / "bioconda" / "meta.yaml").read_text()

self.assertIn("run_exports:", recipe)
self.assertIn('{{ pin_subpackage(\'fastaguard\', max_pin="x.x") }}', recipe)
self.assertIn("{{ stdlib('c') }}", recipe)

def test_bioconda_build_script_uses_portable_install(self):
script = (ROOT / "packaging" / "bioconda" / "build.sh").read_text()

Expand Down