[Python-modules-team] Bug#459316: python-sympy: a menu item for isympy would be nice

Bernhard R. Link brlink at debian.org
Sat Jan 5 13:51:11 UTC 2008


Package: python-sympy
Version: 0.5.9-1
Severity: wishlist
Tags: patch

It would be nice if python-sympy would install a menu item for
isympy, so people can find it in the menu.

Additionally it would be nice if python-isympy would suggest ipython,
as isympy complains quite loudly without and seems much nicer with it.

Attached patch adds a menu item. The logo is based on the logo in sympy.

-- System Information:
Debian Release: 4.0
Shell:  /bin/sh linked to /bin/bash
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages python-sympy depends on:
ii  ipython                       0.7.2-5    enhanced interactive Python shell
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-ctypes                 1.0.0-1.1  Python package to create and manip
ii  python-imaging                1.1.5-11   Python Imaging Library
ii  python-support                0.5.6      automated rebuilding support for p

Versions of packages python-sympy recommends:
pn  libgtkmathview-bin            <none>     (no description available)
pn  python-opengl                 <none>     (no description available)

-- no debconf information
Hochachtungsvoll,
	Bernhard R. Link
-- 
"Never contain programs so few bugs, as when no debugging tools are available!"
	Niklaus Wirth
-------------- next part --------------
diff -upNr sympy-0.5.9.unpatched/debian/control sympy-0.5.9/debian/control
--- sympy-0.5.9.unpatched/debian/control	1970-01-01 01:00:00.000000000 +0100
+++ sympy-0.5.9/debian/control	2008-01-04 16:39:13.000000000 +0100
@@ -18,2 +18,3 @@ XS-DM-Upload-Allowed: yes
 Recommends: libgtkmathview-bin, python-opengl, python-imaging, python-ctypes
+Suggests: ipython
 XB-Python-Version: ${python:Versions}
diff -upNr sympy-0.5.9.unpatched/debian/isympy.xpm sympy-0.5.9/debian/isympy.xpm
--- sympy-0.5.9.unpatched/debian/isympy.xpm	1970-01-01 01:00:00.000000000 +0100
+++ sympy-0.5.9/debian/isympy.xpm	2008-01-04 16:39:13.000000000 +0100
@@ -0,0 +1,68 @@
+/* XPM */
+static char *isympy_xpm[] = {
+"32 27 38 1",
+" 	c None",
+".	c #73AB49",
+"+	c #B0AC89",
+"@	c #93966B",
+"#	c #7FA565",
+"$	c #85B252",
+"%	c #90AC70",
+"&	c #578B45",
+"*	c #4B7238",
+"=	c #527546",
+"-	c #72934D",
+";	c #6F8E6A",
+">	c #8B915A",
+",	c #C5BA8A",
+"'	c #B0A777",
+")	c #396C31",
+"!	c #A79A6E",
+"~	c #D3CBAA",
+"{	c #E0D4AC",
+"]	c #6F744A",
+"^	c #93C455",
+"/	c #D4C27D",
+"(	c #518E3A",
+"_	c #4A5C37",
+":	c #A59F84",
+"<	c #D6C889",
+"[	c #C8B677",
+"}	c #5FA444",
+"|	c #69AF3F",
+"1	c #A48E5B",
+"2	c #61973F",
+"3	c #ABD45F",
+"4	c #5FA43D",
+"5	c #E0CF86",
+"6	c #ACD366",
+"7	c #385628",
+"8	c #284A1C",
+"9	c #4444FF",
+"                .......         ",
+"            +@#$..$.$$%%        ",
+"           %..&*=-;>@>->.$%.    ",
+"       ++,'$.)=!,~{{~{+!].$^.   ",
+"       ,//@$(_:{~~~~+:'+@&^^..  ",
+"       </[>$*]',++:''++': }}.|  ",
+"       ,/123.]['!+'',,+,:   %-+ ",
+"       ,/!*.$4.->!!+'',':       ",
+"       ,5/]*.^3^..-@''++:       ",
+"   66^.'5/1**4.^$36$-1!!:       ",
+"    ;&('55[1]_**&.^^$>!!:       ",
+"   ##))'5/[/[1]_)*}.^^-':       ",
+"       '5[[555[>]]*.^3}!:       ",
+"       </![//[5[':>}^^2 at +       ",
+"       ,/[111[5[!'!-..*>:       ",
+"        <[[[[[5[!!@-$.*         ",
+"          _]1[,,:!>}}4;         ",
+"           787]]--}.()          ",
+"            _888(}(()           ",
+"              ;=&**;            ",
+"    9   999             99      ",
+"       9                9 9     ",
+"    9   99  9  9 99 9   9 9 9  9",
+"    9     9 9 9  9 9 9  99  9 9 ",
+"    9     9 9 9  9 9 9  9   9 9 ",
+"    9  999   9   9 9 9  9    9  ",
+"           99              99   "};
diff -upNr sympy-0.5.9.unpatched/debian/python-sympy.install sympy-0.5.9/debian/python-sympy.install
--- sympy-0.5.9.unpatched/debian/python-sympy.install	2008-01-04 12:38:23.000000000 +0100
+++ sympy-0.5.9/debian/python-sympy.install	2008-01-04 16:38:22.000000000 +0100
@@ -1 +1,2 @@
 doc/logo/*.png usr/share/pixmaps
+debian/isympy.xpm usr/share/pixmaps
diff -upNr sympy-0.5.9.unpatched/debian/python-sympy.menu sympy-0.5.9/debian/python-sympy.menu
--- sympy-0.5.9.unpatched/debian/python-sympy.menu	1970-01-01 01:00:00.000000000 +0100
+++ sympy-0.5.9/debian/python-sympy.menu	2008-01-04 16:38:27.000000000 +0100
@@ -0,0 +1,4 @@
+?package(python-sympy):needs="text" section="Applications/Science/Mathematics"\
+	title="sympy"\
+	icon="/usr/share/pixmaps/isympy.xpm"\
+	command="/usr/bin/isympy"


More information about the Python-modules-team mailing list