Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/sambamba/
Date: Thu, 04 Feb 2021 05:23:43
Message-Id: 1612416204.67b756ceafdc4378861efdbf82f83844a31ccf20.andrewammerlaan@gentoo
1 commit: 67b756ceafdc4378861efdbf82f83844a31ccf20
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Thu Feb 4 05:23:24 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Thu Feb 4 05:23:24 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=67b756ce
7
8 sci-biology/sambamba: version bump, EAPI bump
9
10 does not compile, seems to require some other compiler
11 that is not packaged in ::gentoo at the moment
12
13 Package-Manager: Portage-3.0.14, Repoman-3.0.2
14 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
15
16 sci-biology/sambamba/sambamba-0.6.5.ebuild | 27 ----------------------
17 sci-biology/sambamba/sambamba-0.8.0.ebuild | 36 ++++++++++++++++++++++++++++++
18 sci-biology/sambamba/sambamba-9999.ebuild | 10 ++++-----
19 3 files changed, 41 insertions(+), 32 deletions(-)
20
21 diff --git a/sci-biology/sambamba/sambamba-0.6.5.ebuild b/sci-biology/sambamba/sambamba-0.6.5.ebuild
22 deleted file mode 100644
23 index ab2fb990e..000000000
24 --- a/sci-biology/sambamba/sambamba-0.6.5.ebuild
25 +++ /dev/null
26 @@ -1,27 +0,0 @@
27 -# Copyright 1999-2017 Gentoo Foundation
28 -# Distributed under the terms of the GNU General Public License v2
29 -
30 -EAPI=6
31 -
32 -DESCRIPTION="Parallell process SAM/BAM/CRAM files faster than samtools"
33 -HOMEPAGE="http://lomereiter.github.io/sambamba"
34 -SRC_URI="https://github.com/lomereiter/sambamba/archive/v0.6.5.tar.gz -> ${P}.tar.gz"
35 -
36 -LICENSE="GPL-2+"
37 -SLOT="0"
38 -KEYWORDS=""
39 -IUSE="debug"
40 -
41 -# https://github.com/ldc-developers/gentoo-overlay/tree/master/dev-lang/ldc2
42 -#
43 -# contains bundled htslib
44 -DEPEND=""
45 -RDEPEND="${DEPEND}"
46 -
47 -src_compile(){
48 - if use debug ; then
49 - emake sambamba-ldmd2-debug
50 - else
51 - emake sambamba-ldmd2-64
52 - fi
53 -}
54
55 diff --git a/sci-biology/sambamba/sambamba-0.8.0.ebuild b/sci-biology/sambamba/sambamba-0.8.0.ebuild
56 new file mode 100644
57 index 000000000..d6da97806
58 --- /dev/null
59 +++ b/sci-biology/sambamba/sambamba-0.8.0.ebuild
60 @@ -0,0 +1,36 @@
61 +# Copyright 1999-2021 Gentoo Authors
62 +# Distributed under the terms of the GNU General Public License v2
63 +
64 +EAPI=7
65 +
66 +LZ4_COMMIT="b3692db46d2b23a7c0af2d5e69988c94f126e10a"
67 +
68 +DESCRIPTION="Parallell process SAM/BAM/CRAM files faster than samtools"
69 +HOMEPAGE="https://lomereiter.github.io/sambamba/"
70 +SRC_URI="https://github.com/lomereiter/sambamba/archive/v${PV}.tar.gz -> ${P}.tar.gz
71 + https://github.com/lz4/lz4/archive/${LZ4_COMMIT}.tar.gz"
72 +
73 +LICENSE="GPL-2+"
74 +SLOT="0"
75 +KEYWORDS=""
76 +IUSE="debug"
77 +
78 +# https://github.com/ldc-developers/gentoo-overlay/tree/master/dev-lang/ldc2
79 +#
80 +# contains bundled htslib
81 +DEPEND=""
82 +RDEPEND="${DEPEND}"
83 +
84 +src_unpack() {
85 + default
86 + rm -r "${S}/lz4" || die
87 + mv "${WORKDIR}/lz4-${LZ4_COMMIT}" "${S}/lz4" || die
88 +}
89 +
90 +src_compile(){
91 + if use debug ; then
92 + emake debug all
93 + else
94 + emake all
95 + fi
96 +}
97
98 diff --git a/sci-biology/sambamba/sambamba-9999.ebuild b/sci-biology/sambamba/sambamba-9999.ebuild
99 index 8cd4c3ba2..e655b10b0 100644
100 --- a/sci-biology/sambamba/sambamba-9999.ebuild
101 +++ b/sci-biology/sambamba/sambamba-9999.ebuild
102 @@ -1,12 +1,12 @@
103 -# Copyright 1999-2017 Gentoo Foundation
104 +# Copyright 1999-2021 Gentoo Authors
105 # Distributed under the terms of the GNU General Public License v2
106
107 -EAPI=6
108 +EAPI=7
109
110 inherit git-r3
111
112 DESCRIPTION="Parallell process SAM/BAM/CRAM files faster than samtools"
113 -HOMEPAGE="http://lomereiter.github.io/sambamba"
114 +HOMEPAGE="https://lomereiter.github.io/sambamba/"
115 EGIT_REPO_URI="https://github.com/lomereiter/sambamba.git"
116
117 LICENSE="GPL-2+"
118 @@ -21,8 +21,8 @@ RDEPEND="${DEPEND}"
119
120 src_compile(){
121 if use debug ; then
122 - emake sambamba-ldmd2-debug
123 + emake debug all
124 else
125 - emake sambamba-ldmd2-64
126 + emake all
127 fi
128 }