commit:     bc37c11b916f4db2d7135345be34e02ff828eb38
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar  6 15:36:41 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar  6 15:36:41 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bc37c11b

sci-biology/trans-abyss: update, fix install, EAPI bump

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

 sci-biology/trans-abyss/trans-abyss-1.4.8.ebuild | 24 ----------------
 sci-biology/trans-abyss/trans-abyss-2.0.1.ebuild | 35 ++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 24 deletions(-)

diff --git a/sci-biology/trans-abyss/trans-abyss-1.4.8.ebuild 
b/sci-biology/trans-abyss/trans-abyss-1.4.8.ebuild
deleted file mode 100644
index dbb2d668f..000000000
--- a/sci-biology/trans-abyss/trans-abyss-1.4.8.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="Analyze and combine multiple assemblies from abyss"
-HOMEPAGE="http://www.bcgsc.ca/platform/bioinfo/software/trans-abyss";
-SRC_URI="http://www.bcgsc.ca/platform/bioinfo/software/trans-abyss/releases/${PV}/trans-ABySS-v${PV}_20130916.tar.gz";
-
-# http://www.bcgsc.ca/platform/bioinfo/license/bcca_2010
-LICENSE="bcca_2010"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# perl and python
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/trans-ABySS-v"${PV}"
-
-# TODO
-#src_install(){
-#}

diff --git a/sci-biology/trans-abyss/trans-abyss-2.0.1.ebuild 
b/sci-biology/trans-abyss/trans-abyss-2.0.1.ebuild
new file mode 100644
index 000000000..859783cc0
--- /dev/null
+++ b/sci-biology/trans-abyss/trans-abyss-2.0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_7 )
+
+inherit python-r1
+
+DESCRIPTION="Analyze and combine multiple assemblies from abyss"
+HOMEPAGE="https://www.bcgsc.ca/resources/software/trans-abyss";
+SRC_URI="https://github.com/bcgsc/transabyss/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+       dev-lang/perl
+       dev-python/python-igraph[${PYTHON_USEDEP}]
+       sci-biology/abyss
+       sci-biology/blat
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/transabyss-${PV}"
+
+src_install() {
+       einstalldocs
+       python_foreach_impl python_domodule utilities
+       dobin transabyss
+       dobin transabyss-merge
+}

Reply via email to