[med-svn] [pftools] 06/10: At build time test [gh]top are not yet renamed

Andreas Tille tille at debian.org
Wed Mar 29 14:16:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository pftools.

commit ec0ed8b39d2c1eca8ba08824b2f7e292951f8f49
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 29 15:40:51 2017 +0200

    At build time test [gh]top are not yet renamed
---
 debian/patches/fix_path_in_test_script.patch | 4 ++--
 debian/rules                                 | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/patches/fix_path_in_test_script.patch b/debian/patches/fix_path_in_test_script.patch
index 1f903f9..6cb2978 100644
--- a/debian/patches/fix_path_in_test_script.patch
+++ b/debian/patches/fix_path_in_test_script.patch
@@ -39,14 +39,14 @@ Description: Since executables do not reside in the same dir with the data the
  echo "#                    | sort -nr"
  echo "#----------------------------------------------------------------------#"
 -./gtop sh3.gpr F=50 | ./pfsearch -far - sh3.seq | sort -nr
-+pfgtop sh3.gpr F=50 | pfsearch -far - sh3.seq | sort -nr
++gtop sh3.gpr F=50 | pfsearch -far - sh3.seq | sort -nr
  echo "#----------------------------------------------------------------------#"
 -echo "# pftools test 6: ./htop pfam_sh3.hmm  | ./pfsearch -f - sh3.seq"
 +echo "# pftools test 6: htop pfam_sh3.hmm  | pfsearch -f - sh3.seq"
  echo "                     | sort -nr"
  echo "#----------------------------------------------------------------------#"
 -./htop pfam_sh3.hmm | ./pfsearch -f - sh3.seq | sort -nr
-+pfhtop pfam_sh3.hmm | pfsearch -f - sh3.seq | sort -nr
++htop pfam_sh3.hmm | pfsearch -f - sh3.seq | sort -nr
  echo "#----------------------------------------------------------------------#"
 -echo "# pftools test 7: ./pfw sh3.msf N=1000 |"
 -echo "#                    ./pfmake -b - blosum45.cmp H=0.6"
diff --git a/debian/rules b/debian/rules
index 1a66740..c59a47b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 
 %:
-	dh $@ #  --no-parallel
+	dh $@
 
 override_dh_link:
 	dh_link
@@ -26,6 +26,7 @@ override_dh_installman:
 override_dh_installexamples:
 	dh_installexamples
 	sed -i \
+	    -e 's:^([gh]top\) :pf\1 :' \
 	    -e "1a ln -sf /usr/lib/$(DEBPKGNAME)/[CGM]* ." \
 	    -e "1a ln -sf /usr/lib/$(DEBPKGNAME)/*.cmp ." \
 	    -e "1a ln -sf /usr/lib/$(DEBPKGNAME)/*.lis ." \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pftools.git



More information about the debian-med-commit mailing list