jlec        14/03/23 15:29:13

  Modified:             ChangeLog
  Added:                samtools-0.1.19-r2.ebuild
  Removed:              samtools-0.1.19-r1.ebuild
  Log:
  sci-biology/samtools: Fix symlink creation, thanks Martin Mokrejs telling me 
that
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.17                 sci-biology/samtools/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/ChangeLog?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/ChangeLog?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog   11 Feb 2014 20:17:25 -0000      1.16
+++ ChangeLog   23 Mar 2014 15:29:13 -0000      1.17
@@ -1,6 +1,12 @@
 # ChangeLog for sci-biology/samtools
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.16 
2014/02/11 20:17:25 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.17 
2014/03/23 15:29:13 jlec Exp $
+
+*samtools-0.1.19-r2 (23 Mar 2014)
+
+  23 Mar 2014; Justin Lecher <[email protected]> -samtools-0.1.19-r1.ebuild,
+  +samtools-0.1.19-r2.ebuild:
+  Fix symlink creation, thanks Martin Mokrejs telling me that
 
   11 Feb 2014; Fabian Groffen <[email protected]> samtools-0.1.19-r1.ebuild:
   Reference correct library name on Darwin, thanks Linlin Yan in bug #491812



1.1                  sci-biology/samtools/samtools-0.1.19-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/samtools-0.1.19-r2.ebuild?rev=1.1&view=markup
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

Index: samtools-0.1.19-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7} )

inherit eutils multilib python-r1 toolchain-funcs

DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large 
nucleotide sequence alignments"
HOMEPAGE="http://samtools.sourceforge.net/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="examples"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

CDEPEND="sys-libs/ncurses"
RDEPEND="${CDEPEND}
        dev-lang/lua
        dev-lang/perl"
DEPEND="${CDEPEND}
        virtual/pkgconfig"

src_prepare() {
        epatch "${FILESDIR}"/${P}-buildsystem.patch

        sed -i 's~/software/bin/python~/usr/bin/env python~' 
"${S}"/misc/varfilter.py || die

        tc-export CC AR
}

src_compile() {
        local _ncurses="$(pkg-config --libs ncurses)"
        emake dylib LIBCURSES="${_ncurses}"
        emake LIBCURSES="${_ncurses}"
}

src_install() {
        dobin samtools $(find bcftools misc -type f -executable)

        python_replicate_script "${ED}"/usr/bin/varfilter.py

        dolib.so libbam$(get_libname 1)
        dosym libbam$(get_libname 1) /usr/$(get_libdir)/libbam$(get_libname)

        insinto /usr/include/bam
        doins *.h

        doman ${PN}.1
        dodoc AUTHORS NEWS

        if use examples; then
                insinto /usr/share/${PN}
                doins -r examples
        fi
}




Reply via email to