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

gffcompare: unblacklist and update (plus remove gclib) #12407

Merged
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
4 changes: 0 additions & 4 deletions build-fail-blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,6 @@ recipes/rdkit/2016.03.3
# broken pipe
recipes/antarna

#gff.h missing
recipes/gffcompare

# perl errors
recipes/snvphyl-tools

Expand Down Expand Up @@ -709,7 +706,6 @@ recipes/edlib
recipes/esimsa
recipes/fastuniq
recipes/fgap
recipes/gclib
recipes/funcannot
recipes/genepender
recipes/genometester4
Expand Down
32 changes: 0 additions & 32 deletions recipes/gclib/Makefile.osx.patch

This file was deleted.

32 changes: 0 additions & 32 deletions recipes/gclib/Makefile.patch

This file was deleted.

15 changes: 0 additions & 15 deletions recipes/gclib/build.sh

This file was deleted.

30 changes: 0 additions & 30 deletions recipes/gclib/meta.yaml

This file was deleted.

22 changes: 19 additions & 3 deletions recipes/gffcompare/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
#!/bin/bash

mkdir -p $PREFIX/bin
make
install gffcompare $PREFIX/bin/
# install gffcompare using the prep script of the
# distribution. note that this works for linux and mac
# since the prep_mac script just uses different names
# for the directories (all the magic happens in the
# Makefile)
cd gffcompare
./prep_linux.sh

# in order to find the directory where the binaries
# are installed the version is extracted as in the
# prep script
ver=$(fgrep '#define VERSION ' gffcompare.cpp)
ver=${ver#*\"}
ver=${ver%%\"*}
cd gffcompare-"$ver"

# copy binaries
mkdir -p "$PREFIX"/bin/
cp gffcompare "$PREFIX"/bin/
cp trmap "$PREFIX"/bin/
17 changes: 7 additions & 10 deletions recipes/gffcompare/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ build:
skip: False

source:
url: https://github.com/gpertea/gffcompare/archive/v{{ version }}.tar.gz
sha256: {{ sha256hash }}
patches:
- Makefile.patch # [not osx]
- Makefile.osx.patch # [osx]
- url: https://github.com/gpertea/gffcompare/archive/v{{ version }}.tar.gz
sha256: {{ sha256hash }}
folder: gffcompare
- url: https://github.com/gpertea/gclib/archive/v0.10.3.tar.gz
sha256: f5f9d4764afe83d5b9cc851c4dab352906505be7a6c03958c2af51c554118c18
folder: gclib

requirements:
build:
- {{ compiler('c') }}
host:
- gclib
run:
- gclib
- {{ compiler('cxx') }}

test:
commands:
Expand Down