From 3eff9c80e703b87d53d57849ac51da4b67dbda5f Mon Sep 17 00:00:00 2001 From: Peter Diakumis Date: Mon, 9 Oct 2023 21:54:23 +1100 Subject: [PATCH] Update mosdepth v0.3.4 -> v0.3.5 (#43500) * bump mosdepth v0.3.4 -> v0.3.5 --- recipes/mosdepth/build.sh | 3 ++- recipes/mosdepth/meta.yaml | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/recipes/mosdepth/build.sh b/recipes/mosdepth/build.sh index dcbb0237c2f55..ae5ff06f5f3cb 100755 --- a/recipes/mosdepth/build.sh +++ b/recipes/mosdepth/build.sh @@ -4,7 +4,8 @@ if [[ ${target_platform} == osx-64 ]] ; then curl -SL https://github.com/brentp/mosdepth/archive/refs/tags/v${PKG_VERSION}.tar.gz -o mosdepth-latest.tar.gz tar -xzf mosdepth-latest.tar.gz cd mosdepth-${PKG_VERSION} - nimble --localdeps build -y --verbose -d:release + nimble install -y "docopt@0.7.0" + nimble build -y --verbose -d:release else curl -SL https://github.com/brentp/mosdepth/releases/download/v$PKG_VERSION/mosdepth -o mosdepth chmod +x mosdepth diff --git a/recipes/mosdepth/meta.yaml b/recipes/mosdepth/meta.yaml index 5716f24daaff5..a637559a8e272 100755 --- a/recipes/mosdepth/meta.yaml +++ b/recipes/mosdepth/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "0.3.4" %} +{% set version = "0.3.5" %} package: name: mosdepth @@ -6,12 +6,14 @@ package: build: number: 0 + run_exports: + - {{ pin_subpackage("mosdepth", max_pin="x.x") }} requirements: build: - {{ compiler('c') }} - curl - - nim + - nim <=1.6.2 host: - htslib >=1.10 run: @@ -25,7 +27,7 @@ about: dev_url: https://github.com/brentp/mosdepth doc_url: https://github.com/brentp/mosdepth license: MIT - summary: 'Fast BAM/CRAM depth calculation for WGS, exome, or targetted sequencing.' + summary: 'Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing.' extra: identifiers: