r36727 - in /packages/sfepy/trunk/debian: ./ patches/

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Wed Jul 7 15:14:02 UTC 2010


Author: trophime-guest
Date: Wed Jul  7 15:14:01 2010
New Revision: 36727

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36727
Log:
[svn-inject] Applying Debian modifications (2010.2-1) to trunk

Added:
    packages/sfepy/trunk/debian/   (with props)
    packages/sfepy/trunk/debian/README.source
    packages/sfepy/trunk/debian/changelog
    packages/sfepy/trunk/debian/compat
    packages/sfepy/trunk/debian/control
    packages/sfepy/trunk/debian/copyright
    packages/sfepy/trunk/debian/docs
    packages/sfepy/trunk/debian/isfepy.1
    packages/sfepy/trunk/debian/patches/
    packages/sfepy/trunk/debian/patches/script.diff
    packages/sfepy/trunk/debian/patches/series
    packages/sfepy/trunk/debian/patches/setup.patch
    packages/sfepy/trunk/debian/rules   (with props)
    packages/sfepy/trunk/debian/sfepy-release.debhelper.log
    packages/sfepy/trunk/debian/sfepy-release.postinst.debhelper
    packages/sfepy/trunk/debian/sfepy-release.preinst.debhelper
    packages/sfepy/trunk/debian/sfepy-release.prerm.debhelper
    packages/sfepy/trunk/debian/sfepy-release.substvars
    packages/sfepy/trunk/debian/watch

Propchange: packages/sfepy/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/sfepy/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/README.source?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/README.source (added)
+++ packages/sfepy/trunk/debian/README.source Wed Jul  7 15:14:01 2010
@@ -1,0 +1,9 @@
+python-scikits-umfpack for Debian
+---------------------------------
+
+setup.patch: patch setup.py
+script.diff: correct shebang
+
+
+
+

