Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/htslib/
Date: Sun, 30 Apr 2017 13:11:33
Message-Id: 1493557876.810353ee167b5550cce6171a9f3c2e601d47856d.mmokrejs@gentoo
1 commit: 810353ee167b5550cce6171a9f3c2e601d47856d
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sun Apr 30 13:11:16 2017 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sun Apr 30 13:11:16 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=810353ee
7
8 sci-libs/htslib: version bump
9
10 @soap: Keeping empty KEYWORDS
11 Package-Manager: Portage-2.3.5, Repoman-2.3.2
12
13 sci-libs/htslib/htslib-1.3.2.ebuild | 9 ++++++++-
14 .../htslib/{htslib-1.3.2.ebuild => htslib-1.4.ebuild} | 15 +++++++++++++--
15 2 files changed, 21 insertions(+), 3 deletions(-)
16
17 diff --git a/sci-libs/htslib/htslib-1.3.2.ebuild b/sci-libs/htslib/htslib-1.3.2.ebuild
18 index 2ca68eb3f..f4c042bbf 100644
19 --- a/sci-libs/htslib/htslib-1.3.2.ebuild
20 +++ b/sci-libs/htslib/htslib-1.3.2.ebuild
21 @@ -3,7 +3,7 @@
22
23 EAPI=6
24
25 -DESCRIPTION="C library for high-throughput sequencing data formats"
26 +DESCRIPTION="C library for HTS data with bgzip, tabix and htsfile binaries"
27 HOMEPAGE="http://www.htslib.org/"
28 SRC_URI="mirror://sourceforge/samtools/${PV}/${P}.tar.bz2"
29
30 @@ -12,6 +12,13 @@ LICENSE="MIT"
31 KEYWORDS=""
32 IUSE="static-libs"
33
34 +DEPEND="
35 + dev-libs/openssl:=
36 + app-arch/xz-utils
37 + app-arch/bzip2
38 + net-misc/curl"
39 +RDEPEND="${DEPEND}"
40 +
41 src_install() {
42 default
43 if ! use static-libs; then
44
45 diff --git a/sci-libs/htslib/htslib-1.3.2.ebuild b/sci-libs/htslib/htslib-1.4.ebuild
46 similarity index 56%
47 copy from sci-libs/htslib/htslib-1.3.2.ebuild
48 copy to sci-libs/htslib/htslib-1.4.ebuild
49 index 2ca68eb3f..1e1274ff0 100644
50 --- a/sci-libs/htslib/htslib-1.3.2.ebuild
51 +++ b/sci-libs/htslib/htslib-1.4.ebuild
52 @@ -3,18 +3,29 @@
53
54 EAPI=6
55
56 -DESCRIPTION="C library for high-throughput sequencing data formats"
57 +DESCRIPTION="C library for HTS data with bgzip, tabix and htsfile binaries"
58 HOMEPAGE="http://www.htslib.org/"
59 SRC_URI="mirror://sourceforge/samtools/${PV}/${P}.tar.bz2"
60
61 -SLOT="0"
62 +SLOT="2" # libhts.so.2
63 LICENSE="MIT"
64 KEYWORDS=""
65 IUSE="static-libs"
66
67 +DEPEND="
68 + dev-libs/openssl:=
69 + app-arch/xz-utils
70 + app-arch/bzip2
71 + net-misc/curl"
72 +RDEPEND="${DEPEND}"
73 +
74 src_install() {
75 default
76 if ! use static-libs; then
77 find "${ED}" -type f -name "*.a" -delete || die
78 fi
79 }
80 +
81 +pkg_postinst(){
82 + einfo "You may want to install sci-libs/htslib-plugins"
83 +}