Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update panacus recipe to include third-party licenses #53676

Merged
merged 12 commits into from
Feb 5, 2025
5 changes: 4 additions & 1 deletion recipes/panacus/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash -euo

export CFLAGS="${CFLAGS} -O3 -Wno-implicit-function-declaration"

mkdir -p $PREFIX/bin

cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
RUST_BACKTRACE=1 cargo install --no-track --verbose --root "${PREFIX}" --path .

cp scripts/panacus-visualize.py $PREFIX/bin/panacus-visualize
cp -rf scripts/panacus-visualize.py $PREFIX/bin/panacus-visualize
14 changes: 9 additions & 5 deletions recipes/panacus/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{% set name = "panacus" %}
{% set version = "0.2.5" %}
{% set version = "0.3.0-2" %}

package:
name: {{ name|lower }}
version: {{ version }}
version: {{ version | replace('-', '.') }}

source:
url: https://github.com/marschall-lab/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
sha256: 7b4e4aee52528c569ad663d0fcd00bd42f221f29f93f0768f18c2ac2d3f0d769
sha256: a7f7887f59e3ab7a1f46d2e856ca11d38a8f08a7d61247f3e776aa7d869b0ee9

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


requirements:
build:
- {{ compiler('c') }}
- {{ compiler('rust') }}
- cargo-bundle-licenses
- cmake
- make
run:
Expand All @@ -38,7 +40,9 @@ about:
home: https://github.com/marschall-lab/{{ name }}
license: MIT
license_family: MIT
license_file: LICENSE
license_file:
- LICENSE
- THIRDPARTY.yml
summary: "panacus is a tool for computing counting statistics for GFA files."
dev_url: https://github.com/marschall-lab/{{ name }}

Expand Down