[med-svn] [falconkit] 03/05: Split up the package to be able to provide the scripts from v0.1

Afif Elghraoui afif-guest at moszumanska.debian.org
Fri Dec 18 08:24:42 UTC 2015


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

afif-guest pushed a commit to branch master
in repository falconkit.

commit 3734679d003bfa37e591ca0101fbb523f60bc235
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Thu Dec 17 23:48:34 2015 -0800

    Split up the package to be able to provide the scripts from v0.1
    
    The v0.1 scripts are required for parts of wgs-assembler. They
    are still distributed with the current release of Falcon, so
    we can build both the most recent version of the package as well
    as the version needed for wgs-assembler.
---
 debian/control | 34 +++++++++++++++++++++++++++++++---
 debian/rules   |  6 ++++++
 2 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 6127c80..8b3d1e7 100644
--- a/debian/control
+++ b/debian/control
@@ -17,11 +17,39 @@ Vcs-Git: git://anonscm.debian.org/debian-med/falconkit.git
 Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/falconkit.git
 
 Package: falconkit
-Architecture: any
+Architecture: all
 Depends:
-	${shlibs:Depends},
 	${misc:Depends},
 	${python:Depends},
+	python-falconkit (>= ${binary:Version}),
 	python-pkg-resources,
 Description: fast aligning long reads for consensus and assembly
- <insert long description, indented with spaces>
+ The Falcon tool kit is a set of simple code collection for efficient
+ assembly of haploid and diploid genomes.
+
+Package: falconkit0.1
+Architecture: all
+Depends:
+	${misc:Depends},
+	${python:Depends},
+	python-falconkit (>= ${binary:Version}),
+	python-pbcore,
+	python-pkg-resources,
+Description: fast aligning long reads for consensus and assembly (0.1.x)
+ The Falcon tool kit is a set of simple code collection for efficient
+ assembly of haploid and diploid genomes.
+ .
+ This package contains the v0.1 scripts.
+
+Package: python-falconkit
+Section: python
+Architecture: any
+Depends:
+	${shlibs:Depends},
+	${misc:Depends},
+	${python:Depends},
+Description: fast aligning long reads for consensus and assembly (Python 2 library)
+ The Falcon tool kit is a set of simple code collection for efficient
+ assembly of haploid and diploid genomes.
+ .
+ This package contains the Python 2 backend library
diff --git a/debian/rules b/debian/rules
index bca24e6..d1b0c96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,3 +12,9 @@ export PYBUILD_NAME=falconkit
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="nosetests -v test/" dh_auto_test
+
+override_dh_install:
+	mkdir -p $(CURDIR)/debian/falconkit/usr/bin
+	mv $(CURDIR)/debian/python-falconkit/usr/bin/* $(CURDIR)/debian/falconkit/usr/bin
+	mkdir -p $(CURDIR)/debian/falconkit0.1/usr/bin
+	cp src/py_scripts_v0.1/* $(CURDIR)/debian/falconkit0.1/usr/bin

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



More information about the debian-med-commit mailing list