From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8217C15802F for ; Fri, 24 Feb 2023 07:30:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF230E079E; Fri, 24 Feb 2023 07:30:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B70E4E079E for ; Fri, 24 Feb 2023 07:30:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8083633BE33 for ; Fri, 24 Feb 2023 07:30:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29BAC8AA for ; Fri, 24 Feb 2023 07:30:11 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1677223795.ad0f0da9f1b0df76d06b2bd4c52ce233ce4c8001.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/bowtie/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-biology/bowtie/Manifest sci-biology/bowtie/bowtie-2.5.1.ebuild X-VCS-Directories: sci-biology/bowtie/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ad0f0da9f1b0df76d06b2bd4c52ce233ce4c8001 X-VCS-Branch: master Date: Fri, 24 Feb 2023 07:30:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 952b3462-0b3a-48f3-96bc-11686fb81f66 X-Archives-Hash: 15fb640bd54247d8f82bb17df01abd5b commit: ad0f0da9f1b0df76d06b2bd4c52ce233ce4c8001 Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Feb 24 07:29:55 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 24 07:29:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0f0da9 sci-biology/bowtie: add 2.5.1 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-biology/bowtie/Manifest | 1 + sci-biology/bowtie/bowtie-2.5.1.ebuild | 73 ++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/sci-biology/bowtie/Manifest b/sci-biology/bowtie/Manifest index e62703395825..274e5e7b9fb6 100644 --- a/sci-biology/bowtie/Manifest +++ b/sci-biology/bowtie/Manifest @@ -1 +1,2 @@ DIST bowtie2-2.4.4-source.zip 10515984 BLAKE2B be4ceb9d3155d2a9a1f580e5032251b04b89ce0c8c9c89fc3551b34fe3bd71a683362488be7aad6daef24734c6f95c19223f20e67f198f745c4432381243039c SHA512 1b5dadd7e41b90bb9b05f50bfa171fe219cfd03aa8bb6f800de4baaffeb975eef6efc4fb8b49cb0d18833f74a1741cbe1556b87388f59188e04a55dcee6a02da +DIST bowtie2-2.5.1-source.zip 10528859 BLAKE2B 9dc22bfef4b3a1cfaa606cb235acd1d7688015678d82e8ca80d3d7cf269e1f45d6cb60bc29eb334fb6f0c25d5afd8202e83a83e53668c8965857b8885d2692c8 SHA512 31cc642e318ab50e7ef6035a9c2095024d46d92a317011ed0c3ac3ccb3d427a13bf724d0158d29a4f1e07115ddcb85229b95bcb2d4351164fcadd6568293565f diff --git a/sci-biology/bowtie/bowtie-2.5.1.ebuild b/sci-biology/bowtie/bowtie-2.5.1.ebuild new file mode 100644 index 000000000000..353362fd6026 --- /dev/null +++ b/sci-biology/bowtie/bowtie-2.5.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="Popular short read aligner for Next-generation sequencing data" +HOMEPAGE="https://bowtie-bio.sourceforge.net/bowtie2/" +SRC_URI="mirror://sourceforge/project/${PN}-bio/bowtie2/${PV}/bowtie2-${PV}-source.zip" +S="${WORKDIR}/${PN}2-${PV}" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +IUSE="test cpu_flags_x86_sse2 examples" +# Test script missing from tarball +# ./scripts/sim/run.sh: No such file or directory +RESTRICT="test" +REQUIRED_USE="cpu_flags_x86_sse2 ${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/unzip + test? ( + dev-perl/App-cpanminus + dev-perl/B-COW + dev-perl/Clone + dev-perl/Config-General + dev-perl/File-Which + dev-perl/local-lib + dev-perl/Math-Random + dev-perl/Test-Deep + dev-perl/Text-Template + ) +" + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="" \ + CPPFLAGS="${CPPFLAGS}" \ + EXTRA_FLAGS="${LDFLAGS}" \ + RELEASE_FLAGS="${CXXFLAGS} -msse2" +} + +src_install() { + dobin bowtie2 bowtie2-* + + exeinto /usr/libexec/bowtie2 + doexe scripts/* + + HTML_DOCS=( doc/{manual.html,style.css} ) + einstalldocs + dodoc TUTORIAL + newman MANUAL bowtie2.1 + + python_fix_shebang "${ED}"/usr/bin/bowtie2-{build,inspect} + + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi +}