[med-svn] r11934 - in trunk/packages/python-biom-format/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Sat Jul 28 19:21:29 UTC 2012


Author: tille
Date: 2012-07-28 19:21:29 +0000 (Sat, 28 Jul 2012)
New Revision: 11934

Added:
   trunk/packages/python-biom-format/trunk/debian/patches/
   trunk/packages/python-biom-format/trunk/debian/patches/enable_cython_beta.patch
   trunk/packages/python-biom-format/trunk/debian/patches/series
Modified:
   trunk/packages/python-biom-format/trunk/debian/changelog
   trunk/packages/python-biom-format/trunk/debian/control
   trunk/packages/python-biom-format/trunk/debian/rules
Log:
Enable building with Cython 0.17.beta1


Modified: trunk/packages/python-biom-format/trunk/debian/changelog
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/changelog	2012-07-28 18:59:14 UTC (rev 11933)
+++ trunk/packages/python-biom-format/trunk/debian/changelog	2012-07-28 19:21:29 UTC (rev 11934)
@@ -2,4 +2,4 @@
 
   * Initial release (Closes: #682242)
 
- -- Andreas Tille <tille at debian.org>  Fri, 20 Jul 2012 11:21:44 +0200
+ -- Andreas Tille <tille at debian.org>  Sat, 28 Jul 2012 20:59:32 +0200

Modified: trunk/packages/python-biom-format/trunk/debian/control
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/control	2012-07-28 18:59:14 UTC (rev 11933)
+++ trunk/packages/python-biom-format/trunk/debian/control	2012-07-28 19:21:29 UTC (rev 11934)
@@ -11,8 +11,8 @@
 Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/python-biom-format/trunk/
 
 Package: python-biom-format
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Description: Biological Observation Matrix (BIOM) format
  The BIOM file format (canonically pronounced biome) is designed to be a
  general-use format for representing biological sample by observation

Added: trunk/packages/python-biom-format/trunk/debian/patches/enable_cython_beta.patch
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/patches/enable_cython_beta.patch	                        (rev 0)
+++ trunk/packages/python-biom-format/trunk/debian/patches/enable_cython_beta.patch	2012-07-28 19:21:29 UTC (rev 11934)
@@ -0,0 +1,23 @@
+Author: Andreas Tille <tille at debian.org>
+Date: Sat, 28 Jul 2012 20:59:32 +0200
+Description: Enable building also with beta versions of Cython
+
+--- biom-format-1.0.0.orig/setup.py
++++ biom-format-1.0.0/setup.py
+@@ -5,6 +5,7 @@
+ from os.path import join, split
+ from os import getcwd
+ from glob import glob
++from re import sub
+ 
+ __author__ = "Daniel McDonald"
+ __copyright__ = "Copyright 2012, The BIOM Format"
+@@ -25,7 +26,7 @@
+     import Cython
+     from Cython.Distutils import build_ext
+     
+-    cy_version = tuple(map(int, Cython.__version__.split('.')))
++    cy_version = tuple(map(int, sub('beta', '0.', Cython.__version__).split('.')))
+     if cy_version >= (0, 14, 1):
+         cython_present = True
+     else:

Added: trunk/packages/python-biom-format/trunk/debian/patches/series
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/python-biom-format/trunk/debian/patches/series	2012-07-28 19:21:29 UTC (rev 11934)
@@ -0,0 +1 @@
+enable_cython_beta.patch

Modified: trunk/packages/python-biom-format/trunk/debian/rules
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/rules	2012-07-28 18:59:14 UTC (rev 11933)
+++ trunk/packages/python-biom-format/trunk/debian/rules	2012-07-28 19:21:29 UTC (rev 11934)
@@ -3,7 +3,7 @@
 # DH_VERBOSE := 1
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2 # ,sphinxdoc
 
 override_dh_auto_clean:
 	dh_auto_clean




More information about the debian-med-commit mailing list