Commit d75421ee authored by Steffen Möller's avatar Steffen Möller
Browse files

Added packages for Python version 2

Needed for bcbio.
parent 9bcf2279
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ python-gffutils (0.9-1) UNRELEASED; urgency=medium

  * d/u/metadata: Added RRIDs

  * Added Python 2 packages, separated executable

 -- Steffen Moeller <moeller@debian.org>  Sun, 15 Apr 2018 14:03:00 +0200

python-gffutils (0.8.7.1-1) REMOVED; urgency=medium
+48 −2
Original line number Diff line number Diff line
@@ -6,7 +6,14 @@ Priority: optional
Build-Depends: debhelper (>= 10),
               dh-python,
               bedtools,
               python3,
               python-all,
               python-setuptools,
               python-simplejson,
               python-six,
               python-pyfaidx,
               python-nose,
               python-biopython,
               python-pybedtools,
               python3-all,
               python3-setuptools,
               python3-simplejson,
@@ -17,11 +24,24 @@ Build-Depends: debhelper (>= 10),
               python3-nose,
               python3-biopython,
               python3-pybedtools
Standards-Version: 4.1.4
Standards-Version: 4.1.3
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-gffutils.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/python-gffutils.git
Homepage: https://daler.github.io/gffutils

Package: python-gffutils
Architecture: all
Depends: ${python2:Depends},
         ${misc:Depends}
Description: Work with GFF and GTF files in a flexible database framework
 A Python package for working with and manipulating the GFF and GTF format
 files typically used for genomic annotations.  Files are loaded into a
 sqlite3 database, allowing much more complex manipulation of hierarchical
 features (e.g., genes, transcripts, and exons) than is possible with
 plain-text methods alone.
 .
 This is the Python 2 version.

Package: python3-gffutils
Architecture: all
Depends: ${python3:Depends},
@@ -32,3 +52,29 @@ Description: Work with GFF and GTF files in a flexible database framework
 sqlite3 database, allowing much more complex manipulation of hierarchical
 features (e.g., genes, transcripts, and exons) than is possible with
 plain-text methods alone.
 .
 This is the Python 3 version.

Package: python-gffutils-bin
Architecture: all
Depends: ${misc:Depends}, python-gffutils
Description: Work with GFF and GTF files in a flexible database framework
 A Python package for working with and manipulating the GFF and GTF format
 files typically used for genomic annotations.  Files are loaded into a
 sqlite3 database, allowing much more complex manipulation of hierarchical
 features (e.g., genes, transcripts, and exons) than is possible with
 plain-text methods alone.
 .
 This package offers Python 2 executables.

Package: python3-gffutils-bin
Architecture: all
Depends: ${misc:Depends}, python3-gffutils
Description: Work with GFF and GTF files in a flexible database framework
 A Python package for working with and manipulating the GFF and GTF format
 files typically used for genomic annotations.  Files are loaded into a
 sqlite3 database, allowing much more complex manipulation of hierarchical
 features (e.g., genes, transcripts, and exons) than is possible with
 plain-text methods alone.
 .
 This package offers Python 3 executables.
+10 −1
Original line number Diff line number Diff line
@@ -6,4 +6,13 @@ export PYBUILD_NAME=gffutils
export PYBUILD_DISABLE=test  # https://github.com/daler/gffutils/issues/91

%:
	dh $@ --with python3 --buildsystem=pybuild
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/python-gffutils-bin/usr/bin
	mkdir -p debian/python3-gffutils-bin/usr/bin
	mv debian/python-gffutils/usr/bin/*  debian/python-gffutils-bin/usr/bin/
	mv debian/python3-gffutils/usr/bin/* debian/python3-gffutils-bin/usr/bin/
	rm -rf debian/python-gffutils/usr/bin debian/python3-gffutils/usr/bin