Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485450 - sci-biology/samtools-0.1.19 version bump
Summary: sci-biology/samtools-0.1.19 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-09-19 21:09 UTC by cel.gentoo
Modified: 2013-09-20 17:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for samtools-0.1.19 (samtools-0.1.19.ebuild,1.29 KB, text/plain)
2013-09-19 21:09 UTC, cel.gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cel.gentoo 2013-09-19 21:09:10 UTC
Created attachment 359060 [details]
ebuild for samtools-0.1.19

I attached an ebuild for samtools-0.1.19.

Since it is my first ebuild submission, I would appreciate if you could have a critical look at it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-20 14:17:45 UTC
Comment on attachment 359060 [details]
ebuild for samtools-0.1.19

--- samtools-0.1.18-r3.ebuild   2013-03-29 18:29:49.000000000 +0100
+++ -   2013-09-20 16:17:21.233383177 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-0.1.18-r3.ebuild,v 1.1 2013/03/29 17:29:49 jlec Exp $
+# $Header: $
 
 EAPI=5

@@ -8,7 +8,7 @@
 
 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"
+SRC_URI="https://github.com/samtools/samtools/archive/${PV}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -21,15 +21,15 @@
 
 src_prepare() {
        sed \
-               -e '/^CC/s:=:?=:g' \
-               -e "/^LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \
-               -e '/^CFLAGS=/s:=:?=:' \
+               -e '/^CC=/ d' \
+               -e "/^LIBCURSES/ s/=.*/= $(pkg-config --libs ncurses)/g" \
+               -e '/^CFLAGS=/ d' \
                -e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \
                -e "s/-shared/& \$(LDFLAGS)/" \
                -i "${S}"/{bcftools,misc,}/Makefile || die #358563
-       sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die
+       sed -i 's:/software/bin/python:/usr/bin/env python:' "${S}"/misc/varfilter.py || die

-       tc-export CC
+       tc-export AR CC
 }
 
 src_compile() {
@@ -47,7 +47,8 @@
        doins bam.h bgzf.h faidx.h kaln.h khash.h kprobaln.h kseq.h ksort.h sam.h

        doman ${PN}.1
-       dodoc AUTHORS ChangeLog NEWS
+       dodoc AUTHORS NEWS
+       newdoc ChangeLog.old Changelog

        if use examples; then
                insinto /usr/share/${PN}
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-09-20 17:15:54 UTC
+*samtools-0.1.19 (20 Sep 2013)
+
+  20 Sep 2013; Justin Lecher <jlec@gentoo.org> +samtools-0.1.19.ebuild,
+  +files/samtools-0.1.19-buildsystem.patch:
+  Version BUmp, #485450
+