Added: packages/sfepy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/changelog?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/changelog (added)
+++ packages/sfepy/trunk/debian/changelog Wed Jul  7 15:14:01 2010
@@ -1,0 +1,9 @@
+sfepy (2010.2-1) unstable; urgency=low
+
+  * debian/control: add swig to builddepends
+  * debian/rules: modify get-orig-sources
+  * Remove lintian warnings
+  * Initial release (Closes: #588340)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Wed, 07 Jul 2010 12:28:15 +0200
+

Added: packages/sfepy/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/compat?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/compat (added)
+++ packages/sfepy/trunk/debian/compat Wed Jul  7 15:14:01 2010
@@ -1,0 +1,1 @@
+7

Added: packages/sfepy/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/control?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/control (added)
+++ packages/sfepy/trunk/debian/control Wed Jul  7 15:14:01 2010
@@ -1,0 +1,20 @@
+Source: sfepy
+Section: math
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: cdbs, debhelper (>= 7), quilt, python-all-dev, python-central (>= 0.5.6), swig, python-numpy, python-scipy, python-tables, python-pyparsing, python-matplotlib, python-sympy
+#,python-pysparse, gmsh, tetgen, python-multiprocessing, ipython
+# mayavi2 
+Standards-Version: 3.8.4
+XS-Python-Version: all
+Homepage: http://code.google.com/p/sfepy
+
+Package: python-sfepy
+Section: python
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Recommends: python-scikits-umfpack
+Description: Simple finite elements in Python
+ A finite element analysis software based primarily on 
+ NumPy and SciPy.

Added: packages/sfepy/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/copyright?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/copyright (added)
+++ packages/sfepy/trunk/debian/copyright Wed Jul  7 15:14:01 2010
@@ -1,0 +1,47 @@
+This work was packaged for Debian by:
+
+    Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Fri, 20 Nov 2009 16:51:26 +0100
+
+It was downloaded from http://code.google.com/p/sfepy
+
+Upstream Autho:
+
+    Robert Cimrman
+
+Copyright:
+
+    Copyright (c) 2007, 2008 SfePy Development Team
+
+License:
+
+    Copyright (c) 2007, 2008 SfePy Development Team
+
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+	* Redistributions of source code must retain the above copyright notice,
+	  this list of conditions and the following disclaimer.
+	* Redistributions in binary form must reproduce the above copyright notice,
+	  this list of conditions and the following disclaimer in the documentation
+	  and/or other materials provided with the distribution.
+	* Neither the name of the SfePy nor the names of its contributors
+	  may be used to endorse or promote products derived from this software
+	  without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+

Added: packages/sfepy/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/docs?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/docs (added)
+++ packages/sfepy/trunk/debian/docs Wed Jul  7 15:14:01 2010
@@ -1,0 +1,2 @@
+README
+RELEASE_NOTES.txt

Added: packages/sfepy/trunk/debian/isfepy.1
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/isfepy.1?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/isfepy.1 (added)
+++ packages/sfepy/trunk/debian/isfepy.1 Wed Jul  7 15:14:01 2010
@@ -1,0 +1,42 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH ISFEPY 1 "July 20, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7) and groff_man(7)
+.\" .SH        section heading
+.\" .SS        secondary section heading
+.\"
+.\"
+.\" To preview this page as plain text: nroff -man ISFEPY.1
+.\"
+.SH NAME
+ISFEPY \- An Enhanced Interactive Python Shell for Sfepy
+.SH SYNOPSIS
+.B ISFEPY
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+An interactive Sfepy shell based on ipython.
+.
+.SH REGULAR OPTIONS
+All options with a [no] prepended can be specified in negated form
+(\-nooption instead of \-option) to turn the feature off.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.
+.SH AUTHOR
+ISFEPY was written by Robert Cimrman.  This manual page was written by Christophe
+Trophime <christophe.trophime at grenoble.cnrs.fr>, 
+for the Debian project (but may be used by others).

Added: packages/sfepy/trunk/debian/patches/script.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/patches/script.diff?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/patches/script.diff (added)
+++ packages/sfepy/trunk/debian/patches/script.diff Wed Jul  7 15:14:01 2010
@@ -1,0 +1,19 @@
+Index: sfepy-release-2010.2/script/evalForms.py
+===================================================================
+--- sfepy-release-2010.2.orig/script/evalForms.py	2010-07-01 17:07:51.000000000 +0200
++++ sfepy-release-2010.2/script/evalForms.py	2010-07-01 17:07:54.000000000 +0200
+@@ -1,3 +1,5 @@
++#!/usr/bin/python
++
+ # 24.09.2007, c
+ import sympy as s
+ 
+Index: sfepy-release-2010.2/site_cfg_template.py
+===================================================================
+--- sfepy-release-2010.2.orig/site_cfg_template.py	2010-07-01 17:29:34.000000000 +0200
++++ sfepy-release-2010.2/site_cfg_template.py	2010-07-01 17:30:09.000000000 +0200
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ ##
+ # Template file for site configuration - copy it to site_cfg.py:
+ # $ cp site_cfg_template.py site_cfg.py

Added: packages/sfepy/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/patches/series?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/patches/series (added)
+++ packages/sfepy/trunk/debian/patches/series Wed Jul  7 15:14:01 2010
@@ -1,0 +1,1 @@
+script.diff

Added: packages/sfepy/trunk/debian/patches/setup.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/patches/setup.patch?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/patches/setup.patch (added)
+++ packages/sfepy/trunk/debian/patches/setup.patch Wed Jul  7 15:14:01 2010
@@ -1,0 +1,53 @@
+Index: sfepy-release-2010.1/setup.py
+===================================================================
+--- sfepy-release-2010.1.orig/setup.py	2010-03-10 15:43:39.000000000 +0100
++++ sfepy-release-2010.1/setup.py	2010-03-10 15:44:29.000000000 +0100
+@@ -47,17 +47,16 @@
+         'blockgen.py',
+         'config.py',
+         'convert.py',
+-        'convert_doc.py',
+         'convert_mesh.py',
++        'cylindergen.py',
+         'edit_identifiers.py',
+         'edit_neu.py',
+         'evalForms.py',
+         'eval_tl_forms.py',
+-        'genDocsXML.py',
++        'gen_term_table.py',
+         'hfm3_mesh.py',
+         'mesh_to_vtk.py',
+         'neu_mesh.py',
+-        'sfepyconverter.py',
+         'spymatrix.py',
+     ]
+     aux_scripts = [os.path.join('script', ii) for ii in aux_scripts]
+@@ -72,7 +71,7 @@
+     config.add_data_dir(('../../../share/sfepy/tests', 'tests'))
+ 
+     config.get_version('sfepy/version.py') # sets config.version
+-    print config
++    ##print config
+     return config
+ 
+ def setup_package():
+@@ -109,16 +108,16 @@
+         'eigen.py',
+         'extractor.py',
+         'findSurf.py',
+-        'gen',
+-        'genDocs.py',
+         'genPerMesh.py',
+         'isfepy',
++        'homogen.py',
+         'postproc.py',
+         'probe.py',
+         'runTests.py',
+         'schroedinger.py',
+         'sfepy_gui.py',
+-        'simple.py'
++        'simple.py',
++        'site_cfg_template.py',
+     ]
+ 
+     try:

