[SCM] Packaging for mathgl branch, master, updated. f98bf8075996130fc4e57bf83cc05949ac571a83

Dimitrios Eftaxiopoulos eftaxi12 at otenet.gr
Mon Sep 6 21:05:13 UTC 2010


The following commit has been merged in the master branch:
commit f98bf8075996130fc4e57bf83cc05949ac571a83
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Tue Sep 7 00:04:21 2010 +0300

    Add python support

diff --git a/debian/changelog b/debian/changelog
index 34cd40f..bb31275 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-mathgl (1.10.2.1-2) UNRELEASED; urgency=low
+mathgl (1.10.2.1-2) unstable; urgency=low
 
-  * Update to Debian Policy 3.9.1.0.
+  * Add python support (Closes: #541481).
 
  -- Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>  Wed, 18 Aug 2010 08:42:17 +0200
 	
diff --git a/debian/control b/debian/control
index 524f6eb..64db98b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>, D Haley <mycae at yahoo.com>
 DM-Upload-Allowed: yes
-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.2-headers, libgif-dev, autoconf, automake, quilt
+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.2-headers, libgif-dev, autoconf, automake, quilt, python
 Standards-Version: 3.9.1
 Homepage: http://mathgl.sourceforge.net/index.html
 Vcs-Git: git://git.debian.org/debian-science/packages/mathgl.git
@@ -124,3 +124,16 @@ Description: library for scientific graphs. (GLUT runtime library)
  languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
  .
  This package containst the GLUT frontend.
+
+Package: python-mathgl
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for scientific graphs. (Python module)
+ A free cross-platform library of fast C++ routines for plotting data in up
+ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF
+ files. There are simple window interfaces based on GLUT, FLTK and/or Qt.
+ MathGL can also be used in the console. There are interfaces to a set of
+ languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
+ .
+ This package provides the Python module for mathgl. 
diff --git a/debian/patches/debian-changes-1.10.2.1-1 b/debian/patches/debian-changes-1.10.2.1-1
index 0477545..942691a 100644
--- a/debian/patches/debian-changes-1.10.2.1-1
+++ b/debian/patches/debian-changes-1.10.2.1-1
@@ -28605,7 +28605,7 @@ Last-Update: <YYYY-MM-DD>
 +GREP = /bin/grep
 +GSL_FLAGS = -I/usr/include
 +GSL_LIBS = -L/usr/lib -lgsl -lgslcblas -lm
-+HAVE_SWIG = 
++HAVE_SWIG = true
 +HDF5_FLAGS = -DHAVE_HDF5 -DH5_USE_16_API
 +HDF5_LIBS = -lhdf5
 +INSTALL = /usr/bin/install -c
@@ -28649,12 +28649,12 @@ Last-Update: <YYYY-MM-DD>
 +PNG_LIBS = -lpng
 +PTHREAD_FLAGS = -DHAVE_PTHREAD
 +PTHREAD_LIBS = -lpthread
-+PYTHON = 
-+PYTHON_EXEC_PREFIX = 
-+PYTHON_HEADERS = 
-+PYTHON_PLATFORM = 
-+PYTHON_PREFIX = 
-+PYTHON_VERSION = 
++PYTHON = /usr/bin/python
++PYTHON_EXEC_PREFIX = ${exec_prefix}
++PYTHON_HEADERS = -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes
++PYTHON_PLATFORM = linux2
++PYTHON_PREFIX = ${prefix}
++PYTHON_VERSION = 2.6
 +QMAKE = /usr/bin/qmake-qt4
 +QT_CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(QT_DEFINES)
 +QT_CPPFLAGS = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.
@@ -28720,13 +28720,13 @@ Last-Update: <YYYY-MM-DD>
 +mkdir_p = /bin/mkdir -p
 +oldincludedir = /usr/include
 +pdfdir = ${docdir}
-+pkgpyexecdir = 
-+pkgpythondir = 
++pkgpyexecdir = ${pyexecdir}/mathgl
++pkgpythondir = ${pythondir}/mathgl
 +prefix = /usr
 +program_transform_name = s,x,x,
 +psdir = ${docdir}
-+pyexecdir = 
-+pythondir = 
++pyexecdir = ${exec_prefix}/lib/python2.6/dist-packages
++pythondir = ${prefix}/lib/python2.6/dist-packages
 +sbindir = ${exec_prefix}/sbin
 +sharedstatedir = ${prefix}/com
 +srcdir = .
diff --git a/debian/patches/debian-changes-1.10.2.1-2 b/debian/patches/debian-changes-1.10.2.1-2
index 8942369..77a0f95 100644
--- a/debian/patches/debian-changes-1.10.2.1-2
+++ b/debian/patches/debian-changes-1.10.2.1-2
@@ -3,12 +3,13 @@ Description: Upstream changes introduced in version 1.10.2.1-2
  Here's the last changelog entry, hopefully it gives details on why
  those changes were made:
  .
- mathgl (1.10.2.1-2) UNRELEASED; urgency=low
+ mathgl (1.10.2.1-2) unstable; urgency=low
  .
-   * Update to Debian Policy 3.9.1.0.
+   * Add python support (Closes: #541481).
  .
  The person named in the Author field signed this changelog entry.
 Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
+Bug-Debian: http://bugs.debian.org/541481
 
 ---
 The information above should follow the Patch Tagging Guidelines, please
diff --git a/debian/python-mathgl.install b/debian/python-mathgl.install
new file mode 100644
index 0000000..64a7411
--- /dev/null
+++ b/debian/python-mathgl.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2.6/dist-packages/*
diff --git a/debian/rules b/debian/rules
index 8186293..67c6b9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ configure-stamp: $(QUILT_STAMPFN)
 	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-octave --enable-python
 	touch $@
 
 build: build-stamp
@@ -51,6 +51,8 @@ install: build
 	cp texinfo/*.pdf $(CURDIR)/debian/tmp/usr/share/doc/mathgl/
 	rm -f debian/tmp/usr/bin/*_example
 	rm -f debian/tmp/usr/share/info/dir
+	find debian -name *.pyc* -type f -delete
+	find debian -name *.pyo* -type f -delete
 
 binary-indep: build install
 

-- 
Packaging for mathgl



More information about the debian-science-commits mailing list