jlec        15/01/06 12:57:48

  Modified:             ChangeLog
  Added:                samtools-1.1.ebuild
  Log:
  sci-biology/samtools: Version BUmp
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.21                 sci-biology/samtools/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog   25 Sep 2014 15:20:53 -0000      1.20
+++ ChangeLog   6 Jan 2015 12:57:48 -0000       1.21
@@ -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.20 
2014/09/25 15:20:53 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.21 
2015/01/06 12:57:48 jlec Exp $
+
+*samtools-1.1 (06 Jan 2015)
+
+  06 Jan 2015; Justin Lecher <j...@gentoo.org> +samtools-1.1.ebuild,
+  +files/samtools-1.1-buildsystem.patch:
+  Version BUmp
 
 *samtools-1.0-r1 (25 Sep 2014)
 



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

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/samtools-1.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/samtools-1.1.ebuild?rev=1.1&content-type=text/plain

Index: samtools-1.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-1.1.ebuild,v 
1.1 2015/01/06 12:57:48 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit eutils multilib python-r1 toolchain-funcs

DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large 
nucleotide sequence alignments"
HOMEPAGE="http://www.htslib.org/";
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
        ~sci-libs/htslib-${PV}"

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

src_prepare() {
        find htslib-* -delete || die

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

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

        tc-export CC AR

        sed \
                -e '/htslib.mk/d' \
                -i Makefile || die

}

src_compile() {
        local mymakeargs=(
                LIBCURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
                HTSDIR="${EPREFIX}/usr/include"
                HTSLIB=$($(tc-getPKG_CONFIG) --libs htslib)
                BAMLIB="libbam.so"
                )
        emake "${mymakeargs[@]}"
}

src_test() {
        local mymakeargs=(
                LIBCURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
                HTSDIR="${EPREFIX}/usr/include"
                HTSLIB=$($(tc-getPKG_CONFIG) --libs htslib)
                BAMLIB="libbam.so"
                )
        emake "${mymakeargs[@]}" test
}

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

        python_replicate_script "${ED}"/usr/bin/varfilter.py
        dolib.so libbam.so*

        insinto /usr/include/bam
        doins *.h

        doman ${PN}.1
        dodoc AUTHORS NEWS README

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




Reply via email to