diff --git a/recipes/piawka/build.sh b/recipes/piawka/build.sh index 036594907f2e1..a68b2482730b2 100644 --- a/recipes/piawka/build.sh +++ b/recipes/piawka/build.sh @@ -1,19 +1,6 @@ #!/bin/bash -# increase verbosity for debugging -set -x - mkdir -p $PREFIX/bin - -# Replace `mawk -f` shebangs with "polyglot shebangs" -# as per https://unix.stackexchange.com/a/361796/605705 -# not to rely on non-standard `env -S` option -polyglot1='#!/bin/sh'; polyglot2='"exec" "mawk" "-f" "$0" "$@" && 0 {}' -for f in $SRC_DIR/scripts/*; do - t="$PREFIX/bin/$(basename $f)" - head -n 1 $f | grep awk && ( echo "$polyglot1" > $t && echo "$polyglot2" >> $t ) - cat $f >> $t -done - +cp $SRC_DIR/scripts/* $PREFIX/bin/ chmod +x $PREFIX/bin/* diff --git a/recipes/piawka/meta.yaml b/recipes/piawka/meta.yaml index 46510a8351bc5..2d1b600650157 100644 --- a/recipes/piawka/meta.yaml +++ b/recipes/piawka/meta.yaml @@ -1,5 +1,5 @@ {% set name = "piawka" %} -{% set version = "0.7.10" %} +{% set version = "0.8.1" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://github.com/novikovalab/{{ name }}/archive/refs/tags/{{ version }}.tar.gz - sha256: 511859b69525db7dc988ae55556e6fd31e2709f0e3a4de404f87abfadb97a273 + sha256: c280b0669724410be64e9db6c61680d38ba89a263eb2d75efef1beb79d43a8c2 build: noarch: generic @@ -17,14 +17,13 @@ build: requirements: run: - - mawk =1.3.4 - - parallel + - conda-forge::gawk >=5.0.0 - bash - tabix test: commands: - - piawka_par.sh -h + - piawka --help about: home: https://github.com/novikovalab/piawka