1 |
jlec 14/10/02 10:25:34 |
2 |
|
3 |
Modified: Bio-SamTools-1.390.0-r1.ebuild ChangeLog |
4 |
Log: |
5 |
dev-perl/Bio-SamTools: Make it build with samtools-1, #523568 |
6 |
|
7 |
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: Bio-SamTools-1.390.0-r1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- Bio-SamTools-1.390.0-r1.ebuild 24 Sep 2014 07:52:53 -0000 1.2 |
23 |
+++ Bio-SamTools-1.390.0-r1.ebuild 2 Oct 2014 10:25:34 -0000 1.3 |
24 |
@@ -1,12 +1,13 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild,v 1.2 2014/09/24 07:52:53 jlec Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.390.0-r1.ebuild,v 1.3 2014/10/02 10:25:34 jlec Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
MODULE_AUTHOR=LDS |
33 |
MODULE_VERSION=1.39 |
34 |
-inherit perl-module |
35 |
+ |
36 |
+inherit perl-module toolchain-funcs |
37 |
|
38 |
DESCRIPTION="Read SAM/BAM database files" |
39 |
|
40 |
@@ -16,8 +17,7 @@ |
41 |
|
42 |
RDEPEND=" |
43 |
sci-biology/bioperl |
44 |
- >=sci-biology/samtools-0.1.16 |
45 |
- <sci-biology/samtools-1 |
46 |
+ >=sci-biology/samtools-1 |
47 |
" |
48 |
DEPEND="${RDEPEND} |
49 |
virtual/perl-ExtUtils-CBuilder |
50 |
@@ -26,7 +26,12 @@ |
51 |
|
52 |
SRC_TEST=do |
53 |
|
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}"/${P}-samtools-1.patch |
56 |
+) |
57 |
+ |
58 |
src_prepare() { |
59 |
+ find . -type f -exec chmod +w '{}' + || die |
60 |
sed \ |
61 |
-e 's|my $HeaderFile = "bam.h";|my $HeaderFile = "bam/bam.h";|' \ |
62 |
-e 's|my $LibFile = "libbam.a";|my $LibFile = "libbam.so";|' \ |
63 |
@@ -34,9 +39,11 @@ |
64 |
sed \ |
65 |
-e 's|#include "bam.h"|#include "bam/bam.h"|' \ |
66 |
-e 's|#include "sam.h"|#include "bam/sam.h"|' \ |
67 |
- -e 's|#include "khash.h"|#include "bam/khash.h"|' \ |
68 |
- -e 's|#include "faidx.h"|#include "bam/faidx.h"|' \ |
69 |
+ -e 's|#include "khash.h"|#include "htslib/khash.h"|' \ |
70 |
+ -e 's|#include "faidx.h"|#include "htslib/faidx.h"|' \ |
71 |
-i lib/Bio/DB/Sam.xs c_bin/bam2bedgraph.c || die |
72 |
|
73 |
perl-module_src_prepare |
74 |
+ |
75 |
+ tc-export CC |
76 |
} |
77 |
|
78 |
|
79 |
|
80 |
1.16 dev-perl/Bio-SamTools/ChangeLog |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog?rev=1.16&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog?rev=1.16&content-type=text/plain |
84 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog?r1=1.15&r2=1.16 |
85 |
|
86 |
Index: ChangeLog |
87 |
=================================================================== |
88 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog,v |
89 |
retrieving revision 1.15 |
90 |
retrieving revision 1.16 |
91 |
diff -u -r1.15 -r1.16 |
92 |
--- ChangeLog 24 Sep 2014 07:52:53 -0000 1.15 |
93 |
+++ ChangeLog 2 Oct 2014 10:25:34 -0000 1.16 |
94 |
@@ -1,6 +1,10 @@ |
95 |
# ChangeLog for dev-perl/Bio-SamTools |
96 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
97 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog,v 1.15 2014/09/24 07:52:53 jlec Exp $ |
98 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog,v 1.16 2014/10/02 10:25:34 jlec Exp $ |
99 |
+ |
100 |
+ 02 Oct 2014; Justin Lecher <jlec@g.o> Bio-SamTools-1.390.0-r1.ebuild, |
101 |
+ +files/Bio-SamTools-1.390.0-samtools-1.patch: |
102 |
+ Make it build with samtools-1, #523568 |
103 |
|
104 |
24 Sep 2014; Justin Lecher <jlec@g.o> -Bio-SamTools-1.330.0.ebuild, |
105 |
-Bio-SamTools-1.370.0-r1.ebuild, -Bio-SamTools-1.380.0.ebuild, |