[med-svn] [Git][med-team/ssake][master] 7 commits: Fix installation of tools, fix link in examples

Andreas Tille gitlab at salsa.debian.org
Mon Oct 8 08:20:30 BST 2018


Andreas Tille pushed to branch master at Debian Med / ssake


Commits:
4d0ba79d by Andreas Tille at 2018-10-08T07:15:15Z
Fix installation of tools, fix link in examples

- - - - -
4b5a562e by Andreas Tille at 2018-10-08T07:15:15Z
Point Vcs fields to salsa.debian.org

- - - - -
df3f02cf by Andreas Tille at 2018-10-08T07:15:15Z
Standards-Version: 4.2.1

- - - - -
5a563ffa by Andreas Tille at 2018-10-08T07:15:15Z
Fix broken interpreter definitions

- - - - -
b5bbad07 by Andreas Tille at 2018-10-08T07:15:15Z
Depends: ssake

- - - - -
4b09f9d4 by Andreas Tille at 2018-10-08T07:15:15Z
Avoid errors when trying to fix shebang line in shell scripts

- - - - -
ef59a220 by Andreas Tille at 2018-10-08T07:15:15Z
Upload to unstable

- - - - -


7 changed files:

- debian/changelog
- debian/control
- debian/rules
- + debian/ssake-examples.links
- debian/ssake.docs
- debian/ssake.install
- + debian/ssake.links


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+ssake (4.0-2) unstable; urgency=medium
+
+  * Fix installation of tools
+  * Fix link in examples, Depends: ssake
+    Closes: #910414
+  * Point Vcs fields to salsa.debian.org
+  * Standards-Version: 4.2.1
+  * Fix broken interpreter definitions
+  * Avoid errors when trying to fix shebang line in shell scripts
+
+ -- Andreas Tille <tille at debian.org>  Mon, 08 Oct 2018 09:04:43 +0200
+
 ssake (4.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -6,9 +6,9 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 11~),
                python-markdown
-Standards-Version: 4.1.3
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/ssake.git
-Vcs-Git: https://anonscm.debian.org/git/debian-med/ssake.git
+Standards-Version: 4.2.1
+Vcs-Browser: https://salsa.debian.org/med-team/ssake
+Vcs-Git: https://salsa.debian.org/med-team/ssake.git
 Homepage: http://www.bcgsc.ca/platform/bioinfo/software/ssake
 
 Package: ssake
@@ -29,8 +29,8 @@ Description: genomics application for assembling millions of very short DNA sequ
 
 Package: ssake-examples
 Architecture: all
-Depends: ${misc:Depends}
-Suggests: ssake
+Depends: ${misc:Depends},
+         ssake
 Description: example data for SSAKE, a genomic assembler of short reads
  This package contains test sequences for SSAKE, a genomics application for
  assembling millions of very short DNA sequences.


=====================================
debian/rules
=====================================
@@ -16,13 +16,17 @@ DOCDIR := $(CURDIR)/debian/$(examples)/usr/share/doc/$(DEB_SOURCE)
 override_dh_install:
 	dh_install
 	cp -a SSAKE $(BINDIR)/ssake
-	cp -a tools/TQS.py $(BINDIR)/tqs
+	# Fix totally broken interpreter definitions
+	for pl in `grep -Rl '#!/home/.\+/perl' debian/*/usr/*` ; do \
+	    sed -i '1s?^#!/home/.\+/perl?#!/usr/bin/perl?' $${pl} ; \
+	done
+	for sh in `grep -Rl '#!/usr/bin/bash' debian/*/usr/*` ; do \
+	    sed -i '1s?^#!/usr/bin/bash?#!/bin/bash?' $${sh} ; \
+	done
 
 override_dh_installexamples:
 	dh_installexamples
-	for sh in $(DOCDIR)/examples/*.sh ; do \
-	    sed -i '1 i #!/bin/sh' $${sh} ; \
-	done
+	find $(DOCDIR)/examples -name "*.sh" -type f -exec sed -i '1 i #!/bin/sh' \{\} \;
 
 override_dh_installdocs:
 	dh_installdocs


=====================================
debian/ssake-examples.links
=====================================
@@ -0,0 +1 @@
+usr/share/ssake/runSSAKE.sh	usr/share/doc/ssake/examples/runSSAKE.sh


=====================================
debian/ssake.docs
=====================================
@@ -1 +1,2 @@
-tools/TQS.readme
+tools/*readme
+tools/*README


=====================================
debian/ssake.install
=====================================
@@ -1 +1,3 @@
-tools/[mn]*.pl     usr/share/ssake
+tools/*.pl     usr/share/ssake
+tools/*.py     usr/share/ssake
+tools/*.sh     usr/share/ssake


=====================================
debian/ssake.links
=====================================
@@ -0,0 +1 @@
+usr/share/ssake/TQS.py	usr/bin/tqs



View it on GitLab: https://salsa.debian.org/med-team/ssake/compare/36e0109715a98700073d6807a74c758bbf5623d8...ef59a2202bec34462d71a58dd63943f4c2701447

-- 
View it on GitLab: https://salsa.debian.org/med-team/ssake/compare/36e0109715a98700073d6807a74c758bbf5623d8...ef59a2202bec34462d71a58dd63943f4c2701447
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181008/1ba989f7/attachment-0001.html>


More information about the debian-med-commit mailing list