[med-svn] [Git][med-team/python-gffutils][master] Added packages for Python version 2
Steffen Möller
gitlab at salsa.debian.org
Sun Jul 8 00:50:04 BST 2018
Steffen Möller pushed to branch master at Debian Med / python-gffutils
Commits:
d75421ee by Steffen Moeller at 2018-07-08T01:49:22+02:00
Added packages for Python version 2
Needed for bcbio.
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at debian.org> Sun, 15 Apr 2018 14:03:00 +0200
python-gffutils (0.8.7.1-1) REMOVED; urgency=medium
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -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.
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -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
+
View it on GitLab: https://salsa.debian.org/med-team/python-gffutils/commit/d75421eecef27a0079d2a7bea3b57748f18d8cf2
--
View it on GitLab: https://salsa.debian.org/med-team/python-gffutils/commit/d75421eecef27a0079d2a7bea3b57748f18d8cf2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180707/e529637a/attachment-0001.html>
More information about the debian-med-commit
mailing list