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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0FBC139695 for ; Sun, 26 Feb 2017 19:19:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 044E8E0C4F; Sun, 26 Feb 2017 19:18:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D26DEE0C4E for ; Sun, 26 Feb 2017 19:18:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD5C6340EF6 for ; Sun, 26 Feb 2017 19:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CAFC558C for ; Sun, 26 Feb 2017 19:18:55 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1488136718.d7aab918caf0a3dc9e599a8407df20df8db38d4d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/ariadne/, sci-biology/ariadne/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-biology/ariadne/ariadne-1.3-r3.ebuild sci-biology/ariadne/files/ariadne-1.3-gcc4.patch X-VCS-Directories: sci-biology/ariadne/files/ sci-biology/ariadne/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d7aab918caf0a3dc9e599a8407df20df8db38d4d X-VCS-Branch: master Date: Sun, 26 Feb 2017 19:18:55 +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-Archives-Salt: 68988624-b629-41c3-acec-71a6892614df X-Archives-Hash: ecbacfe509fba6748364cf64a3752b74 commit: d7aab918caf0a3dc9e599a8407df20df8db38d4d Author: David Seifert gentoo org> AuthorDate: Sun Feb 26 19:16:40 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Feb 26 19:18:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aab918 sci-biology/ariadne: Modernise to EAPI 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sci-biology/ariadne/ariadne-1.3-r3.ebuild | 47 ++++++++++++++++++++++++ sci-biology/ariadne/files/ariadne-1.3-gcc4.patch | 4 +- 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/sci-biology/ariadne/ariadne-1.3-r3.ebuild b/sci-biology/ariadne/ariadne-1.3-r3.ebuild new file mode 100644 index 0000000000..8be74e1353 --- /dev/null +++ b/sci-biology/ariadne/ariadne-1.3-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Protein sequences and profiles comparison" +HOMEPAGE="http://www.well.ox.ac.uk/ariadne/" +SRC_URI="http://www.well.ox.ac.uk/${PN}/${P}.tar.Z" + +LICENSE="ARIADNE" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DEPEND=">=sci-biology/ncbi-tools-0.20041020-r1" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/SRC-${PV} + +PATCHES=( + "${FILESDIR}"/${P}-gcc4.patch + "${FILESDIR}"/${P}-implicits.patch +) + +src_prepare() { + default + sed -i -e "s/\$(CFLAGS)/\$(LDFLAGS) &/" Makefile || die #359045 + sed -e "s/blosum62/BLOSUM62/" -i prospero.c || die +} + +src_compile() { + emake CC="$(tc-getCC)" OPTIMISE="${CFLAGS}" +} + +src_install() { + dobin Linux/{ariadne,prospero} + + use static-libs && dolib.a Linux/libseq.a + + insinto /usr/include/${PN} + doins Include/*.h + + einstalldocs +} diff --git a/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch b/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch index 0192efd4db..8bda75cb4f 100644 --- a/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch +++ b/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch @@ -1,5 +1,5 @@ ---- cl.c.old 2006-09-12 17:13:02.000000000 -0400 -+++ cl.c 2006-09-12 17:13:34.000000000 -0400 +--- a/cl.c ++++ b/cl.c @@ -658,6 +658,7 @@ fclose(fp); if ( ! stat( filename, &buf ) )