[med-svn] [rambo-k] 01/03: Polish packaging
Andreas Tille
tille at debian.org
Fri Nov 18 22:53:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository rambo-k.
commit a4c8f6e80dfff7d142a0f64027237994f3caa463
Author: Andreas Tille <tille at debian.org>
Date: Thu Oct 27 18:24:01 2016 +0200
Polish packaging
---
debian/control | 8 +++++---
debian/docs | 1 +
debian/links | 1 +
debian/rules | 18 +++++-------------
4 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/debian/control b/debian/control
index 68b9520..cbd705a 100644
--- a/debian/control
+++ b/debian/control
@@ -16,9 +16,11 @@ Homepage: http://rambok.sourceforge.net/
X-Python-Version: >= 2.7
Package: rambo-k
-Architecture: any
-Depends: ${shlibs:Depends},
- ${misc:Depends}
+Architecture: all
+Depends: ${java:Depends},
+ ${python:Depends},
+ ${misc:Depends},
+ python-sklearn
Description: Read Assignment Method Based On K-mers
RAMBO-K is a tool for rapid and sensitive removal of background
sequences from Next Generation Sequencing data.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..6206b00
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+Readme.*
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..fbc849f
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/share/rambo-k/RAMBOK.py usr/bin/rambo-k
diff --git a/debian/rules b/debian/rules
index 76a1cd2..4a8f8a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,19 +2,7 @@
# DH_VERBOSE := 1
-# 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}')
-#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/cdbs/1/rules/buildvars.mk
-# and use what is set there. Any hint whether dh might set variables in
-# a similar manner are welcome.
+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
%:
dh $@ --with javahelper --with python2
@@ -27,6 +15,10 @@ makejarsimple:
override_dh_auto_build:
CLASSPATH=/usr/share/java/commons-cli.jar:ReadTrainer_eclipse/src/org/rki/readtrainer/:ReadClassifier_eclipse/src/ jh_build rambo-k-classifier.jar ReadClassifier_eclipse ReadTrainer_eclipse
+override_dh_fixperms:
+ dh_fixperms
+ chmod +x debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)/RAMBOK.py
+
get-orig-source:
. debian/get-orig-source
# uscan --verbose --force-download --compress xz --repack
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/rambo-k.git
More information about the debian-med-commit
mailing list