jlec        15/02/18 10:21:10

  Modified:             ChangeLog
  Added:                samtools-1.2.ebuild
  Log:
  Version Bump, #540356
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.22                 sci-biology/samtools/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog   6 Jan 2015 12:57:48 -0000       1.21
+++ ChangeLog   18 Feb 2015 10:21:10 -0000      1.22
@@ -1,6 +1,12 @@
 # ChangeLog for sci-biology/samtools
 # 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.22 
2015/02/18 10:21:10 jlec Exp $
+
+*samtools-1.2 (18 Feb 2015)
+
+  18 Feb 2015; Justin Lecher <j...@gentoo.org>
+  +files/samtools-1.2-buildsystem.patch, +samtools-1.2.ebuild:
+  Version Bump, #540356
 
 *samtools-1.1 (06 Jan 2015)
 



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

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

Index: samtools-1.2.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.2.ebuild,v 
1.1 2015/02/18 10:21:10 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