public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2016-09-24 11:24 Martin Mokrejs
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Mokrejs @ 2016-09-24 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     bae149ca5806b0db04206b0569f733a6c41a1007
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Sep 24 11:24:04 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Sep 24 11:24:04 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bae149ca

sci-biology/idba: new package, needed by biopieces, github issue #381

Package-Manager: portage-2.3.0

 sci-biology/idba/idba-1.1.1.ebuild | 34 ++++++++++++++++++++++++++++++++++
 sci-biology/idba/idba-9999.ebuild  | 34 ++++++++++++++++++++++++++++++++++
 sci-biology/idba/metadata.xml      | 12 ++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
new file mode 100644
index 0000000..d3a82a5
--- /dev/null
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
+HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba
+	https://code.google.com/archive/p/hku-idba"
+SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hku-idba/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+	# Makefile.am also forces '-fopenmp -pthread', do we care?
+	find . -name Makefile.in | while read f; do \
+		sed -e 's/-Wall -O3//' -i $f || die
+	done || die
+	default
+}
+
+src_install(){
+	default
+	# https://github.com/loneknightpy/idba/issues/23
+	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
+	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
+	dobin bin/*
+}

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
new file mode 100644
index 0000000..3252524
--- /dev/null
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit git-r3
+
+DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
+HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba_ud"
+EGIT_REPO_URI="https://github.com/loneknightpy/idba.git"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+	find . -name Makefile.in | while read f; do \
+		sed -e 's/-Wall -O3//' -i $f || die
+	done
+	default
+}
+
+src_install(){
+	default
+	# https://github.com/loneknightpy/idba/issues/23
+	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
+	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
+	dobin bin/*
+}

diff --git a/sci-biology/idba/metadata.xml b/sci-biology/idba/metadata.xml
new file mode 100644
index 0000000..f68a1b6
--- /dev/null
+++ b/sci-biology/idba/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mmokrejs@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci-biology@gentoo.org</email>
+    <name>Gentoo Biology Project</name>
+  </maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2017-01-08 16:43 Martin Mokrejs
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Mokrejs @ 2017-01-08 16:43 UTC (permalink / raw
  To: gentoo-commits

commit:     318a0e5475b970d0c596957e88af418c9eeb2aed
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Jan  8 16:43:45 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Jan  8 16:43:45 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=318a0e54

sci-biology/idba: document upstream opened issue number

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/idba/idba-1.1.1.ebuild | 4 ++--
 sci-biology/idba/idba-9999.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
index d3a82a5..d061f9a 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -30,5 +30,5 @@ src_install(){
 	# https://github.com/loneknightpy/idba/issues/23
 	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
-	dobin bin/*
+	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
 }

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index 3252524..da7f888 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -30,5 +30,5 @@ src_install(){
 	# https://github.com/loneknightpy/idba/issues/23
 	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
-	dobin bin/*
+	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2017-01-10  0:59 Martin Mokrejs
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Mokrejs @ 2017-01-10  0:59 UTC (permalink / raw
  To: gentoo-commits

commit:     c86c2b38245dd48b5de81f6359c993a3d72cdac7
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jan 10 00:59:00 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jan 10 00:59:00 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c86c2b38

sci-biology/idba: distinguish openmp cflags, fix compile and install steps

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/idba/idba-1.1.1.ebuild | 22 ++++++++++++++++++++--
 sci-biology/idba/idba-9999.ebuild  | 25 ++++++++++++++++++++++---
 2 files changed, 42 insertions(+), 5 deletions(-)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
index d061f9a..2c923af 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -12,19 +12,37 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="openmp"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
+pkg_setup() {
+	use openmp && ! tc-has-openmp && die "Please switch to an openmp compatible compiler"
+}
+
 src_prepare(){
 	# Makefile.am also forces '-fopenmp -pthread', do we care?
+	#code stolen from velvet-1.2.10.ebuild
+	if [[ $(tc-getCC) =~ gcc ]]; then
+		local eopenmp=-fopenmp
+	elif [[ $(tc-getCC) =~ icc ]]; then
+		local eopenmp=-openmp
+		sed -e 's/-fopenmp/-openmp/' -i BUILD || die
+	else
+		elog "Cannot detect compiler type so not setting openmp support"
+	fi
 	find . -name Makefile.in | while read f; do \
-		sed -e 's/-Wall -O3//' -i $f || die
+		sed -e "s/-Wall -O3//" -i $f || die
 	done || die
+	sed -e 's/"-Wall", "-O3", //' -i BUILD || die
 	default
 }
 
+src_compile(){
+	sh build.sh || die
+}
+
 src_install(){
 	default
 	# https://github.com/loneknightpy/idba/issues/23

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index da7f888..1932d8c 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit git-r3
+inherit git-r3 toolchain-funcs
 
 DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
 HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba_ud"
@@ -13,21 +13,40 @@ EGIT_REPO_URI="https://github.com/loneknightpy/idba.git"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
+IUSE="openmp"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
+pkg_setup() {
+	use openmp && ! tc-has-openmp && die "Please switch to an openmp compatible compiler"
+}
+
 src_prepare(){
+	if [[ $(tc-getCC) =~ gcc ]]; then
+		local eopenmp=-fopenmp
+	elif [[ $(tc-getCC) =~ icc ]]; then
+		local eopenmp=-openmp
+		sed -e 's/-fopenmp/-openmp/' -i BUILD || die
+	else
+		elog "Cannot detect compiler type so not setting openmp support"
+	fi
 	find . -name Makefile.in | while read f; do \
-		sed -e 's/-Wall -O3//' -i $f || die
+		sed -e "s/-Wall -O3 ${eopenmp}//" -i $f || die
 	done
+	sed -e 's/"-Wall", "-O3", //' -i BUILD || die
 	default
 }
 
+src_compile(){
+	sh build.sh || die
+}
+
 src_install(){
 	default
 	# https://github.com/loneknightpy/idba/issues/23
+	mkdir -p "${D}"/usr/bin || die
+	mv "${D}"/usr/local/bin/* "${D}"/usr/bin/ || die
 	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2017-02-18 15:02 Martin Mokrejs
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Mokrejs @ 2017-02-18 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     48b362f74b70162504386e78312526ba77210e02
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Feb 18 15:01:55 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Feb 18 15:01:55 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=48b362f7

sci-biology/idba: respect EPREFIX

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/idba/idba-1.1.1.ebuild | 2 +-
 sci-biology/idba/idba-9999.ebuild  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
index 2c923af80..e0e3b676a 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -46,7 +46,7 @@ src_compile(){
 src_install(){
 	default
 	# https://github.com/loneknightpy/idba/issues/23
-	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
+	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
 }

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index 1932d8c3a..d0a048611 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -45,9 +45,9 @@ src_compile(){
 src_install(){
 	default
 	# https://github.com/loneknightpy/idba/issues/23
-	mkdir -p "${D}"/usr/bin || die
-	mv "${D}"/usr/local/bin/* "${D}"/usr/bin/ || die
-	rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
+	mkdir -p "${ED}"/usr/bin || die
+	mv "${ED}"/usr/local/bin/* "${ED}"/usr/bin/ || die
+	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2017-02-18 15:07 Martin Mokrejs
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Mokrejs @ 2017-02-18 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     6df94ed0a73b56dd7bd9a6a33be3d0b881010deb
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Feb 18 15:06:59 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Feb 18 15:06:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6df94ed0

sci-biology/idba: respect EPREFIX v2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/idba/idba-1.1.1.ebuild | 3 ++-
 sci-biology/idba/idba-9999.ebuild  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
index e0e3b676a..23196fc60 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -45,7 +45,8 @@ src_compile(){
 
 src_install(){
 	default
-	# https://github.com/loneknightpy/idba/issues/23
+	mkdir -p "${ED}"/usr/bin || die
+	mv "${D}"/usr/local/bin/* "${ED}"/usr/bin/ || die "Move to EPREFIX-compliant place"
 	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index d0a048611..60e29d23c 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -46,7 +46,7 @@ src_install(){
 	default
 	# https://github.com/loneknightpy/idba/issues/23
 	mkdir -p "${ED}"/usr/bin || die
-	mv "${ED}"/usr/local/bin/* "${ED}"/usr/bin/ || die
+	mv "${D}"/usr/local/bin/* "${ED}"/usr/bin/ || die "Move to EPREFIX-compliant place"
 	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2017-02-18 15:12 Martin Mokrejs
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Mokrejs @ 2017-02-18 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     71492b0b15715bad8ef271e99c279353cfacb743
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Feb 18 15:12:12 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Feb 18 15:12:12 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=71492b0b

sci-biology/idba: respect EPREFIX v3

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/idba/idba-1.1.1.ebuild | 1 +
 sci-biology/idba/idba-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
index 23196fc60..3ce9222b4 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -50,4 +50,5 @@ src_install(){
 	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
+	if [ ! -z "${EPREFIX}" ]; then rm -rf "${D}"/usr || die "Failed to zap empty non-EPREFIXED dirs"; fi
 }

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index 60e29d23c..933818770 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -50,4 +50,5 @@ src_install(){
 	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
 	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
 	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
+	if [ ! -z "${EPREFIX}" ]; then rm -rf "${D}"/usr || die "Failed to zap empty non-EPREFIXED dirs"; fi
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
@ 2021-03-06 11:22 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-03-06 11:22 UTC (permalink / raw
  To: gentoo-commits

commit:     2178bca91ef28562c36d52ca0dfd2c64282ff87e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar  6 11:22:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar  6 11:22:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2178bca9

sci-biology/idba: version bump 1.1.3, EAPI bump

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../idba/{idba-1.1.1.ebuild => idba-1.1.3.ebuild}  | 26 +++++-----------------
 sci-biology/idba/idba-9999.ebuild                  |  6 ++---
 2 files changed, 9 insertions(+), 23 deletions(-)

diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.3.ebuild
similarity index 51%
rename from sci-biology/idba/idba-1.1.1.ebuild
rename to sci-biology/idba/idba-1.1.3.ebuild
index 5054d3363..fb4583346 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.3.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
+inherit toolchain-funcs
 
 DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
-HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba
-	https://code.google.com/archive/p/hku-idba"
-SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hku-idba/${P}.tar.gz"
+HOMEPAGE="https://i.cs.hku.hk/~alse/hkubrg/projects/idba_ud/"
+SRC_URI="https://github.com/loneknightpy/idba/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -34,20 +35,5 @@ src_prepare(){
 	find . -name Makefile.in | while read f; do \
 		sed -e "s/-Wall -O3//" -i $f || die
 	done || die
-	sed -e 's/"-Wall", "-O3", //' -i BUILD || die
-	default
-}
-
-src_compile(){
-	sh build.sh || die
-}
-
-src_install(){
 	default
-	mkdir -p "${ED}"/usr/bin || die
-	mv "${D}"/usr/local/bin/* "${ED}"/usr/bin/ || die "Move to EPREFIX-compliant place"
-	rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
-	rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
-	dobin bin/* # https://github.com/loneknightpy/idba/issues/23
-	if [ ! -z "${EPREFIX}" ]; then rm -rf "${D}"/usr || die "Failed to zap empty non-EPREFIXED dirs"; fi
 }

diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index 5810e7506..b90f44141 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit git-r3 toolchain-funcs
 
 DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
-HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba_ud"
+HOMEPAGE="https://i.cs.hku.hk/~alse/hkubrg/projects/idba_ud/"
 EGIT_REPO_URI="https://github.com/loneknightpy/idba.git"
 
 LICENSE="GPL-2+"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-06 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-08 16:43 [gentoo-commits] proj/sci:master commit in: sci-biology/idba/ Martin Mokrejs
  -- strict thread matches above, loose matches on Subject: below --
2021-03-06 11:22 Andrew Ammerlaan
2017-02-18 15:12 Martin Mokrejs
2017-02-18 15:07 Martin Mokrejs
2017-02-18 15:02 Martin Mokrejs
2017-01-10  0:59 Martin Mokrejs
2016-09-24 11:24 Martin Mokrejs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox