aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-19 13:17:16 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-19 13:17:16 +0100
commitceed30c6026675c078281eb668ef28bedbbd0999 (patch)
treeb40da6a7aa4e51b4a48ccf301d6a7389bd89802c /sci-biology
parentsci-biology/mavid: remove pack, retired by upstream in 2003 (diff)
downloadsci-ceed30c6026675c078281eb668ef28bedbbd0999.tar.gz
sci-ceed30c6026675c078281eb668ef28bedbbd0999.tar.bz2
sci-ceed30c6026675c078281eb668ef28bedbbd0999.zip
sci-biology/manatee-igs: EAPI bump, fix fetch, use https
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/manatee-igs/Manifest1
-rw-r--r--sci-biology/manatee-igs/manatee-igs-2.23.1.ebuild27
2 files changed, 7 insertions, 21 deletions
diff --git a/sci-biology/manatee-igs/Manifest b/sci-biology/manatee-igs/Manifest
index 05b1077e2..89599e152 100644
--- a/sci-biology/manatee-igs/Manifest
+++ b/sci-biology/manatee-igs/Manifest
@@ -1,2 +1 @@
-DIST README_Linux.txt 9628 BLAKE2B c44cb04313f30726b5d7a1943de3ff39651e3b869fe664ac570063958dc75210dedaff9c5c4e3feedb3e05bec4eb3c149600c8188dde00291570b3695cd3116b SHA512 7cfb666c1bf066595a6f0fae8a9cff1e6a7150382c33e5ea717b9e09bb91ee2e8eb9bae0fd9e93a0a790a39fb2d66ba83029e5ab55755e56ee85958a5df8a99a
DIST manatee-2.23.1_linux.tgz 19879146 BLAKE2B bd69d0d701c92ad4e4c8bbfdf8c9cb23184fa2778a924f71dd83e01901a8054296fb32adb58c5bb66d442b29c564c31c8690398479d214e020697726fc413a59 SHA512 50a76d36f69e3b8b80bcdf7fe28e1c9eb7c15bd8889bd8d130bc65f879ec99aa0caec6d0df495d7ab5804e6414599fc316073c9c55ecd1d370c5dd72aadd65ba
diff --git a/sci-biology/manatee-igs/manatee-igs-2.23.1.ebuild b/sci-biology/manatee-igs/manatee-igs-2.23.1.ebuild
index 65dda0367..8a21f8f36 100644
--- a/sci-biology/manatee-igs/manatee-igs-2.23.1.ebuild
+++ b/sci-biology/manatee-igs/manatee-igs-2.23.1.ebuild
@@ -1,18 +1,15 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="IGS-modified version of the genome annotation tool using Chado database schema"
HOMEPAGE="http://manatee.sourceforge.net/igs" # no https
-SRC_URI="
- https://sourceforge.net/projects/manatee/files/igs_manatee/"${PV}"/manatee-"${PV}"_linux.tgz
- http://manatee.sourceforge.net/igs/docs/README_Linux.txt"
+SRC_URI="https://downloads.sourceforge.net/project/manatee/igs_manatee/${PV}/manatee-${PV}_linux.tgz"
LICENSE="Artistic-Manatee"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="
>=dev-libs/expat-1.95.8
@@ -45,26 +42,16 @@ RDEPEND="${DEPEND}
>=virtual/mysql-5:*
>=www-servers/apache-2.2"
-S="${WORKDIR}"/manatee-"${PV}"_linux
+S="${WORKDIR}/manatee-${PV}_linux"
src_prepare(){
+ default
find "${S}" -name \*.cgi | while read f; do sed -e 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' -i $f; done
find "${S}" -name \*.pl | while read f; do sed -e 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' -i $f; done
find "${S}" -name \*.pm | while read f; do sed -e 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' -i $f; done
}
-#src_configure(){
-# there used to be manateee-="${PV}".tgz file which contained configure script in the past
-# now the layout is different, temporarily commenting out untill we find the current full sources back again
-# econf HTTPD=/usr/sbin/httpd HTTPD_SCRIPT_HOME=/var/www/cgi-bin HTTPD_DOC_HOME=/var/www/htdocs MYSQLD=/usr/sbin/mysqld || die
-#}
-#
-#src_compile(){
-# default
-#}
-
src_install(){
- dodoc ${DISTDIR}"/README_Linux.txt"
dodir /var/www/localhost/cgi-bin
cp -r src/cgi-bin/chado_prok_manatee "${D}"/var/www/localhost/cgi-bin
dodir /var/www/localhost/htdocs/manatee
@@ -72,7 +59,7 @@ src_install(){
einfo "Please read the "${S}"/databases/Makefile.PL and import the databases into your MySQL database"
- einfo "You have to fetch the 1.1 GB large file from http://sourceforge.net/projects/manatee/files/igs_manatee/"${PV}"/lookups-"${PV}"_linux.tgz"
+ einfo "You have to fetch the 1.1 GB large file from https://sourceforge.net/projects/manatee/files/igs_manatee/"${PV}"/lookups-"${PV}"_linux.tgz"
einfo "You need to update it regularly."
- einfo "Also fetch http://sourceforge.net/projects/manatee/files/igs_manatee/"${PV}"/blastdb-"${PV}".tgz (about 2MB in size)"
+ einfo "Also fetch https://sourceforge.net/projects/manatee/files/igs_manatee/"${PV}"/blastdb-"${PV}".tgz (about 2MB in size)"
}