[med-svn] [barrnap] 04/06: refresh patch
Sascha Steinbiss
satta at debian.org
Sun Apr 9 08:55:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch experimental
in repository barrnap.
commit a4b6f54f9af6aa45b433f7b5ef9415528c3500cf
Author: Sascha Steinbiss <satta at debian.org>
Date: Sun Apr 9 08:47:19 2017 +0000
refresh patch
---
debian/patches/use_debian_dirs | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/debian/patches/use_debian_dirs b/debian/patches/use_debian_dirs
index 1e31962..914f98e 100644
--- a/debian/patches/use_debian_dirs
+++ b/debian/patches/use_debian_dirs
@@ -1,19 +1,13 @@
Description: Do not rely on path location relative to barrnap executable
--- a/bin/barrnap
+++ b/bin/barrnap
-@@ -14,9 +14,14 @@
+@@ -14,6 +14,9 @@
my $AUTHOR = 'Torsten Seemann <torsten.seemann at gmail.com>';
- my $URL = 'https://github.com/Victorian-Bioinformatics-Consortium/barrnap';
+ my $URL = 'https://github.com/tseemann/barrnap';
my $DBDIR = "$FindBin::RealBin/../db";
+if ( ! -e $DBDIR) {
+ $DBDIR = "/usr/share/barrnap/db";
+}
my $OPSYS = $^O;
- my $NHMMER = "$FindBin::RealBin/../binaries/$OPSYS/nhmmer";
--
-+if ( ! -e $NHMMER ) {
-+ $NHMMER = "/usr/bin/nhmmer";
-+}
- my %KINGDOM = (map { substr($_,0,1) => $_ } qw(bac arc euk mito));
- my %LENG = (
- "5S_rRNA" =>119, "16S_rRNA"=>1585, "23S_rRNA"=>3232,
+ my $BINDIR = "$FindBin::RealBin/../binaries/$OPSYS";
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/barrnap.git
More information about the debian-med-commit
mailing list