commit: 270ff0b656517ea65b50be638d7941592438ed05 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Mon Feb 2 16:03:48 2026 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Mon Feb 2 16:03:48 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270ff0b6
sci-biology/samtools: add 1.23 Signed-off-by: David Seifert <soap <AT> gentoo.org> sci-biology/samtools/Manifest | 1 + sci-biology/samtools/samtools-1.23.ebuild | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/sci-biology/samtools/Manifest b/sci-biology/samtools/Manifest index f41a99a9a975..43a41ae4a17b 100644 --- a/sci-biology/samtools/Manifest +++ b/sci-biology/samtools/Manifest @@ -2,3 +2,4 @@ DIST samtools-1.20.tar.bz2 9179938 BLAKE2B b534e659899a822e191c779a6ce9247854036 DIST samtools-1.21.tar.bz2 9149284 BLAKE2B f4e0b155b0bc8aaea81835e751d94c121f6256340e2db3a809d1ee46bed16168a0fb43d9359bf4c3967d0b77ab1151e105107c47eb0481a2c49414ffd5f1faa2 SHA512 4f80a4333ebb4dc0eb5f38f29474424b1acca9b677aa206b111c7a638b8ae924ab2dcdc9de15eb1b849576d0158579a476a7b78ccd73e7d2baafc3bbb88c6103 DIST samtools-1.22.1.tar.bz2 9269357 BLAKE2B 240b2166a548d398af18e5c5b1897988e4a1267988e1c3f508c990b05cfa684ca631336971d28ce08581b9d65c3b33cdb1be4cfabc5b65e210c3ae0a57215881 SHA512 31d05490f3b5d8879b7cdfe16bb628e2a1c42fdfd98873f55796b94e2d59a86cd58d7a820758d368998f0c013a26da838a7b051c01f0f22d38362ae13d069600 DIST samtools-1.22.tar.bz2 9292743 BLAKE2B 74805efe6035d4987762c5d9c5fc1ede217f8c67e1778767c2e611c0844639149c73b7cef40649212ba3dcd11f089d0ede91f6127df31433d4e33c8f22378b93 SHA512 8bb4d68ac5f819d6e175f43d8719402f17636b958ed016a943dc6c1971704f405908562ff9fe8f3c7c8725f729057024b305a6ca428a09be8b1e63a1df1cd578 +DIST samtools-1.23.tar.bz2 9357675 BLAKE2B 253ded3935bce0f8d7329fd1d6bafb194bf2c0821bdd378a31b0e0646f53940df252df69cc830ea4bef360285349c07cb6b13f3c1a0c8e4e1321feeb21500a84 SHA512 cf3442cd731729b5a9f9487843ea98bbb31db853c253109a97dec6e609d0df9095223ab47d8ce3cb8b3536a8d26e2f616e732d115b1340247873f41659688bac diff --git a/sci-biology/samtools/samtools-1.23.ebuild b/sci-biology/samtools/samtools-1.23.ebuild new file mode 100644 index 000000000000..1c202445e9de --- /dev/null +++ b/sci-biology/samtools/samtools-1.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Utilities for analysing and manipulating the SAM/BAM alignment formats" +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 ~x64-macos" + +RDEPEND=" + dev-lang/perl + =sci-libs/htslib-$(ver_cut 1-2)*:= + sys-libs/ncurses:=[unicode(+)] + virtual/zlib:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # remove bundled htslib + rm -r htslib-* || die +} + +src_configure() { + econf \ + --with-ncurses \ + --with-htslib=system \ + CURSES_LIB="$($(tc-getPKG_CONFIG) --libs ncursesw || die)" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +}
