commit: ef081ac76fedf3af034da77298fcc1b541e2c5ec Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Mon Jan 18 11:33:07 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Jan 18 11:33:07 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ef081ac7
sci-chemistry/talosn: fix fetch Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> .../talosn/talosn-4.01.2013.148.15.55-r3.ebuild | 67 ---------------------- .../talosn/talosn-4.12.2015.147.15.40.ebuild | 9 +-- 2 files changed, 5 insertions(+), 71 deletions(-) diff --git a/sci-chemistry/talosn/talosn-4.01.2013.148.15.55-r3.ebuild b/sci-chemistry/talosn/talosn-4.01.2013.148.15.55-r3.ebuild deleted file mode 100644 index d308ded66..000000000 --- a/sci-chemistry/talosn/talosn-4.01.2013.148.15.55-r3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit java-pkg-opt-2 - -DESCRIPTION="Prediction of Protein bb and sc Torsion Angles from NMR Chemical Shifts" -HOMEPAGE="http://spin.niddk.nih.gov/bax/software/TALOS-N/" -SRC_URI="http://spin.niddk.nih.gov/bax/software/TALOS-N/talosn.tZ -> ${P}.tgz" - -SLOT="0" -LICENSE="all-rights-reserved" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -DEPEND=">=virtual/jre-1.5:*" -RDEPEND="${DEPEND} - app-shells/tcsh - sci-biology/ncbi-tools" - -S="${WORKDIR}" - -QA_PREBUILT="/opt/.*" - -src_prepare() { - local s64 - use amd64 || s64="_x64" - rm -f bin/TALOSN.{linux,mac,static.*,winxp,linux9${s64}} || die - - sed \ - -e '/setenv TALOSN_DIR/d' \ - -e "/set BLAST/s:=.*:= \"${EPREFIX}/usr/bin/blastpgp\":g" \ - -e '/set NR_DBNAME/s:=.*:= ${BLASTDB}:g' \ - -i talosn_ss || die -} - -src_install() { - local TALOSN="/opt/${PN}" - exeinto ${TALOSN}/bin - doexe bin/* - - exeinto ${TALOSN}/com - doexe com/* - - exeinto /opt/bin - doexe talosn{,_ss} - - insinto ${TALOSN} - doins -r tab - - java-pkg_jarinto ${TALOSN} - java-pkg_dojar rama.jar - - java-pkg_dolauncher jrama --jar rama.jar -into /opt/ - - if use examples; then - insinto /usr/share/${PN} - doins -r demo - fi - - cat >> "${T}"/40talosn <<- EOF - TALOSN_DIR="${EPREFIX}/${TALOSN}" - #BLASTDB= - EOF - doenvd "${T}"/40talosn -} diff --git a/sci-chemistry/talosn/talosn-4.12.2015.147.15.40.ebuild b/sci-chemistry/talosn/talosn-4.12.2015.147.15.40.ebuild index d308ded66..1fbcea875 100644 --- a/sci-chemistry/talosn/talosn-4.12.2015.147.15.40.ebuild +++ b/sci-chemistry/talosn/talosn-4.12.2015.147.15.40.ebuild @@ -1,13 +1,13 @@ -# 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 inherit java-pkg-opt-2 DESCRIPTION="Prediction of Protein bb and sc Torsion Angles from NMR Chemical Shifts" -HOMEPAGE="http://spin.niddk.nih.gov/bax/software/TALOS-N/" -SRC_URI="http://spin.niddk.nih.gov/bax/software/TALOS-N/talosn.tZ -> ${P}.tgz" +HOMEPAGE="https://spin.niddk.nih.gov/bax/software/TALOS-N/" +SRC_URI="https://spin.niddk.nih.gov/bax/software/TALOS-N/talosn.tZ -> ${P}.tgz" SLOT="0" LICENSE="all-rights-reserved" @@ -24,6 +24,7 @@ S="${WORKDIR}" QA_PREBUILT="/opt/.*" src_prepare() { + default local s64 use amd64 || s64="_x64" rm -f bin/TALOSN.{linux,mac,static.*,winxp,linux9${s64}} || die
