1 |
commit: 59ee040ec29f25e981534026d9be99b4ca36b458 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 28 20:24:40 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 28 20:24:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ee040e |
7 |
|
8 |
sci-biology/bcftools: Version bump to 1.9 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/647714 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
13 |
|
14 |
sci-biology/bcftools/Manifest | 1 + |
15 |
sci-biology/bcftools/bcftools-1.9.ebuild | 47 ++++++++++++++++++++++ |
16 |
.../bcftools/files/bcftools-1.9-fix-shebangs.patch | 8 ++++ |
17 |
3 files changed, 56 insertions(+) |
18 |
|
19 |
diff --git a/sci-biology/bcftools/Manifest b/sci-biology/bcftools/Manifest |
20 |
index 333bb377e49..eef8daed7a7 100644 |
21 |
--- a/sci-biology/bcftools/Manifest |
22 |
+++ b/sci-biology/bcftools/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST bcftools-1.5.tar.bz2 2975685 BLAKE2B 937b7db770dcaddafbd00b67c3b88501a3190564b2ca629b83e52b48b414a604dd203cd067e357e2b7d02c700387576fca458d1cab2982dafa3b2c215b528722 SHA512 66b8bc61b9fbb381679a6781f77a18f66e8105567992da011413bc573d99b619558a1cf58e9e1373ae347a8b81638dd91977802a07a4578ddc9c61fb53403233 |
25 |
+DIST bcftools-1.9.tar.bz2 3134355 BLAKE2B dd551b509b1ee554f70be9da28a6eaf81dfcec43fc0d1aa972d64ef846f9db47f39177345e8c1ca754d11defb9c0823976ae94d6b3e7cd99313eed4f381182ed SHA512 fd662fb0d214eb75ac04fc4494e8dbaca84d10698ca14801427341def6a5df4af99e7bd4cd873da5422ae921deb49b940cedb926da356b1eabfac525a38f806c |
26 |
|
27 |
diff --git a/sci-biology/bcftools/bcftools-1.9.ebuild b/sci-biology/bcftools/bcftools-1.9.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..53e47bc01a8 |
30 |
--- /dev/null |
31 |
+++ b/sci-biology/bcftools/bcftools-1.9.ebuild |
32 |
@@ -0,0 +1,47 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+inherit python-single-r1 |
41 |
+ |
42 |
+DESCRIPTION="Utilities for variant calling and manipulating VCF and BCF files" |
43 |
+HOMEPAGE="http://www.htslib.org" |
44 |
+SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-lang/perl |
54 |
+ =sci-libs/htslib-${PV}*:= |
55 |
+ sys-libs/zlib:= |
56 |
+ ${PYTHON_DEPS}" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${PN}-1.5-buildsystem.patch |
61 |
+ "${FILESDIR}"/${PN}-1.9-fix-shebangs.patch |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ |
67 |
+ python_fix_shebang misc/{guess-ploidy,plot-roh}.py |
68 |
+ |
69 |
+ # remove bundled htslib |
70 |
+ rm -r htslib-* || die |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ econf \ |
75 |
+ --disable-bcftools-plugins \ |
76 |
+ --disable-libgsl \ |
77 |
+ --disable-configure-htslib \ |
78 |
+ --with-htslib=system |
79 |
+} |
80 |
|
81 |
diff --git a/sci-biology/bcftools/files/bcftools-1.9-fix-shebangs.patch b/sci-biology/bcftools/files/bcftools-1.9-fix-shebangs.patch |
82 |
new file mode 100644 |
83 |
index 00000000000..76610187c49 |
84 |
--- /dev/null |
85 |
+++ b/sci-biology/bcftools/files/bcftools-1.9-fix-shebangs.patch |
86 |
@@ -0,0 +1,8 @@ |
87 |
+--- a/misc/vcfutils.pl |
88 |
++++ b/misc/vcfutils.pl |
89 |
+@@ -1,4 +1,4 @@ |
90 |
+-#!/usr/bin/perl -w |
91 |
++#!/usr/bin/env perl |
92 |
+ # |
93 |
+ # Copyright (C) 2010 Broad Institute. |
94 |
+ # Copyright (C) 2011, 2014 Genome Research Ltd. |