Package: mmass
Version: 3.9.0-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

Hi,

Default python version is python2.7 in Ubuntu and your package contains
hardcoded reference to python2.6. Please use generic python references to make
your package compatible with python2.7.

*** /tmp/tmp5Llizj
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/control: rebuild for python2.7 defaults
    - updated b-d on python2.6-dev to python-dev 
    - deleted hardcoded dependency on python as this is generated by
      python:Depends
  * debian/rules: use python instead of python2.6
  * debian/mass.install: updated to be compatible with python2.7

We thought you might be interested in doing the same (except the maintainer
change that is included in the debdiff but do not apply to Debian obviously). 
Thanks,
Fabrice


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 
'maverick-proposed'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-28-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru mmass-3.9.0/debian/control mmass-3.9.0/debian/control
--- mmass-3.9.0/debian/control	2011-01-14 23:00:36.000000000 +0100
+++ mmass-3.9.0/debian/control	2011-03-11 06:18:45.000000000 +0100
@@ -1,10 +1,11 @@
 Source: mmass
 Section: science
 Priority: optional
-Maintainer: The Debichem Group <debichem-de...@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: The Debichem Group <debichem-de...@lists.alioth.debian.org>
 Uploaders: Filippo Rusconi <rusconi-deb...@laposte.net>
 DM-Upload-Allowed: yes
-Build-Depends: python (>=2.3.5-11), python-support (>=0.90), debhelper (>= 7), python2.6-dev, python-numpy (>= 1.4.1), imagemagick
+Build-Depends: python (>=2.3.5-11), python-support (>=0.90), debhelper (>= 7), python-dev, python-numpy (>= 1.4.1), imagemagick
 Standards-Version: 3.9.1
 Homepage: http://www.mmass.org/
 Vcs-Git: git://git.debian.org/git/debichem/packages/mmass.git
@@ -14,7 +15,7 @@
 
 Package: mmass
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python (>=2.6), python (<=2.7), python-wxgtk2.8 (>= 2.8.10.1-3+b1), python-numpy (>= 1.4.1)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-wxgtk2.8 (>= 2.8.10.1-3+b1), python-numpy (>= 1.4.1)
 Suggests: mmass-doc
 Description: Mass spectrometry tool for proteomics
  mMass is a free mass spectrum viewer/analyzer in which the
diff -Nru mmass-3.9.0/debian/mmass.install mmass-3.9.0/debian/mmass.install
--- mmass-3.9.0/debian/mmass.install	2011-01-14 23:00:36.000000000 +0100
+++ mmass-3.9.0/debian/mmass.install	2011-03-11 06:25:12.000000000 +0100
@@ -11,5 +11,5 @@
 
 gui usr/share/mmass
 
-mspy/plot/build/lib.linux-*-2.6/calculations.so usr/lib/mmass/mspy/plot
+mspy/plot/build/lib.linux-*-2.*/calculations.so usr/lib/mmass/mspy/plot
 
diff -Nru mmass-3.9.0/debian/rules mmass-3.9.0/debian/rules
--- mmass-3.9.0/debian/rules	2011-01-14 23:00:36.000000000 +0100
+++ mmass-3.9.0/debian/rules	2011-03-11 06:23:15.000000000 +0100
@@ -38,7 +38,7 @@
 	# /usr/lib/mmass/mspy/plot/calculations.so. Note that because
 	# the build path changes according to the platform, the
 	# mmass.install file has a '*' wildcard in the directory name.
-	cd mspy/plot && python2.6 setup.py build
+	cd mspy/plot && python setup.py build
 
 	touch build-arch-stamp
 

Reply via email to