Added: packages/sfepy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/rules?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/rules (added)
+++ packages/sfepy/trunk/debian/rules Wed Jul  7 15:14:01 2010
@@ -1,0 +1,52 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM = pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_COMPRESS_EXCLUDE := .py .pdf
+
+USCAN_DESTDIR := $(CURDIR)
+
+# common additional install options for all binary packages
+#   ('--root' option is always set)
+#DEB_PYTHON_INSTALL_ARGS_ALL =
+
+DEB_INSTALL_MANPAGES=sfepy.1
+
+clean::
+	rm -rf build
+	rm -f VERSION
+	rm -f site_cfg.py*
+
+install/python-sfepy::
+	mkdir -p $(DEB_DESTDIR)usr/lib/sfepy/bin
+	cd $(DEB_DESTDIR)usr/bin && \
+	for i in `ls *.py`; do \
+	   echo $$i; \
+	   mv $$i $(DEB_DESTDIR)usr/lib/sfepy/bin/$$i; \
+	done
+	dh_installdocs -ppython-sfepy  doc/sfepy_manual.pdf 
+	dh_installman debian/isfepy.1
+	find $(DEB_DESTDIR) -name Makefile.dist | xargs rm 
+	rm -rf  $(DEB_DESTDIR)usr/share/sfepy/doc/
+	find $(DEB_DESTDIR) -name LICENSE | xargs rm
+	
+clean/python-sfepy::
+	make clean
+
+VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+
+get-orig-source:
+	rm -rf $@
+	mkdir -p $@
+	cd $@ && uscan --force-download --verbose --destdir $@ \
+	 --download-version $(DEB_UPSTREAM_VERSION) \
+	 --upstream-version $(DEB_UPSTREAM_VERSION)
+	cd $@ && tar -xf $(PACKAGE)-release-$(VERSION).tgz
+	cd $@ && rm -f $(PACKAGE)-release-$(VERSION).tgz
+	cd $@ && mv $(PACKAGE)-release-$(VERSION) $(PACKAGE)-$(VERSION)
+	cd $@ && tar zcf ../../$(PACKAGE)-$(VERSION).orig.tar.gz $(PACKAGE)-$(VERSION)
+	rm -r $@

Propchange: packages/sfepy/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/sfepy/trunk/debian/sfepy-release.debhelper.log
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/sfepy-release.debhelper.log?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/sfepy-release.debhelper.log (added)
+++ packages/sfepy/trunk/debian/sfepy-release.debhelper.log Wed Jul  7 15:14:01 2010
@@ -1,0 +1,32 @@
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installexamples
+dh_installman
+dh_installinfo
+dh_installmenu
+dh_installcron
+dh_installinit
+dh_installdebconf
+dh_installemacsen
+dh_installcatalogs
+dh_installpam
+dh_installlogrotate
+dh_installlogcheck
+dh_installchangelogs
+dh_installudev
+dh_lintian
+dh_install
+dh_link
+dh_installmime
+dh_pycentral
+dh_strip
+dh_compress
+dh_fixperms
+dh_makeshlibs
+dh_installdeb
+dh_perl
+dh_shlibdeps
+dh_gencontrol
+dh_md5sums
+dh_builddeb

