r36955 - in /packages/slepc4py/trunk/debian: ./ README.source changelog compat control copyright docs patches/ patches/openmpi.patch patches/series pycompat rules source/ source/format watch

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Wed Oct 20 07:35:45 UTC 2010


Author: trophime-guest
Date: Wed Oct 20 07:35:43 2010
New Revision: 36955

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

Added:
    packages/slepc4py/trunk/debian/   (with props)
    packages/slepc4py/trunk/debian/README.source
    packages/slepc4py/trunk/debian/changelog
    packages/slepc4py/trunk/debian/compat
    packages/slepc4py/trunk/debian/control
    packages/slepc4py/trunk/debian/copyright
    packages/slepc4py/trunk/debian/docs
    packages/slepc4py/trunk/debian/patches/
    packages/slepc4py/trunk/debian/patches/openmpi.patch
    packages/slepc4py/trunk/debian/patches/series
    packages/slepc4py/trunk/debian/pycompat
    packages/slepc4py/trunk/debian/rules   (with props)
    packages/slepc4py/trunk/debian/source/
    packages/slepc4py/trunk/debian/source/format
    packages/slepc4py/trunk/debian/watch

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

Added: packages/slepc4py/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/README.source?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/README.source (added)
+++ packages/slepc4py/trunk/debian/README.source Wed Oct 20 07:35:43 2010
@@ -1,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.

Added: packages/slepc4py/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/changelog?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/changelog (added)
+++ packages/slepc4py/trunk/debian/changelog Wed Oct 20 07:35:43 2010
@@ -1,0 +1,5 @@
+slepc4py (1.1-1) unstable; urgency=low
+
+  * Initial Debian release (closes: #600795) 
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 19 Oct 2010 17:02:57 +0200

Added: packages/slepc4py/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/compat?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/compat (added)
+++ packages/slepc4py/trunk/debian/compat Wed Oct 20 07:35:43 2010
@@ -1,0 +1,1 @@
+5

Added: packages/slepc4py/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/control?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/control (added)
+++ packages/slepc4py/trunk/debian/control Wed Oct 20 07:35:43 2010
@@ -1,0 +1,27 @@
+Source: slepc4py
+Section: python
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: cdbs (>=0.4.41), debhelper (>= 5), 
+ python-support (>= 0.7.5), python-all-dev (>=2.3.5-11), python-numpy (>= 1:1.4.1-4~), 
+ libslepc3.1-dev, chrpath (>= 0.13-2), quilt (>= 0.46-4), libhdf5-openmpi-dev
+Standards-Version: 3.9.1
+Homepage: http://code.google.com/p/slepc4py/
+#Vcs-Svn: svn://svn.debian.org/python-modules/packages/slepc4py/trunk/
+#Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/slepc4py/trunk/
+
+Package: python-slepc4py
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: python-slepc
+Replaces: python-slepc
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for SLPEc libraries
+ SLEPc is a software library for the solution of large scale sparse eigenvalue
+ problems on parallel computers. It is an extension of PETSc and can be used
+ for either standard or generalized eigenproblems, with real or complex
+ arithmetic. It can also be used for computing a partial SVD of a large,
+ sparse, rectangular matrix.
+ .
+ This package provides Python bindings to almost all functions of SLEPc.

Added: packages/slepc4py/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/copyright?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/copyright (added)
+++ packages/slepc4py/trunk/debian/copyright Wed Oct 20 07:35:43 2010
@@ -1,0 +1,34 @@
+It was downloaded from http://code.google.com/p/slepc4py/
+
+The package was debianized by Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  on 
+Sun, 13 May 2007 03:17:03 +0200
+
+Upstream Author: Lisandro Dalcin <dalcinl at gmail.com>
+
+Copyright (c) 2010, Lisandro Dalcin.
+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.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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
+HOLDER 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.
+

Added: packages/slepc4py/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/docs?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/docs (added)
+++ packages/slepc4py/trunk/debian/docs Wed Oct 20 07:35:43 2010
@@ -1,0 +1,1 @@
+README.txt

Added: packages/slepc4py/trunk/debian/patches/openmpi.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/patches/openmpi.patch?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/patches/openmpi.patch (added)
+++ packages/slepc4py/trunk/debian/patches/openmpi.patch Wed Oct 20 07:35:43 2010
@@ -1,0 +1,14 @@
+Add mpi include directory to perform build
+
+Index: petsc4py-1.0.2/setup.py
+===================================================================
+--- petsc4py-1.0.2.orig/setup.py	2009-06-29 07:40:35.000000000 +0000
++++ petsc4py-1.0.2/setup.py	2009-06-29 07:41:22.000000000 +0000
+@@ -72,6 +72,7 @@
+                                ],
+                       include_dirs=['src/include',
+                                     'src/source',
++                                    '/usr/include/mpi',
+                                     ] + numpy_includes,
+                       depends=depends)]
+ 

Added: packages/slepc4py/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/patches/series?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/patches/series (added)
+++ packages/slepc4py/trunk/debian/patches/series Wed Oct 20 07:35:43 2010
@@ -1,0 +1,1 @@
+#openmpi.patch

Added: packages/slepc4py/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/pycompat?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/pycompat (added)
+++ packages/slepc4py/trunk/debian/pycompat Wed Oct 20 07:35:43 2010
@@ -1,0 +1,1 @@
+2

Added: packages/slepc4py/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/rules?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/rules (added)
+++ packages/slepc4py/trunk/debian/rules Wed Oct 20 07:35:43 2010
@@ -1,0 +1,26 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_PYTHON_SYSTEM=pysupport
+
+DEB_INSTALL_EXAMPLES_python-slepc4py := demo
+
+# Export environment variables to avoid FTBFS when looking for PETSC_DIR and
+# PETSC_ARCH. Eventually replace the two lines below with a proper solution.
+export PETSC_DIR=/usr/lib/petsc
+export PETSC_ARCH=linux-gnu-c-opt
+export SLEPC_DIR=/usr/lib/slepc
+
+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
+
+python-build-stamp-%:
+	cd $(DEB_SRCDIR) && PETSC_DIR=/usr/lib/petsc PETSC_ARCH=linux-gnu-c-opt python$* $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+	chrpath -d build/lib.*-$*/slepc4py/lib/linux-gnu-c-opt/SLEPc.so
+
+python-install-%:
+	cd $(DEB_SRCDIR) && PETSC_DIR=/usr/lib/petsc PETSC_ARCH=linux-gnu-c-opt python$* $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
+
+binary-install/python-slepc4py::
+	dh_numpy

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

Added: packages/slepc4py/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/source/format?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/source/format (added)
+++ packages/slepc4py/trunk/debian/source/format Wed Oct 20 07:35:43 2010
@@ -1,0 +1,1 @@
+1.0

Added: packages/slepc4py/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc4py/trunk/debian/watch?rev=36955&op=file
==============================================================================
--- packages/slepc4py/trunk/debian/watch (added)
+++ packages/slepc4py/trunk/debian/watch Wed Oct 20 07:35:43 2010
@@ -1,0 +1,2 @@
+version=3
+http://code.google.com/p/slepc4py/ http://slepc4py.googlecode.com/files/slepc4py-(.*)\.tar\.gz debian uupdate




More information about the debian-science-commits mailing list