Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/samtools: samtools-0.1.19-r2.ebuild ChangeLog samtools-0.1.19-r1.ebuild
Date: Sun, 23 Mar 2014 15:29:16
Message-Id: 20140323152913.581C520051@flycatcher.gentoo.org
1 jlec 14/03/23 15:29:13
2
3 Modified: ChangeLog
4 Added: samtools-0.1.19-r2.ebuild
5 Removed: samtools-0.1.19-r1.ebuild
6 Log:
7 sci-biology/samtools: Fix symlink creation, thanks Martin Mokrejs telling me that
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
10
11 Revision Changes Path
12 1.17 sci-biology/samtools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/ChangeLog?rev=1.17&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/ChangeLog?rev=1.17&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/ChangeLog?r1=1.16&r2=1.17
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v
21 retrieving revision 1.16
22 retrieving revision 1.17
23 diff -u -r1.16 -r1.17
24 --- ChangeLog 11 Feb 2014 20:17:25 -0000 1.16
25 +++ ChangeLog 23 Mar 2014 15:29:13 -0000 1.17
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-biology/samtools
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.16 2014/02/11 20:17:25 grobian Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.17 2014/03/23 15:29:13 jlec Exp $
31 +
32 +*samtools-0.1.19-r2 (23 Mar 2014)
33 +
34 + 23 Mar 2014; Justin Lecher <jlec@g.o> -samtools-0.1.19-r1.ebuild,
35 + +samtools-0.1.19-r2.ebuild:
36 + Fix symlink creation, thanks Martin Mokrejs telling me that
37
38 11 Feb 2014; Fabian Groffen <grobian@g.o> samtools-0.1.19-r1.ebuild:
39 Reference correct library name on Darwin, thanks Linlin Yan in bug #491812
40
41
42
43 1.1 sci-biology/samtools/samtools-0.1.19-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/samtools-0.1.19-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/samtools-0.1.19-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: samtools-0.1.19-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-0.1.19-r2.ebuild,v 1.1 2014/03/23 15:29:13 jlec Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python{2_6,2_7} )
57
58 inherit eutils multilib python-r1 toolchain-funcs
59
60 DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large nucleotide sequence alignments"
61 HOMEPAGE="http://samtools.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
67 IUSE="examples"
68
69 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
70
71 CDEPEND="sys-libs/ncurses"
72 RDEPEND="${CDEPEND}
73 dev-lang/lua
74 dev-lang/perl"
75 DEPEND="${CDEPEND}
76 virtual/pkgconfig"
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${P}-buildsystem.patch
80
81 sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die
82
83 tc-export CC AR
84 }
85
86 src_compile() {
87 local _ncurses="$(pkg-config --libs ncurses)"
88 emake dylib LIBCURSES="${_ncurses}"
89 emake LIBCURSES="${_ncurses}"
90 }
91
92 src_install() {
93 dobin samtools $(find bcftools misc -type f -executable)
94
95 python_replicate_script "${ED}"/usr/bin/varfilter.py
96
97 dolib.so libbam$(get_libname 1)
98 dosym libbam$(get_libname 1) /usr/$(get_libdir)/libbam$(get_libname)
99
100 insinto /usr/include/bam
101 doins *.h
102
103 doman ${PN}.1
104 dodoc AUTHORS NEWS
105
106 if use examples; then
107 insinto /usr/share/${PN}
108 doins -r examples
109 fi
110 }