[med-svn] [khmer] 01/03: Make a khmer-common package for magic files
Kevin Murray
daube-guest at moszumanska.debian.org
Wed Jul 15 02:44:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch big-rebase
in repository khmer.
commit fa89eac54180cf8c818cd2a891784f9d7cd4c076
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Wed Jul 15 12:23:35 2015 +1000
Make a khmer-common package for magic files
---
debian/control | 20 +++++++++++++++++---
debian/khmer-common.install | 1 +
.../{liboxli1.postinst => khmer-common.postinstall} | 0
debian/{liboxli1.postrm => khmer-common.postrm} | 1 -
debian/liboxli1.install | 1 -
debian/liboxli1.postinst | 1 -
debian/liboxli1.postrm | 2 --
7 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/debian/control b/debian/control
index a234489..a223514 100644
--- a/debian/control
+++ b/debian/control
@@ -24,9 +24,21 @@ Vcs-Git: git://anonscm.debian.org/debian-med/khmer.git
Homepage: http://khmer.readthedocs.org
X-Python-Version: 3.4
+Package: khmer-common
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: in-memory DNA sequence kmer counting, filtering & graph traversal
+ khmer is a library and suite of command line tools for working with DNA
+ sequence. It is primarily aimed at short-read sequencing data such as that
+ produced by the Illumina platform. khmer takes a k-mer-centric approach to
+ sequence analysis, hence the name.
+ .
+ This package contains common files for liboxli and khmer
+
Package: python3-khmer
Architecture: any-amd64 any-arm64 any-mips64 any-mips64el any-ia64 ppc64
-Depends: liboxli1,
+Depends: khmer-common,
python3 (>= 3.3),
python3-screed (>= 0.9),
python3-screed (<< 1.0),
@@ -44,7 +56,8 @@ Package: liboxli1
Architecture: any
Multi-Arch: same
Section: libs
-Depends: ${shlibs:Depends},
+Depends: khmer-common,
+ ${shlibs:Depends},
${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: in-memory DNA sequence kmer counting, filtering & graph traversal
@@ -59,7 +72,8 @@ Package: liboxli-dev
Architecture: any
Multi-Arch: same
Section: libs
-Depends: ${shlibs:Depends},
+Depends: khmer-common,
+ ${shlibs:Depends},
${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: in-memory DNA sequence kmer counting, filtering & graph traversal
diff --git a/debian/khmer-common.install b/debian/khmer-common.install
new file mode 100644
index 0000000..a582dd5
--- /dev/null
+++ b/debian/khmer-common.install
@@ -0,0 +1 @@
+lib/magic usr/share/file/khmer
diff --git a/debian/liboxli1.postinst b/debian/khmer-common.postinstall
similarity index 100%
copy from debian/liboxli1.postinst
copy to debian/khmer-common.postinstall
diff --git a/debian/liboxli1.postrm b/debian/khmer-common.postrm
similarity index 96%
copy from debian/liboxli1.postrm
copy to debian/khmer-common.postrm
index ed3bb22..db633af 100644
--- a/debian/liboxli1.postrm
+++ b/debian/khmer-common.postrm
@@ -1,2 +1 @@
-
rm -f usr/share/file/khmer.mgc
diff --git a/debian/liboxli1.install b/debian/liboxli1.install
index e0d0886..2cee06a 100755
--- a/debian/liboxli1.install
+++ b/debian/liboxli1.install
@@ -1,3 +1,2 @@
#!/usr/bin/dh-exec
lib/liboxli.so* usr/lib/${DEB_HOST_MULTIARCH}
-lib/magic usr/share/file/khmer
diff --git a/debian/liboxli1.postinst b/debian/liboxli1.postinst
index 5f47041..e69de29 100644
--- a/debian/liboxli1.postinst
+++ b/debian/liboxli1.postinst
@@ -1 +0,0 @@
-cd usr/share/file && file --compile khmer
diff --git a/debian/liboxli1.postrm b/debian/liboxli1.postrm
index ed3bb22..e69de29 100644
--- a/debian/liboxli1.postrm
+++ b/debian/liboxli1.postrm
@@ -1,2 +0,0 @@
-
-rm -f usr/share/file/khmer.mgc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/khmer.git
More information about the debian-med-commit
mailing list