Skip to content

Commit

Permalink
Added recipe for SonicParanoid 1.0.13 (#11271)
Browse files Browse the repository at this point in the history
* Added recipe for SonicParanoid 1.0.13

* removed 'x.x' for numpy, added basic test

* fixed linter related errors

* compiler set to cxx and added host section (same build error!)

* removed host section

* moved numpy and cython to host section; restored build: noarch: python; added LICENSE.md

* removed build: noarch

* added build and extra sections

* set build number to 0; removed skip build; added python3 minimum version; added test for all executables.

* restored sh python module as requirement

* added Make to run; updated release to latest commit

* remove c compiler from meta.yaml

* modified build.sh to compile source codel added make in build section

* updated to latest commit

* updated to latest version with make included in setup.py

* reverted build.sh to the simplest version (python setup.py install)
  • Loading branch information
salvoc81 authored and karel-brinda committed Oct 31, 2018
1 parent 2dc21f2 commit b7f1ecb
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes/sonicparanoid/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python setup.py install --single-version-externally-managed --record=record.txt # Python command to install the script.
52 changes: 52 additions & 0 deletions recipes/sonicparanoid/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{% set name = "sonicparanoid" %}
{% set version = "1.0.13" %}
{% set commit = "2adfc811f035" %}

build:
number: 0

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://bitbucket.org/salvocos/sonicparanoid/get/{{ commit }}.zip
sha256: c8ee657132e3da08c4c5e225514da99eccfe3902089157aed2e873eee552ac05

requirements:
build:
- {{ compiler("cxx") }}
host:
- make
- python >=3.5
- numpy
- cython
run:
- make
- python >=3.5
- pip >=9.0.1
- cython >=0.27.0
- setuptools >=24.2.0
- biopython >=1.67
- pandas >=0.22.0
- numpy >=1.13.0
- sh >=1.12.14

test:
commands:
- "sonicparanoid"
- "sonicparanoid-get-mmseqs2 --help"
- "sonicparanoid-set-mmseqs2 --help"
- "sonicparanoid-get-test-data --help"
- "sonicparanoid-extract --help"

about:
home: "http://iwasakilab.bs.s.u-tokyo.ac.jp/sonicparanoid/"
license: "GNU General Public License v3"
license_family: "GPL3"
license_file: "LICENSE.md"
summary: "SonicParanoid: fast, easy and accurate orthology inference"

extra:
identifiers:
- https://doi.org/10.1093/bioinformatics/bty631

0 comments on commit b7f1ecb

Please sign in to comment.