[Python-modules-commits] r8890 - in packages/petsc4py/trunk/debian (changelog rules)

dktrkranz-guest at users.alioth.debian.org dktrkranz-guest at users.alioth.debian.org
Mon Jun 29 11:56:12 UTC 2009


    Date: Monday, June 29, 2009 @ 11:56:08
  Author: dktrkranz-guest
Revision: 8890

Export PETSC_DIR and PETSC_ARCH environment variables

Modified:
  packages/petsc4py/trunk/debian/changelog
  packages/petsc4py/trunk/debian/rules

Modified: packages/petsc4py/trunk/debian/changelog
===================================================================
--- packages/petsc4py/trunk/debian/changelog	2009-06-29 11:34:29 UTC (rev 8889)
+++ packages/petsc4py/trunk/debian/changelog	2009-06-29 11:56:08 UTC (rev 8890)
@@ -16,9 +16,10 @@
   * debian/control:
     - Replace libpetsc2.3.3-dev with petsc-dev (Closes: #529478, #522771).
   * debian/rules:
+    - Export PETSC_DIR and PETSC_ARCH environment variables.
     - Change chrpath shared object path accordingly.
 
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Mon, 29 Jun 2009 11:32:44 +0000
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Mon, 29 Jun 2009 11:55:32 +0000
 
 petsc4py (0.7.5-5) unstable; urgency=low
 

Modified: packages/petsc4py/trunk/debian/rules
===================================================================
--- packages/petsc4py/trunk/debian/rules	2009-06-29 11:34:29 UTC (rev 8889)
+++ packages/petsc4py/trunk/debian/rules	2009-06-29 11:56:08 UTC (rev 8890)
@@ -3,6 +3,11 @@
 
 DEB_PYTHON_SYSTEM=pysupport
 
+# 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
+
 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




More information about the Python-modules-commits mailing list