[med-svn] [transdecoder] 01/01: autopkgtests; pkg rearrangement
Michael Crusoe
misterc-guest at moszumanska.debian.org
Fri Feb 13 15:27:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
misterc-guest pushed a commit to branch master
in repository transdecoder.
commit 3014634c4bbe789f25d48186ebc9c148e130d675
Author: Michael R. Crusoe <mcrusoe at msu.edu>
Date: Fri Feb 13 07:58:23 2015 -0500
autopkgtests; pkg rearrangement
---
debian/control | 3 +--
debian/rules | 4 ++--
debian/tests/control | 3 +++
debian/tests/run-tests | 11 +++++++++++
debian/transdecoder.docs | 2 ++
debian/transdecoder.links | 2 ++
6 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index dde3f4a..226a3ed 100644
--- a/debian/control
+++ b/debian/control
@@ -11,8 +11,7 @@ Homepage: https://transdecoder.github.io/
Package: transdecoder
Architecture: any
-Depends: ${shlibs:Depends},
- ${misc:Depends},
+Depends: ${misc:Depends},
${perl:Depends},
cd-hit,
liburi-perl
diff --git a/debian/rules b/debian/rules
index e72cecb..0fefa97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,8 @@ override_dh_auto_clean:
override_dh_auto_build:
override_dh_install:
- dh_install TransDecoder* /usr/bin/
- dh_install PerlLib/* /usr/share/perl5/
+ dh_install TransDecoder* PerlLib util sample_data \
+ /usr/lib/transdecoder/
find debian/transdecoder -name '*.p?' | xargs sed -i \
's=^#!/usr/local/bin/perl=#!/usr/bin/perl='
get-orig-source:
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d65aed4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-tests
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
new file mode 100644
index 0000000..9c349ce
--- /dev/null
+++ b/debian/tests/run-tests
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+pkg=transdecoder
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+
+cp -r /usr/lib/transdecoder .
+cd transdecoder/sample_data
+sh ./runMe.sh
diff --git a/debian/transdecoder.docs b/debian/transdecoder.docs
new file mode 100644
index 0000000..0fb2340
--- /dev/null
+++ b/debian/transdecoder.docs
@@ -0,0 +1,2 @@
+README
+debian/tests/run-tests
diff --git a/debian/transdecoder.links b/debian/transdecoder.links
new file mode 100644
index 0000000..7700eb7
--- /dev/null
+++ b/debian/transdecoder.links
@@ -0,0 +1,2 @@
+/usr/lib/transdecoder/TransDecoder.LongOrfs /usr/bin/TransDecoder.LongOrfs
+/usr/lib/transdecoder/TransDecoder.Predict /usr/bin/TransDecoder.Predict
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/transdecoder.git
More information about the debian-med-commit
mailing list