Added: packages/sfepy/trunk/debian/sfepy-release.postinst.debhelper
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/sfepy-release.postinst.debhelper?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/sfepy-release.postinst.debhelper (added)
+++ packages/sfepy/trunk/debian/sfepy-release.postinst.debhelper Wed Jul  7 15:14:01 2010
@@ -1,0 +1,9 @@
+# Automatically added by dh_pycentral
+rm -f /var/lib/pycentral/sfepy-release.pkgremove
+if which pycentral >/dev/null 2>&1; then
+	pycentral pkginstall sfepy-release
+	if grep -qs '^sfepy-release$' /var/lib/pycentral/delayed-pkgs; then
+		sed -i '/^sfepy-release$/d' /var/lib/pycentral/delayed-pkgs
+	fi
+fi
+# End automatically added section

Added: packages/sfepy/trunk/debian/sfepy-release.preinst.debhelper
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/sfepy-release.preinst.debhelper?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/sfepy-release.preinst.debhelper (added)
+++ packages/sfepy/trunk/debian/sfepy-release.preinst.debhelper Wed Jul  7 15:14:01 2010
@@ -1,0 +1,8 @@
+# Automatically added by dh_pycentral
+case "$1" in
+    install|upgrade)
+	mkdir -p /var/lib/pycentral
+	echo '# the presence of this file allows calling pkgremove on upgrade' \
+	    > /var/lib/pycentral/sfepy-release.pkgremove
+esac
+# End automatically added section

Added: packages/sfepy/trunk/debian/sfepy-release.prerm.debhelper
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/sfepy-release.prerm.debhelper?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/sfepy-release.prerm.debhelper (added)
+++ packages/sfepy/trunk/debian/sfepy-release.prerm.debhelper Wed Jul  7 15:14:01 2010
@@ -1,0 +1,45 @@
+# Automatically added by dh_pycentral
+case "$1" in remove|upgrade)
+	pkgremove=y
+esac
+if [ -f /var/lib/pycentral/sfepy-release.pkgremove ] || [ -f /var/lib/pycentral/pkgremove ]; then
+	pkgremove=y
+fi
+if [ "$pkgremove" = y ]; then
+if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
+	pycentral pkgremove sfepy-release
+else
+	flist=$(tempfile)
+	slist=$(tempfile)
+	dpkg -L sfepy-release | tee $flist | \
+	while read n; do
+	  case "$n" in
+	    /usr/share/pyshared/*)
+	      n2=${n#/usr/share/pyshared/*}
+	      case "$n" in
+		*.py) echo "p $n";;
+		*) [ -d "$n" ] && echo "d $n2" || echo "f $n2"
+	      esac
+	      ;;
+	    *) continue
+	  esac
+	done > $slist
+	if [ -s $slist ]; then
+	    for d in /usr/lib/python[0-9].[0-9]/????-packages; do
+		case "$d" in */python2.1/*|*/python2.2/*) continue; esac
+		while read t n; do
+		    case "$t" in
+			p) rm -f $d/$n $d/${n}[co];;
+			d) rmdir $d/$n 2>/dev/null || true;;
+			*) rm -f $d/$n
+		    esac
+		done < $slist
+	    done
+	fi
+        awk '/\/usr\/share\/pyshared/ {next} /\.py$/ {print $0"c\n" $0"o"}' $flist \
+	    | xargs -r rm -f >&2
+	rm -f $flist $slist
+fi
+rm -f /var/lib/pycentral/sfepy-release.pkgremove
+fi
+# End automatically added section

Added: packages/sfepy/trunk/debian/sfepy-release.substvars
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/sfepy-release.substvars?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/sfepy-release.substvars (added)
+++ packages/sfepy/trunk/debian/sfepy-release.substvars Wed Jul  7 15:14:01 2010
@@ -1,0 +1,4 @@
+python:Versions=2.5
+python:Depends=python (<< 2.6), python (>= 2.5), python-central (>= 0.6.11), python2.5
+shlibs:Depends=libc6 (>= 2.2.5)
+misc:Depends=

Added: packages/sfepy/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/sfepy/trunk/debian/watch?rev=36727&op=file
==============================================================================
--- packages/sfepy/trunk/debian/watch (added)
+++ packages/sfepy/trunk/debian/watch Wed Jul  7 15:14:01 2010
@@ -1,0 +1,4 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+version=3
+http://sfepy.googlecode.com/files/sfepy-release-(.*)\.tgz




More information about the debian-science-commits mailing list