Your message dated Thu, 30 Sep 2010 22:17:30 +0000
with message-id <[email protected]>
and subject line Bug#541481: fixed in mathgl 1.10.2.1-2
has caused the Debian Bug report #541481,
regarding Please add python-mathgl package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
541481: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541481
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mathgl
Version: 1.9-1
Severity: wishlist
Tags: patch

Find attached patch to add python-mathgl pkg.
It is working for me though not extensively tested.
I think there are better ways to do it, but I lack the
skills to improve it.

TIA.
Pelayo Gozález

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (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/bash

Versions of packages mathgl depends on:
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.1-1  GCC support library
ii  libmgl-fltk5                  1.9-1      library for scientific graphs. (FL
ii  libmgl5                       1.9-1      library for scientific graphs. (ma
ii  libstdc++6                    4.4.1-1    The GNU Standard C++ Library v3

mathgl recommends no packages.

mathgl suggests no packages.

-- no debconf information
diff -urNbB mathgl-1.9/debian/control mathgl-1.9.python/debian/control
--- mathgl-1.9/debian/control	2009-08-14 14:14:21.000000000 +0200
+++ mathgl-1.9.python/debian/control	2009-08-14 14:58:51.620175316 +0200
@@ -2,7 +2,8 @@
 Section: libs
 Priority: optional
 Maintainer: Bradley Smith <[email protected]>
-Build-Depends: debhelper (>= 7), libltdl-dev, libgsl0-dev, freeglut3-dev, libgl1-mesa-dev | libgl-dev, libpng-dev, libhdf5-serial-dev | libhdf5-dev, libjpeg-dev, libtiff-dev, libfltk-dev, libqt4-dev, libwxgtk2.8-dev, swig, texinfo, texi2html, texlive, texlive-generic-recommended, octave3.0-headers, quilt, libgif-dev
+Build-Depends: debhelper (>= 7), libltdl-dev, libgsl0-dev, freeglut3-dev, libgl1-mesa-dev | libgl-dev, libpng-dev, libhdf5-serial-dev | libhdf5-dev, libjpeg-dev, libtiff-dev, libfltk-dev, libqt4-dev, libwxgtk2.8-dev, python-all-dev, python-central, swig, texinfo, texi2html, texlive, texlive-generic-recommended, octave3.0-headers, quilt, libgif-dev
+XS-Python-Version: >= 2.2, << 2.6
 Standards-Version: 3.8.1
 Homepage: http://mathgl.sourceforge.net/index.html
 Vcs-Git: http://git.brad-smith.co.uk/git/debian/pkg-mathgl.git
@@ -122,3 +123,21 @@
  languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
  .
  This package containst the GLUT frontend.
+
+Package: python-mathgl
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Section: python
+Priority: extra
+Depends: ${python:Depends}, ${shlibs:Depends}, libmgl5 (= ${binary:Version})
+Provides: ${python:Provides}
+Suggests: libmgl-dev, mathgl
+Description: MathGL is a library for the plotting of the data
+ MathGL is a free library of fast C++ routines for the plotting
+ of the data varied in one or more dimensions. It uses OpenGL
+ (www.opengl.org) for the plotting. Also there is a simple window
+ interface based on GLUT. This provides high compatibility with
+ any operating system (really any which has OpenGL-like libraries).
+ .
+ Python language interface
+
diff -urNbB mathgl-1.9/debian/pycompat mathgl-1.9.python/debian/pycompat
--- mathgl-1.9/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
+++ mathgl-1.9.python/debian/pycompat	2009-08-14 13:10:14.516424432 +0200
@@ -0,0 +1 @@
+2
diff -urNbB mathgl-1.9/debian/python-mathgl.docs mathgl-1.9.python/debian/python-mathgl.docs
--- mathgl-1.9/debian/python-mathgl.docs	1970-01-01 01:00:00.000000000 +0100
+++ mathgl-1.9.python/debian/python-mathgl.docs	2009-08-14 13:43:49.328171066 +0200
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff -urNbB mathgl-1.9/debian/python-mathgl.postinst mathgl-1.9.python/debian/python-mathgl.postinst
--- mathgl-1.9/debian/python-mathgl.postinst	1970-01-01 01:00:00.000000000 +0100
+++ mathgl-1.9.python/debian/python-mathgl.postinst	2009-08-14 13:09:25.944175789 +0200
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+exit 0
diff -urNbB mathgl-1.9/debian/python-mathgl.prerm mathgl-1.9.python/debian/python-mathgl.prerm
--- mathgl-1.9/debian/python-mathgl.prerm	1970-01-01 01:00:00.000000000 +0100
+++ mathgl-1.9.python/debian/python-mathgl.prerm	2009-08-14 13:09:07.484171292 +0200
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+exit 0
diff -urNbB mathgl-1.9/debian/rules mathgl-1.9.python/debian/rules
--- mathgl-1.9/debian/rules	2009-08-14 14:14:21.000000000 +0200
+++ mathgl-1.9.python/debian/rules	2009-08-14 17:12:40.053493720 +0200
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
 include /usr/share/quilt/quilt.make
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -10,6 +13,10 @@
 # Package fails to build in parallel - Workaround for the time being.
 MAKEFLAGS = -j1
 
+#PYTHON
+PYVERS:=$(sort $(shell pyversions -vr) 2.5)
+PYCURR:=$(shell pyversions -d)
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
@@ -22,7 +29,7 @@
 	CFLAGS="$(CFLAGS)" \
 		./configure --prefix=/usr --mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info --host=$(DEB_HOST_GNU_TYPE) \
-		--build=$(DEB_BUILD_GNU_TYPE) --enable-all --enable-octave
+		--build=$(DEB_BUILD_GNU_TYPE) --enable-all --enable-python --enable-octave
 	touch $@
 
 build: build-stamp
@@ -31,13 +38,23 @@
 	$(MAKE)
 	touch $@
 
+build-python: build build-python-stamp
+build-python-stamp: $(PYVERS:%=build-python-stamp-%)
+	touch $@
+
+build-python-stamp-%:
+	dh_testdir
+	python$* setup.py build
+	touch $@
+
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
+	rm -f build-stamp configure-stamp build-python-stamp* install-python-stamp*
 	rm -rf build autom4te.cache texinfo/png/*.png
 	rm -f texinfo/mathgl.info-4
 	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -rf build $(CURDIR)/debian/tmp
 	dh_clean
 
 install: build
@@ -47,25 +64,57 @@
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -f debian/tmp/usr/bin/*_example
 
-binary-indep: build install
+install-python: install install-python-stamp
+install-python-stamp: build-python $(PYVERS:%=install-python-stamp-%)
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	dh_install
+	touch $@
 
-binary-arch: build install
+install-python-stamp-%: build-python-stamp-%
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs ChangeLog.txt
-	dh_installdocs
-	dh_install --fail-missing
+	python$* setup.py install --root $(CURDIR)/debian/python-mathgl --no-compile
+	touch $@
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir -Npython-mathgl
+	dh_testroot -Npython-mathgl
+	dh_installchangelogs -Npython-mathgl ChangeLog.txt
+	dh_installdocs -Npython-mathgl
+	dh_install -Npython-mathgl --list-missing
 	rm -f debian/mathgl-doc/usr/share/doc/mathgl-doc/png/all.png
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_link -Npython-mathgl
+	dh_strip -Npython-mathgl
+	dh_compress -Npython-mathgl
+	dh_fixperms -Npython-mathgl
+	dh_makeshlibs -Npython-mathgl
+	dh_installdeb -Npython-mathgl
+	dh_shlibdeps -Npython-mathgl
+	dh_gencontrol -Npython-mathgl
+	dh_md5sums -Npython-mathgl
+	dh_builddeb -Npython-mathgl
+
+binary-arch-python: build build-python install install-python
+	dh_testdir -ppython-mathgl
+	dh_testroot -ppython-mathgl
+	dh_pycentral -ppython-mathgl
+	dh_python  -ppython-mathgl
+	dh_installchangelogs -ppython-mathgl ChangeLog.txt
+	dh_installdocs -ppython-mathgl
+	dh_link -ppython-mathgl
+	dh_strip -ppython-mathgl
+	dh_compress -ppython-mathgl -X.py
+	dh_fixperms -ppython-mathgl
+	dh_makeshlibs -ppython-mathgl
+	dh_installdeb -ppython-mathgl
+	dh_shlibdeps -ppython-mathgl
+	dh_gencontrol -ppython-mathgl
+	dh_md5sums -ppython-mathgl
+	dh_builddeb -ppython-mathgl
 
-binary: binary-indep binary-arch
+binary: binary-indep binary-arch binary-arch-python
 .PHONY: build clean binary-indep binary-arch binary install configure

--- End Message ---
--- Begin Message ---
Source: mathgl
Source-Version: 1.10.2.1-2

We believe that the bug you reported is fixed in the latest version of
mathgl, which is due to be installed in the Debian FTP archive:

libmgl-data_1.10.2.1-2_all.deb
  to main/m/mathgl/libmgl-data_1.10.2.1-2_all.deb
libmgl-dev_1.10.2.1-2_i386.deb
  to main/m/mathgl/libmgl-dev_1.10.2.1-2_i386.deb
libmgl-fltk5_1.10.2.1-2_i386.deb
  to main/m/mathgl/libmgl-fltk5_1.10.2.1-2_i386.deb
libmgl-glut5_1.10.2.1-2_i386.deb
  to main/m/mathgl/libmgl-glut5_1.10.2.1-2_i386.deb
libmgl-qt5_1.10.2.1-2_i386.deb
  to main/m/mathgl/libmgl-qt5_1.10.2.1-2_i386.deb
libmgl-wx5_1.10.2.1-2_i386.deb
  to main/m/mathgl/libmgl-wx5_1.10.2.1-2_i386.deb
libmgl5_1.10.2.1-2_i386.deb
  to main/m/mathgl/libmgl5_1.10.2.1-2_i386.deb
mathgl-doc_1.10.2.1-2_all.deb
  to main/m/mathgl/mathgl-doc_1.10.2.1-2_all.deb
mathgl_1.10.2.1-2.debian.tar.gz
  to main/m/mathgl/mathgl_1.10.2.1-2.debian.tar.gz
mathgl_1.10.2.1-2.dsc
  to main/m/mathgl/mathgl_1.10.2.1-2.dsc
mathgl_1.10.2.1-2_i386.deb
  to main/m/mathgl/mathgl_1.10.2.1-2_i386.deb
python-mathgl_1.10.2.1-2_i386.deb
  to main/m/mathgl/python-mathgl_1.10.2.1-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dimitrios Eftaxiopoulos <[email protected]> (supplier of updated mathgl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 11 Sep 2010 12:37:00 +0200
Source: mathgl
Binary: mathgl mathgl-doc libmgl5 libmgl-data libmgl-dev libmgl-fltk5 
libmgl-qt5 libmgl-wx5 libmgl-glut5 python-mathgl
Architecture: source i386 all
Version: 1.10.2.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Dimitrios Eftaxiopoulos <[email protected]>
Description: 
 libmgl-data - library for scientific graphs. (data files)
 libmgl-dev - library for scientific graphs. (development files)
 libmgl-fltk5 - library for scientific graphs. (FLTK runtime library)
 libmgl-glut5 - library for scientific graphs. (GLUT runtime library)
 libmgl-qt5 - library for scientific graphs. (Qt runtime library)
 libmgl-wx5 - library for scientific graphs. (wxWidgets runtime library)
 libmgl5    - library for scientific graphs. (main runtime library)
 mathgl     - library for scientific graphs. (utlities and examples)
 mathgl-doc - library for scientific graphs. (documentation)
 python-mathgl - library for scientific graphs. (Python module)
Closes: 541481
Changes: 
 mathgl (1.10.2.1-2) unstable; urgency=low
 .
   * Make .png pictures visible from the html documentation.
   * Add python support (Closes: #541481).
Checksums-Sha1: 
 c8b37aa0fcdbb635f8aaab9bf6d07c8a2b312aea 1787 mathgl_1.10.2.1-2.dsc
 5fcd9b5d3986b589835c49ba1a61f7edf0d4be2b 2565335 
mathgl_1.10.2.1-2.debian.tar.gz
 c181c409b416d0c91c1f1973a6b5e6b937c7cc33 33860 mathgl_1.10.2.1-2_i386.deb
 20350cb3c1645b178cdec2bcb64e77c0344262b9 13044268 mathgl-doc_1.10.2.1-2_all.deb
 ad7b4247f01dff33782d7ac9742f0e58239fbf35 740134 libmgl5_1.10.2.1-2_i386.deb
 492ef1b98f7f9080483ae2ff9dc6dcb05d78df9a 3845006 libmgl-data_1.10.2.1-2_all.deb
 3dc22b502141f39de5640e5d5df0f04f2f6c39b9 929396 libmgl-dev_1.10.2.1-2_i386.deb
 f29515840a59ffa49b3ac2f68eb8c9ce4456ce91 35564 libmgl-fltk5_1.10.2.1-2_i386.deb
 adf8ad59157ea776cba8d2dd178864d1b976894e 50114 libmgl-qt5_1.10.2.1-2_i386.deb
 5cec61ba8d091ffc7a016ba301b4b65252bb1c22 36078 libmgl-wx5_1.10.2.1-2_i386.deb
 5d4715c154dc64c2f38e781b73559459c6290ae2 25038 libmgl-glut5_1.10.2.1-2_i386.deb
 972f5d01d3005b131cb1109963f5aa4394e12b22 1736584 
python-mathgl_1.10.2.1-2_i386.deb
Checksums-Sha256: 
 ae857ffa3aa8bfd4dcc6dd4f90da1506e7cbe36268e8c5d4aa094a8caa766e06 1787 
mathgl_1.10.2.1-2.dsc
 22fb667899275d2475bb81b88baa2c8e90d0c8df910844d5a0d2b099cc4bf078 2565335 
mathgl_1.10.2.1-2.debian.tar.gz
 4496eeb9d2e8b65cf70debf55863302117eb42fe82807348ea903da0a0f68631 33860 
mathgl_1.10.2.1-2_i386.deb
 9d825e07e5ba62b29abf57b69d6f5a02bfdea491b039ba1cdd18deffddc4df70 13044268 
mathgl-doc_1.10.2.1-2_all.deb
 c23d61c1c8f80ac1054400b4c4b747efcc62d27058e4b068da55cfee9d78220a 740134 
libmgl5_1.10.2.1-2_i386.deb
 1b54a5023d338ffece62d48fbc63ad0b82e5967defaedcae54a17dd75064c14d 3845006 
libmgl-data_1.10.2.1-2_all.deb
 020a3b61b47343bd7c8ed0e9e60235fe701b008895f43cba1c21ee001c1c726c 929396 
libmgl-dev_1.10.2.1-2_i386.deb
 8fe74073ce1a1833383d4fbdcb7049974057ca611c54ff2a67c5b2b8873fa892 35564 
libmgl-fltk5_1.10.2.1-2_i386.deb
 236a94d3ea5f8992f24e4b80c0bb10f9b6d8ede49d96629e506dac3b3e0b4a1e 50114 
libmgl-qt5_1.10.2.1-2_i386.deb
 8a5b06e989b1cb9bc0d64b957df6e64112f91da7799b6e3dfc610c875ccb5a18 36078 
libmgl-wx5_1.10.2.1-2_i386.deb
 d162b79e08b0a472f36f860d61a9494cf56123de172ca68d096a02223a55288f 25038 
libmgl-glut5_1.10.2.1-2_i386.deb
 6266867ffc0eb83ad914d260d9d1c5e31172e7bc0d22ea1d06481cdfa72bce7a 1736584 
python-mathgl_1.10.2.1-2_i386.deb
Files: 
 c3ba6954a932a4ace934a682ba7152d5 1787 science optional mathgl_1.10.2.1-2.dsc
 bd1acd8e21874760868fb784d19d0a6e 2565335 science optional 
mathgl_1.10.2.1-2.debian.tar.gz
 50f0f2980f2eaffe7890c84296a4eb8a 33860 libs optional mathgl_1.10.2.1-2_i386.deb
 f995c73e1a516d0dcddcc0d161701da0 13044268 doc optional 
mathgl-doc_1.10.2.1-2_all.deb
 1e8835540294fb762f97547d44504d0d 740134 libs optional 
libmgl5_1.10.2.1-2_i386.deb
 607270e7ccef9e82833c2f21d07d8b50 3845006 misc optional 
libmgl-data_1.10.2.1-2_all.deb
 0d1fe95b15ffc414e908cec5262c1df6 929396 libdevel optional 
libmgl-dev_1.10.2.1-2_i386.deb
 c9f7c10b492f1456be6221a45befbe85 35564 libs optional 
libmgl-fltk5_1.10.2.1-2_i386.deb
 bb137f4d20a72a75c5fbe835cf6c6746 50114 libs optional 
libmgl-qt5_1.10.2.1-2_i386.deb
 69c10af2bc8aba4e0a12d7e4dc802458 36078 libs optional 
libmgl-wx5_1.10.2.1-2_i386.deb
 53a28b800af9f3ce022a56b796ec6c90 25038 libs optional 
libmgl-glut5_1.10.2.1-2_i386.deb
 e69531d064080bb5f015c46db41da5d9 1736584 python optional 
python-mathgl_1.10.2.1-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyLjOkACgkQiOXXM92JlhAC2ACcCcEDfDON4h8SKzE9l6+wLRGF
YmcAoITZmnz2gcBA7nmli0XBValNtMvu
=ie79
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to