Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/bedtools/
Date: Tue, 23 Feb 2021 16:50:01
Message-Id: 1614098985.3f7de88151115f14fdb6036dcffa110a0104d55b.soap@gentoo
1 commit: 3f7de88151115f14fdb6036dcffa110a0104d55b
2 Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 23 16:49:45 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 16:49:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7de881
7
8 sci-biology/bedtools: bump to 2.30.0
9
10 * The samtools patch is no longer needed, as upstream has fixed this.
11 Test suite passes without it now.
12
13 Closes: https://github.com/gentoo/gentoo/pull/19616
14 Closes: https://bugs.gentoo.org/696188
15 Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
16 Signed-off-by: David Seifert <soap <AT> gentoo.org>
17
18 sci-biology/bedtools/Manifest | 1 +
19 sci-biology/bedtools/bedtools-2.30.0.ebuild | 49 +++++++++++++++++++++++++++++
20 2 files changed, 50 insertions(+)
21
22 diff --git a/sci-biology/bedtools/Manifest b/sci-biology/bedtools/Manifest
23 index 5dc912159a4..d2d1a7150f7 100644
24 --- a/sci-biology/bedtools/Manifest
25 +++ b/sci-biology/bedtools/Manifest
26 @@ -1 +1,2 @@
27 DIST bedtools-2.29.2.tar.gz 20646485 BLAKE2B cdfff7a0f5300f31c2487e98bd28dc7e8b7f3575a098947c2c7b3a6e30272a80d35f07997d3a00bd42d91bf60899f32358b25b054b6f40b761cc66e2788508b3 SHA512 138ff029995e9889d2e43f884fa15bb5614d11cf75dfe18e2999aad0915e80f49444e67c9934c92ca8e28caad399394b493db8a1bee9f5304413a8c41c22c6d5
28 +DIST bedtools-2.30.0.tar.gz 20648577 BLAKE2B 042bc31e846455cb1c20199f7a27a3850851f7c256a45b1e674c7aa48ecedc211b0fdfc5e25f915b588f21447e757ebff2bba16a65905bb10d3c88e4b17b1db1 SHA512 3993243cc3db12d194d6220aeae200e6af843d6d32d4e5a9a82d04c9d119f8ed47e618e87241edfa82cfac081bc9a40ada18f097d21b0cafc5f912ae012701c9
29
30 diff --git a/sci-biology/bedtools/bedtools-2.30.0.ebuild b/sci-biology/bedtools/bedtools-2.30.0.ebuild
31 new file mode 100644
32 index 00000000000..3647f43dabe
33 --- /dev/null
34 +++ b/sci-biology/bedtools/bedtools-2.30.0.ebuild
35 @@ -0,0 +1,49 @@
36 +# Copyright 1999-2021 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +PYTHON_COMPAT=( python3_{7..9} )
42 +
43 +inherit python-any-r1 toolchain-funcs
44 +
45 +DESCRIPTION="Tools for manipulation and analysis of BED, GFF/GTF, VCF, SAM/BAM file formats"
46 +HOMEPAGE="https://bedtools.readthedocs.io/"
47 +SRC_URI="https://github.com/arq5x/${PN}2/releases/download/v${PV}/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="test"
53 +RESTRICT="!test? ( test )"
54 +
55 +RDEPEND="
56 + app-arch/bzip2
57 + app-arch/xz-utils
58 + sys-libs/zlib"
59 +DEPEND="${RDEPEND}"
60 +BDEPEND="
61 + ${PYTHON_DEPS}
62 + test? ( >=sci-biology/samtools-1.10:0 )"
63 +
64 +S="${WORKDIR}"/${PN}2
65 +
66 +# bedtools2 has a *terrible* build system and development practices.
67 +# Upstream has forked htslib 1.9 and extended it by adding clever callbacks
68 +# that make unbundling it nigh impossible. There are no signs of upstream porting
69 +# their fork to 1.10, which means we're stuck with the bundled version.
70 +PATCHES=(
71 + "${FILESDIR}"/${PN}-2.29.2-buildsystem.patch
72 + "${FILESDIR}"/${PN}-2.29.2-python.patch
73 +)
74 +
75 +src_configure() {
76 + tc-export AR CC CXX RANLIB
77 +}
78 +
79 +src_install() {
80 + default
81 +
82 + insinto /usr/share/${PN}
83 + doins -r genomes
84 +}