diff --git a/recipes/porechop_abi/build.sh b/recipes/porechop_abi/build.sh new file mode 100644 index 0000000000000..65bd6b2b77d03 --- /dev/null +++ b/recipes/porechop_abi/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ $(uname -s) == "Darwin" ]; then + CXXFLAGS="${CXXFLAGS} -std=c++17 -Dbinary_function=__binary_function -Dunary_function=__unary_function" +else + CXXFLAGS="${CXXFLAGS} -std=c++17" +fi + +python -m pip install . --ignore-installed --no-deps -vv diff --git a/recipes/porechop_abi/meta.yaml b/recipes/porechop_abi/meta.yaml index cc54939097ef1..c75c0ad70a7cd 100644 --- a/recipes/porechop_abi/meta.yaml +++ b/recipes/porechop_abi/meta.yaml @@ -9,11 +9,12 @@ source: sha256: b5252b8fc26f750a6625353fe02fdf44c9a58bc9439933921f177735eac07ca3 build: - number: 3 + number: 5 skip: True # [py < 37] - script: {{ PYTHON }} -m pip install . --ignore-installed --no-deps -vv entry_points: - porechop_abi = porechop_abi.porechop_abi:main + run_exports: + - {{ pin_subpackage("porechop_abi", max_pin="x.x") }} requirements: build: @@ -37,6 +38,10 @@ test: commands: - porechop_abi -h +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 about: home: https://github.com/bonsai-team/Porechop_ABI license: GPL3