summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-03-19 12:38:05 +0100
committerDavid Seifert <soap@gentoo.org>2022-03-19 12:38:05 +0100
commit65bf4360727a6bceed339106305247eb0962f654 (patch)
tree088a2a1161ab4050cb6d92a47cd60af831a66e06 /sci-biology
parentsci-biology/samtools: add 1.15 (diff)
downloadgentoo-65bf4360727a6bceed339106305247eb0962f654.tar.gz
gentoo-65bf4360727a6bceed339106305247eb0962f654.tar.bz2
gentoo-65bf4360727a6bceed339106305247eb0962f654.zip
sci-biology/bcftools: add 1.15
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/bcftools/Manifest1
-rw-r--r--sci-biology/bcftools/bcftools-1.15.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sci-biology/bcftools/Manifest b/sci-biology/bcftools/Manifest
index bfc2b78ed049..32704684a3cf 100644
--- a/sci-biology/bcftools/Manifest
+++ b/sci-biology/bcftools/Manifest
@@ -1 +1,2 @@
DIST bcftools-1.13.tar.bz2 6906796 BLAKE2B 4c02d65733d28684f9a976e082913d79dbac4463c9471fc26d8ee0cbe7ad25af429cf7d01b9771bc34309386ccd2d77ebd54fbf64ed4183d1c2ebfbc0e727afb SHA512 aa533233dd2fec2279859204be39430c4fc630137a91d57fe917fd7a220044d5202ddc3d44bcffc3bd5bd5bb64f6ea4c8ec3c31e5e1ec72399998f1e6f23a55a
+DIST bcftools-1.15.tar.bz2 6899394 BLAKE2B 44d11f5d594c547c0e3dfdcc9b2d8b55d837d17cf98465c4ce153ad0a8dce3db172276bdd24ad3dcecb3c9a064c649f3cbcc13e09194c2f655796e9a478cb27f SHA512 43fd7414c93175c6a8d69c8f8ba681a8c1f6b934ce0834dc130ff367825e60aa57736e36d379e5bdee84a01d018ee36eeeedebdbce85161745a5a063abdbca44
diff --git a/sci-biology/bcftools/bcftools-1.15.ebuild b/sci-biology/bcftools/bcftools-1.15.ebuild
new file mode 100644
index 000000000000..4ec6b0a7e097
--- /dev/null
+++ b/sci-biology/bcftools/bcftools-1.15.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit python-single-r1
+
+DESCRIPTION="Utilities for variant calling and manipulating VCF and BCF files"
+HOMEPAGE="http://www.htslib.org"
+SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ dev-lang/perl
+ $(python_gen_cond_dep '
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ ')
+ =sci-libs/htslib-${PV}*:=
+ sys-libs/zlib
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+src_prepare() {
+ default
+
+ python_fix_shebang misc/{gff2gff,guess-ploidy,plot-roh}.py
+
+ # remove bundled htslib
+ rm -r htslib-* || die
+}
+
+src_configure() {
+ econf \
+ --disable-bcftools-plugins \
+ --disable-libgsl \
+ --with-htslib=system
+}