[med-svn] [blobology] 01/05: Move files around

Andreas Tille tille at debian.org
Fri Oct 21 16:54:34 UTC 2016


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

tille pushed a commit to branch master
in repository blobology.

commit 207009a14ed1b28a029448edb60cf5d7624c525c
Author: Andreas Tille <tille at debian.org>
Date:   Fri Oct 21 14:51:03 2016 +0200

    Move files around
---
 debian/control            |  9 +++++----
 debian/docs               |  1 +
 debian/install            |  4 ++++
 debian/links              |  2 ++
 debian/patches/bash.patch | 11 +++++++++++
 debian/patches/series     |  1 +
 debian/rules              | 18 ++++++++----------
 7 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 6ee8ccc..1c7e3ad 100644
--- a/debian/control
+++ b/debian/control
@@ -5,14 +5,15 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9)
 Standards-Version: 3.9.8
-Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/blobology.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/blobology.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/blobology.git
 Homepage: https://blobtools.readme.io/
 
 Package: blobology
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
+Architecture: all
+Depends: ${misc:Depends},
+         bowtie2,
+         r-base-core
 Description: tool set for the visualisation of genome assemblies
  Tools for making blobplots or Taxon-Annotated-GC-Coverage plots
  (TAGC plots) to visualise the contents of genome assembly data sets
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..091b0a6
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+*.bash		usr/lib/blobology
+*.fa		usr/lib/blobology
+*.pl		usr/lib/blobology
+*.R		usr/lib/blobology
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..3154849
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+usr/lib/blobology/blobology.bash	usr/bin/blobology
+usr/lib/blobology/separate_reads.bash	usr/bin/separate_reads
diff --git a/debian/patches/bash.patch b/debian/patches/bash.patch
new file mode 100644
index 0000000..f2ee9a6
--- /dev/null
+++ b/debian/patches/bash.patch
@@ -0,0 +1,11 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 21 Oct 2016 12:12:18 +0200
+Description: Add missing interpreter line
+
+--- a/separate_reads.bash
++++ b/separate_reads.bash
+@@ -1,3 +1,4 @@
++#!/bin/bash
+ ###########################################################################
+ ## Step 1. Create contaminant databases
+ ###########################################################################
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..01d74c4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+bash.patch
diff --git a/debian/rules b/debian/rules
index 1ef14d9..8287c94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,26 +1,24 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
 
 # some helpful variables - uncomment them if needed
 # shamelessly stolen from http://jmtd.net/log/awk/
 #DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
 #VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 #DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 #DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
 #GIT_TAG        := $(subst ~,_,$(VERSION))
 
-# alternatively to manually set those variables, you can
-#  include /usr/share/dpkg/default.mk
-# and use what is set there.
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+LIBDIR=debian/$(DEBPKGNAME)/usr/lib/$(DEBPKGNAME)
 
 %:
 	dh $@
 
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_install:
+	dh_install
+	chmod +x $(LIBDIR)/*.bash
+
+get-orig-source:
+	. debian/get-orig-source

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



More information about the debian-med-commit mailing list