Skip to content

Commit

Permalink
[ci skip] Merge PR 19779
Browse files Browse the repository at this point in the history
Merge PR bioconda#19779, commits were: 
 * remove noarch
 * Add noarch
 * add c compiler
 * includes annoying things (based on bioconda#12755) to try solving compilation issue...
 * fix sha256 value
 * Add perl-text-csv_xs recipe
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes

* 'master' of https://github.com/bioconda/bioconda-recipes:
  [ci skip] Merge PR 19772
  [ci skip] Merge PR 19773
  MSGF+ version bump (bioconda#19769)
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes

* 'master' of https://github.com/bioconda/bioconda-recipes:
  [ci skip] Merge PR 19747
  [ci skip] Merge PR 19768
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes

* 'master' of https://github.com/bioconda/bioconda-recipes: (2210 commits)
  [ci skip] Merge PR 19683
  Update refgenconf to 0.6.2 (bioconda#19754)
  [ci skip] Merge PR 19762
  [ci skip] Merge PR 19763
  [ci skip] Merge PR 19760
  [ci skip] Merge PR 19758
  [ci skip] Merge PR 19744
  [ci skip] Merge PR 19719
  [ci skip] Merge PR 19751
  [ci skip] Merge PR 19748
  [ci skip] Merge PR 19757
  [ci skip] Merge PR 19756
  [ci skip] Merge PR 19753
  [ci skip] Merge PR 19750
  [ci skip] Merge PR 19743
  [ci skip] Merge PR 19745
  Update r-brio to 0.3.17 (bioconda#19662)
  Update kma to 1.2.21 (bioconda#19742)
  [ci skip] Merge PR 19739
  [ci skip] Merge PR 19741
  ...
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes

# By Bioconda Bot (464) and others
# Via Devon Ryan
* 'master' of https://github.com/bioconda/bioconda-recipes: (2408 commits)
  Update pyega3 to 3.0.39 (bioconda#17007)
  Remove 5 packages from the blacklist (bioconda#17004)
  Update validators to 0.14.0 (bioconda#17002)
  Update epic2 to 0.0.39 (bioconda#17003)
  Update r-seurat to 3.1.0 (bioconda#17001)
  Update bbknn to 1.3.5 (bioconda#15908)
  Update sra-tools to 2.10.0 (bioconda#16998)
  Add Unified Variant Analysis Pipeline (UVP) for M. tuberculosis analysis
  Update bbmap to 38.63 (bioconda#16999)
  Update ncbi-vdb to 2.10.0 (bioconda#16997)
  add r-immunedeconv (bioconda#16103)
  Update rgt to 0.12.2 (bioconda#16981)
  python-chado 2.3.0 (bioconda#16995)
  build spades from source (bioconda#16937)
  Update n50 to 0.83 (bioconda#16994)
  Update picard-slim to 2.20.6 (bioconda#16993)
  Update picard to 2.20.6 (bioconda#16992)
  bcftools polysomy (bioconda#16989)
  Update fastq-scan to 0.4.0 (bioconda#16991)
  Add Logomaker (bioconda#16990)
  ...
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes

# By Devon Ryan (31) and others
# Via GitHub
* 'master' of https://github.com/bioconda/bioconda-recipes: (353 commits)
  pysradb: update to 0.8.0 (bioconda#13815)
  Update: r-basejump to 0.9.11 for bcbiornaseq compat (bioconda#13805)
  we lost the dexseq_count script (bioconda#13806)
  Amptk (bioconda#13809)
  rebuild amptk (bioconda#13802)
  Sparc: add utilities (bioconda#13804)
  update wgbs snakepipes tools (bioconda#13793)
  Rebuild exonerate (bioconda#13686)
  Update Picard to 2.18.27. (bioconda#13795)
  Update to official release, add patch (bioconda#13791)
  Add PylProtPredictor (bioconda#13790)
  Update cgpbigwig to 1.0.3 (bioconda#13258)
  Update treetime to 0.5.3 (bioconda#13249)
  added shapeshifter-cli recipe (bioconda#13667)
  Update post-link.sh (bioconda#13767)
  v0.1.6 February 2019 Release (bioconda#13789)
  Add notes regarding binary name (bioconda#13762)
  update maaslin to version 0.0.5 (bioconda#13788)
  Gromacs 2018.6 patch (bioconda#13787)
  Use khronos opencl on osx (bioconda#13786)
  ...
 * Merge branch 'perl-http-simple-fixing'

* perl-http-simple-fixing:
  Add new test and dependancies
 * Add new test and dependancies
  • Loading branch information
fgiacomoni authored and jvanheld committed Jan 21, 2020
1 parent f2b32dc commit 77099a9
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
33 changes: 33 additions & 0 deletions recipes/perl-text-csv_xs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash



# Fix pollution from the perl build environment
export CFLAGS="-I/usr/include $CFLAGS"
dname=`find $PREFIX/lib -name Config_heavy.pl -print | xargs dirname`
sed -i.bak "s|^ cc => .*$| cc => '${CC}',|" ${dname}/Config.pm
sed -i.bak "s|^ccflags=.*$|ccflags='${CFLAGS}'|;s|^ld=.*$|ld='${CC}'|;s|^cppflags=.*$|cppflags='${CFLAGS}'|;" ${dname}/Config_heavy.pl

# clean up
rm -f ${dname}/Config.pm.bak ${dname}/Config_heavy.pl.bak


# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
perl ./Build
perl ./Build test
# Make sure this goes in site
perl ./Build install --installdirs site
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
# Fix pollution from the perl build environment
sed -i.bak "s|^LDLOADLIBS = .*$|LDLOADLIBS = -L$PREFIX/lib -lssl -lcrypto -lz -lpthread|;s|/home/conda/feedstock_root/build_artifacts/perl_1550669032175/_build_env|$BUILD_PREFIX|g" Makefile
make
make test
make install
else
echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.'
exit 1
fi
37 changes: 37 additions & 0 deletions recipes/perl-text-csv_xs/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% set name = "perl-text-csv_xs" %}
{% set version = "1.40" %}
{% set sha256 = "6a448ae1f66768fa5dec1cd2fb246bcaaa3f3ea22d555d1fee8d091833073675" %}

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

source:
url: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-1.40.tgz
sha256: {{ sha256 }}

build:
number: 0

requirements:
build:
- {{ compiler('c') }}
host:
- perl
- perl-extutils-makemaker
- perl-test-harness
- perl-text-csv

run:
- perl
- perl-test-harness
- perl-text-csv

test:
imports:
- Text::CSV_XS

about:
home: https://metacpan.org/pod/Text::CSV_XS
license: perl_5
summary: 'Text::CSV_XS - comma-separated values manipulation routines'

0 comments on commit 77099a9

Please sign in to comment.