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

tille pushed a commit to branch master
in repository python-pyvcf.

commit 264d74922cb6fe4e8bbabf71d16ae99f3ba3226c
Author: Andreas Tille <[email protected]>
Date:   Wed Oct 14 14:56:12 2015 +0200

    Move the binary scripts into a separate binary package
---
 debian/control | 26 ++++++++++++++++++++++++--
 debian/rules   |  6 ++++++
 2 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 6f1e088..c6d3566 100644
--- a/debian/control
+++ b/debian/control
@@ -60,10 +60,32 @@ Description: Variant Call Format (VCF) parser for Python 3
  .
  This package provides the Python 3 modules.
 
-Package: python-pyvcf-examples
+Package: pyvcf
 Architecture: all
 Depends: ${misc:Depends},
-         ${python:Depends}
+         ${python3:Depends},
+         python3-pyvcf
+Description: helper scripts for Variant Call Format (VCF) parser
+ The Variant Call Format (VCF) specifies the format of a text file used
+ in bioinformatics for storing gene sequence variations. The format has
+ been developed with the advent of large-scale genotyping and DNA
+ sequencing projects, such as the 1000 Genomes Project.
+ .
+ The intent of this module is to mimic the ``csv`` module in the Python
+ stdlib, as opposed to more flexible serialization formats like JSON or
+ YAML. ``vcf`` will attempt to parse the content of each record based on
+ the data types specified in the meta-information lines -- specifically
+ the ##INFO and
+ ##FORMAT lines. If these lines are missing or incomplete, it will check
+ against the reserved types mentioned in the spec. Failing that, it will
+ just return strings.
+ .
+ This package provides helper scripts using python3-pyvcf.
+
+Package: python-pyvcf-examples
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: python3-pyvcf | python-pyvcf
 Description: Example data for Variant Call Format (VCF) parser for Python
  The Variant Call Format (VCF) specifies the format of a text file used
  in bioinformatics for storing gene sequence variations. The format has
diff --git a/debian/rules b/debian/rules
index 34fefd6..e21fa24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@
 
 export PYBUILD_NAME=pyvcf
 
examplesdir=debian/python-$(PYBUILD_NAME)-examples/usr/share/doc/python-$(PYBUILD_NAME)-examples
+helperdir=debian/$(PYBUILD_NAME)/usr
 
 %:
        dh $@ --with python2,python3 --buildsystem=pybuild
@@ -17,6 +18,11 @@ override_dh_install:
        mv `find debian/python-$(PYBUILD_NAME) -type d -name test | head -n 1` 
$(examplesdir)
        find debian/python3-$(PYBUILD_NAME) -type d -name test | xargs rm -rf
        find $(examplesdir) -name "*.pyc" -delete
+       mkdir -p $(helperdir)
+       mv debian/python3-$(PYBUILD_NAME)/usr/bin $(helperdir)
+       # strip .py extension
+       mv $(helperdir)/bin/vcf_filter.py $(helperdir)/bin/vcf_filter
+       rm -rf debian/python-$(PYBUILD_NAME)/usr/bin
 
 get-orig-source:
        . debian/get-orig-source

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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to