public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/prank/, sci-biology/prank/files/
Date: Thu,  7 Jul 2022 19:58:13 +0000 (UTC)	[thread overview]
Message-ID: <1657223828.39e97c83356a57c6181602feda6a2da0e1127f6b.soap@gentoo> (raw)

commit:     39e97c83356a57c6181602feda6a2da0e1127f6b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 19:57:08 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 19:57:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e97c83

sci-biology/prank: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../prank/files/prank-140603-fix-c++14.patch       |  2 +-
 .../prank/files/prank-140603-makefile.patch        | 28 ++++++++++++++++
 sci-biology/prank/prank-140603-r1.ebuild           | 28 ++++++++++++++++
 sci-biology/prank/prank-140603.ebuild              | 38 ----------------------
 4 files changed, 57 insertions(+), 39 deletions(-)

diff --git a/sci-biology/prank/files/prank-140603-fix-c++14.patch b/sci-biology/prank/files/prank-140603-fix-c++14.patch
index 5779207e294f..211e377d798a 100644
--- a/sci-biology/prank/files/prank-140603-fix-c++14.patch
+++ b/sci-biology/prank/files/prank-140603-fix-c++14.patch
@@ -8,7 +8,7 @@ See also: https://bugs.gentoo.org/show_bug.cgi?id=594060
      else
      {
 -        cout<<"HMModel::alignmentModel: impossible 'as'"<<cout;
-+        cout<<"HMModel::alignmentModel: impossible 'as'"<<bool(cout);
++        cout<<"HMModel::alignmentModel: impossible 'as'";
          exit(-1);
      }
  

diff --git a/sci-biology/prank/files/prank-140603-makefile.patch b/sci-biology/prank/files/prank-140603-makefile.patch
new file mode 100644
index 000000000000..eeb74df89b4c
--- /dev/null
+++ b/sci-biology/prank/files/prank-140603-makefile.patch
@@ -0,0 +1,28 @@
+--- a/Makefile
++++ b/Makefile
+@@ -4,14 +4,8 @@
+ 
+ ####### Compiler, tools and options
+ 
+-CC            = gcc
+-CXX           = g++
+-DEFINES       = 
+-CFLAGS        = -m64 -pipe -O3 $(DEFINES)
+-CXXFLAGS      = -m64 -pipe -O3 $(DEFINES)
+-INCPATH       = -I. -I/usr/include
+-LINK          = g++
+-LFLAGS        = -m64
++INCPATH       = $(CPPFLAGS) -I.
++LINK          = $(CXX)
+ LIBS          = $(SUBLIBS)    
+ AR            = ar cqs
+ RANLIB        = 
+@@ -136,7 +130,7 @@
+ all: Makefile $(TARGET) $(MANPAGES)
+ 
+ $(TARGET):  $(OBJECTS)  
+-	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
++	$(LINK) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+ 
+ 
+ clean:compiler_clean 

diff --git a/sci-biology/prank/prank-140603-r1.ebuild b/sci-biology/prank/prank-140603-r1.ebuild
new file mode 100644
index 000000000000..9128cf9cf99b
--- /dev/null
+++ b/sci-biology/prank/prank-140603-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Probabilistic Alignment Kit"
+HOMEPAGE="http://wasabiapp.org/software/prank/"
+SRC_URI="http://wasabiapp.org/download/${PN}/${PN}.source.${PV}.tgz"
+S="${WORKDIR}/${PN}-msa/src"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-makefile.patch
+	"${FILESDIR}"/${P}-fix-c++14.patch
+)
+
+src_configure() {
+	tc-export CXX
+}
+
+src_install() {
+	dobin prank
+}

diff --git a/sci-biology/prank/prank-140603.ebuild b/sci-biology/prank/prank-140603.ebuild
deleted file mode 100644
index a29e425f43bf..000000000000
--- a/sci-biology/prank/prank-140603.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Probabilistic Alignment Kit"
-HOMEPAGE="http://wasabiapp.org/software/prank/"
-SRC_URI="http://wasabiapp.org/download/${PN}/${PN}.source.${PV}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86"
-
-S="${WORKDIR}/${PN}-msa/src"
-PATCHES=( "${FILESDIR}/${PN}-140603-fix-c++14.patch" )
-
-src_prepare() {
-	sed \
-		-e "s/\$(LINK)/& \$(LDFLAGS)/" \
-		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
-		-i Makefile || die
-	default
-}
-
-src_compile() {
-	emake \
-		LINK="$(tc-getCXX)" \
-		CXX="$(tc-getCXX)" \
-		CFLAGS="${CFLAGS}" \
-		CXXFLAGS="${CXXFLAGS}"
-}
-
-src_install() {
-	dobin ${PN}
-}


             reply	other threads:[~2022-07-07 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07 19:58 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-20 21:07 [gentoo-commits] repo/gentoo:master commit in: sci-biology/prank/, sci-biology/prank/files/ David Seifert
2016-09-20 21:07 David Seifert

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=1657223828.39e97c83356a57c6181602feda6a2da0e1127f6b.soap@gentoo \
    --to=soap@gentoo.org \
    --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