Merge lp:~marcelstimberg/ubuntu/oneiric/labyrinth/fix-for-872756 into lp:ubuntu/oneiric/labyrinth

Proposed by Marcel Stimberg
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~marcelstimberg/ubuntu/oneiric/labyrinth/fix-for-872756
Merge into: lp:ubuntu/oneiric/labyrinth
Diff against target: 48 lines (+24/-1)
3 files modified
debian/changelog (+8/-0)
debian/control (+1/-1)
debian/patches/numeric_to_numpy.patch (+15/-0)
To merge this branch: bzr merge lp:~marcelstimberg/ubuntu/oneiric/labyrinth/fix-for-872756
Reviewer Review Type Date Requested Status
Brian Murray Approve
Ubuntu branches Pending
Review via email: mp+84856@code.launchpad.net

Description of the change

Replaces the dependency on python-numeric (which is no longer in the archives) with python-numeric (that is actually only used in one line of code in utils.py...). Changing the dependency in debian/control makes the package installable.

This is the minimal fix for Oneiric, there will be a new upstream version (already including such a fix) hopefully soon that could be included in Precise.

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

The package version number you've used would be greater than the package version in precise - 0.4.1-0ubuntu5.1 would be more appropriate. Additionally, for this to be fixed in Oneiric it first needs to be fixed in Precise. I uploaded the same changes to Precise though.

review: Approve
Revision history for this message
Brian Murray (brian-murray) wrote :

Additionally the target for the changelog should be oneiric-proposed as the bug will need to go through the SRU process. Thanks again for your patch!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-09-28 21:05:36 +0000
3+++ debian/changelog 2011-12-07 22:32:25 +0000
4@@ -1,3 +1,11 @@
5+labyrinth (0.4.1-0ubuntu6) oneiric; urgency=low
6+
7+ * debian/control: Replace python-numeric with python-numpy dependency
8+ fixes LP: #872756
9+ * debian/patches/numeric_to_numpy.patch: Replace Numeric with numpy
10+
11+ -- Marcel Stimberg <stimberg@users.sourceforge.net> Wed, 07 Dec 2011 22:17:46 +0100
12+
13 labyrinth (0.4.1-0ubuntu5) maverick; urgency=low
14
15 * Depend on python-gnomedesktop | python-gnome2-desktop (>= 2.14).
16
17=== modified file 'debian/control'
18--- debian/control 2010-09-28 21:05:36 +0000
19+++ debian/control 2011-12-07 22:32:25 +0000
20@@ -11,7 +11,7 @@
21
22 Package: labyrinth
23 Architecture: all
24-Depends: ${python:Depends}, ${misc:Depends}, python-glade2, python-gtk2 (>= 2.8), python-gobject (>= 2.10), python-gnome2 (>= 2.12), python-gnomedesktop | python-gnome2-desktop (>= 2.14), python-cairo (>= 1.0), python-numeric
25+Depends: ${python:Depends}, ${misc:Depends}, python-glade2, python-gtk2 (>= 2.8), python-gobject (>= 2.10), python-gnome2 (>= 2.12), python-gnomedesktop | python-gnome2-desktop (>= 2.14), python-cairo (>= 1.0), python-numpy
26 XB-Python-Version: ${python:Versions}
27 Description: lightweight mind-mapping tool
28 Labyrinth is a lightweight mind-mapping tool, written in Python using Gtk
29
30=== added file 'debian/patches/numeric_to_numpy.patch'
31--- debian/patches/numeric_to_numpy.patch 1970-01-01 00:00:00 +0000
32+++ debian/patches/numeric_to_numpy.patch 2011-12-07 22:32:25 +0000
33@@ -0,0 +1,15 @@
34+## Description: add some description
35+## Origin/Author: add some origin or author
36+## Bug: bug URL
37+diff -Nur -x '*.orig' -x '*~' labyrinth//src/utils.py labyrinth.new//src/utils.py
38+--- labyrinth//src/utils.py 2011-12-07 22:15:48.759804000 +0100
39++++ labyrinth.new//src/utils.py 2011-12-07 22:17:36.600923603 +0100
40+@@ -26,7 +26,7 @@
41+ import sys
42+ from os.path import *
43+ import os
44+-from Numeric import *
45++from numpy import array
46+ import gtk
47+
48+ __BE_VERBOSE=os.environ.get('DEBUG_LABYRINTH',0)

Subscribers

People subscribed via source and target branches