public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jakov Smolić" <jakov.smolic@sartura.hr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/rnaplex/, sci-biology/rnaplex/files/
Date: Sat, 20 Feb 2021 23:26:18 +0000 (UTC)	[thread overview]
Message-ID: <1613858261.2b0744a231b93f5e09b63375005fb6e522999c9a.jakov.smolic@gentoo> (raw)

commit:     2b0744a231b93f5e09b63375005fb6e522999c9a
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Feb 20 20:21:18 2021 +0000
Commit:     Jakov Smolić <jakov.smolic <AT> sartura <DOT> 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 <jakov.smolic <AT> 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
+}


                 reply	other threads:[~2021-02-20 23:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613858261.2b0744a231b93f5e09b63375005fb6e522999c9a.jakov.smolic@gentoo \
    --to=jakov.smolic@sartura.hr \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox