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 08B5513835A for ; Sat, 20 Feb 2021 23:26:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29F56E087A; Sat, 20 Feb 2021 23:26:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D39FE087A for ; Sat, 20 Feb 2021 23:26:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA159340E1E for ; Sat, 20 Feb 2021 23:26:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1411D4EF for ; Sat, 20 Feb 2021 23:26:18 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1613858261.2b0744a231b93f5e09b63375005fb6e522999c9a.jakov.smolic@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/rnaplex/, sci-biology/rnaplex/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/rnaplex/files/rnaplex-0.2-inline.patch sci-biology/rnaplex/rnaplex-0.2.ebuild X-VCS-Directories: sci-biology/rnaplex/files/ sci-biology/rnaplex/ X-VCS-Committer: jakov.smolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 2b0744a231b93f5e09b63375005fb6e522999c9a X-VCS-Branch: master Date: Sat, 20 Feb 2021 23:26:18 +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: 37c924ec-e1ef-499a-9b76-a24bea4d3e8e X-Archives-Hash: b5b421d9872bc3db8d4ee44d4ba799bd commit: 2b0744a231b93f5e09b63375005fb6e522999c9a Author: Jakov Smolic sartura hr> AuthorDate: Sat Feb 20 20:21:18 2021 +0000 Commit: Jakov Smolić sartura hr> CommitDate: Sat Feb 20 21:57:41 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2b0744a2 sci-biology/rnaplex: Port to EAPI 7 Closes: https://bugs.gentoo.org/755770 Signed-off-by: Jakov Smolic sartura.hr> sci-biology/rnaplex/files/rnaplex-0.2-inline.patch | 14 ++++++++++++++ sci-biology/rnaplex/rnaplex-0.2.ebuild | 17 ++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/sci-biology/rnaplex/files/rnaplex-0.2-inline.patch b/sci-biology/rnaplex/files/rnaplex-0.2-inline.patch new file mode 100644 index 000000000..30d05cd97 --- /dev/null +++ b/sci-biology/rnaplex/files/rnaplex-0.2-inline.patch @@ -0,0 +1,14 @@ +--- a/lib/fold.c ++++ b/lib/fold.c +@@ -64,9 +64,9 @@ PRIVATE void backtrack(const char *sequence, int s); + PRIVATE int fill_arrays(const char *sequence); + /*@unused@*/ + INLINE PRIVATE int oldLoopEnergy(int i, int j, int p, int q, int type, int type_2); +-INLINE int LoopEnergy(int n1, int n2, int type, int type_2, ++int LoopEnergy(int n1, int n2, int type, int type_2, + int si1, int sj1, int sp1, int sq1); +-INLINE int HairpinE(int size, int type, int si1, int sj1, const char *string); ++int HairpinE(int size, int type, int si1, int sj1, const char *string); + + #define MAXSECTORS 500 /* dimension for a backtrack array */ + #define LOCALITY 0. /* locality parameter for base-pairs */ diff --git a/sci-biology/rnaplex/rnaplex-0.2.ebuild b/sci-biology/rnaplex/rnaplex-0.2.ebuild index 11de0007c..5892f4676 100644 --- a/sci-biology/rnaplex/rnaplex-0.2.ebuild +++ b/sci-biology/rnaplex/rnaplex-0.2.ebuild @@ -1,17 +1,24 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -MY_P=RNAplex-${PV} +inherit flag-o-matic +MY_P=RNAplex-${PV} DESCRIPTION="RNA-RNA interaction search" HOMEPAGE="http://www.bioinf.uni-leipzig.de/Software/RNAplex/" SRC_URI="http://www.bioinf.uni-leipzig.de/Software/RNAplex/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -IUSE="" KEYWORDS="~amd64 ~x86" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}"/${P}-inline.patch ) + +src_configure() { + append-cflags -fcommon + default +}