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

sortmerna: add linux-aarch64 build and update to 4.3.7 #46644

Merged
merged 8 commits into from
Jun 4, 2024
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
9 changes: 9 additions & 0 deletions recipes/sortmerna/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -xe

python setup.py -n all

mkdir -p ${PREFIX}/bin

cp dist/bin/sortmerna ${PREFIX}/bin/
43 changes: 29 additions & 14 deletions recipes/sortmerna/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
{% set version = '4.3.6' %}
{% set name = 'sortmerna' %}
{% set version = '4.3.7' %}

package:
name: sortmerna
name: {{ name }}
version: {{ version }}

# TODO:
# - for now using pre-built binaries due complexities with C++17 and the dependencies.


source:
url: https://github.com/biocore/sortmerna/releases/download/v{{ version }}/sortmerna-{{ version }}-Linux.tar.gz
sha256: 6a6b962b4fe1dd62b01a5ec9a8ccfd80485d3460eed9235291f9db5231566800
url: https://github.com/sortmerna/sortmerna/archive/refs/tags/v{{ version }}.tar.gz
sha256: 6b62def30704ea956e1de060b602f9bebc8f2ba68107c59329b332500997b1d2

build:
number: 0
binary_relocation: False
skip: true # [osx]
script: | # [not win]
[ -d "${PREFIX}/bin" ] || mkdir -p "${PREFIX}/bin"
mv ./bin/sortmerna $PREFIX/bin
run_exports:
- {{ pin_subpackage(name, max_pin='x') }}

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
- ninja
host:
- pyyaml
- jinja2
- requests
run:
- pyyaml
- jinja2
- requests

test:
commands:
Expand All @@ -26,12 +38,15 @@ test:

about:
home: http://bioinfo.lifl.fr/RNA/sortmerna
license: LGPL
license: LGPL-3.0-only
license_family: LGPL
license_file: LICENSE.LESSER.txt
summary: SortMeRNA is a biological sequence analysis tool for filtering, mapping and OTU-picking NGS reads.
dev_url: https://github.com/sortmerna/sortmerna

extra:
skip-lints:
- should_be_noarch_generic
additional-platforms:
- linux-aarch64
identifiers:
- biotools:sortmerna
- doi:10.1093/bioinformatics/bts611
Expand Down