--- petsc4py-0.7.3.orig/debian/docs +++ petsc4py-0.7.3/debian/docs @@ -0,0 +1 @@ +README.txt --- petsc4py-0.7.3.orig/debian/control +++ petsc4py-0.7.3/debian/control @@ -0,0 +1,21 @@ +Source: petsc4py +Section: python +Priority: optional +Maintainer: Ondrej Certik +Uploaders: Debian Python Modules Team +Build-Depends: cdbs (>=0.4.41), debhelper (>= 5), python-central (>= 0.5), python-all-dev (>=2.3.5-11), python-numpy (>=1:1.0.3-1), petsc-dev (>=2.3.2-3), dpatch (>= 2.0.10) +Standards-Version: 3.7.2 +XS-Python-Version: all + +Package: python-petsc +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-numpy (>=1:1.0.3-1) +XB-Python-Version: ${python:Versions} +Description: Python bindings for PETSc libraries + PETSc is a suite of data structures and routines for the scalable (parallel) + solution of scientific applications modeled by partial differential equations. + It employs the MPI standard for all message-passing communication. + . + This package provides Python bindings to almost all functions of PETSc. + . + Homepage: http://code.google.com/p/petsc4py/ --- petsc4py-0.7.3.orig/debian/rules +++ petsc4py-0.7.3/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +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/dpatch.mk --- petsc4py-0.7.3.orig/debian/watch +++ petsc4py-0.7.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://code.google.com/p/petsc4py/ http://petsc4py.googlecode.com/files/petsc4py-(.*)\.tar\.gz debian uupdate --- petsc4py-0.7.3.orig/debian/changelog +++ petsc4py-0.7.3/debian/changelog @@ -0,0 +1,12 @@ +petsc4py (0.7.3-2) unstable; urgency=medium + + * Patched the build system to work with python-numpy 1.0.3 (Closes: #427196) + - dpatch added to Build-Depends + + -- Ondrej Certik Sun, 03 Jun 2007 11:11:54 +0200 + +petsc4py (0.7.3-1) unstable; urgency=low + + * Initial Debian release (closes: #420489) + + -- Ondrej Certik Sun, 13 May 2007 03:22:57 +0200 --- petsc4py-0.7.3.orig/debian/compat +++ petsc4py-0.7.3/debian/compat @@ -0,0 +1 @@ +5 --- petsc4py-0.7.3.orig/debian/pycompat +++ petsc4py-0.7.3/debian/pycompat @@ -0,0 +1 @@ +2 --- petsc4py-0.7.3.orig/debian/patches/00list +++ petsc4py-0.7.3/debian/patches/00list @@ -0,0 +1 @@ +01_numpy1.0.3_build --- petsc4py-0.7.3.orig/debian/patches/01_numpy1.0.3_build.dpatch +++ petsc4py-0.7.3/debian/patches/01_numpy1.0.3_build.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_numpy1.0.3.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix the build system for numpy 1.0.3 + +@DPATCH@ + +--- petsc4py-0.7.3.orig/configure/petscconf.py ++++ petsc4py-0.7.3/configure/petscconf.py +@@ -312,8 +312,8 @@ + if not self.petsc_arch: return + macros = ['-DPETSC_DIR=%s' % self.petsc_dir, + '-DPETSC_ARCH=%s' % self.petsc_arch[0]] +- self.swigflags.extend(macros) +- self.swigflags.append('-O') ++ #self.swigflags.extend(macros) ++ #self.swigflags.append('-O') + #self.swigflags.append('-fcompact') + #self.swigflags.append('-noproxy') + --- petsc4py-0.7.3.orig/debian/copyright +++ petsc4py-0.7.3/debian/copyright @@ -0,0 +1,136 @@ +It was downloaded from http://code.google.com/p/petsc4py/ + +The package was debianized by Ondrej Certik on +Sun, 13 May 2007 03:17:03 +0200 + +The Debian packaging is (C) 2007, Ondrej Certik and +is licensed under the BSD. + + +Upstream Author: Lisandro Dalcin + +Copyright (c) 2006, 2007, 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. + * Neither the name of the Consejo Nacional de Investigaciones Científicas y + Técnicas (CONICET) 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 files petsc/lib/ext/petscext_wrap.c and petsc/lib/ext/petscext_wrap.cpp +have the following license: + +I. + +Copyright (c) 1995-1998 +The University of Utah and the Regents of the University of California +All Rights Reserved + +Permission is hereby granted, without written agreement and without +license or royalty fees, to use, copy, modify, and distribute this +software and its documentation for any purpose, provided that +(1) The above copyright notice and the following two paragraphs +appear in all copies of the source code and (2) redistributions +including binaries reproduces these notices in the supporting +documentation. Substantial modifications to this software may be +copyrighted by their authors and need not follow the licensing terms +described here, provided that the new terms are clearly indicated in +all files where they apply. + +IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE +UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY +PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, +EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH +SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND +THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, +SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + +II. + +This software includes contributions that are Copyright (c) 1998-2005 +University of Chicago. +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 University of Chicago 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 UNIVERSITY OF CHICAGO 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 UNIVERSITY OF +CHICAGO 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. + + +III. + +This software includes contributions that are Copyright (c) 2005-2006 +Arizona Board of Regents (University of Arizona). +All Rights Reserved + +Permission is hereby granted, without written agreement and without +license or royalty fees, to use, copy, modify, and distribute this +software and its documentation for any purpose, provided that +(1) The above copyright notice and the following two paragraphs +appear in all copies of the source code and (2) redistributions +including binaries reproduces these notices in the supporting +documentation. Substantial modifications to this software may be +copyrighted by their authors and need not follow the licensing terms +described here, provided that the new terms are clearly indicated in +all files where they apply. + +THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA 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 UNIVERSITY OF +ARIZONA 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.