[petsc4py] 03/07: build against any petsc 3.6 (and not 3.7)

Drew Parsons dparsons at moszumanska.debian.org
Sun Jul 3 17:47:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to branch master
in repository petsc4py.

commit a9ae0489c7c061868e077674c8db6d44327d81a8
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Jul 4 00:45:42 2016 +0800

    build against any petsc 3.6 (and not 3.7)
---
 debian/control | 2 +-
 debian/rules   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 77d2c27..2e01b47 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Drew Parsons <dparsons at debian.org>
 Standards-Version: 3.9.6
 Build-Depends: debhelper (>= 9), dh-python, cython,
  python-all-dev (>=2.3.5-11), python-numpy (>= 1:1.4.1-4~),
- petsc-dev (>= 3.6), chrpath,
+ libpetsc3.6-dev, chrpath,
  mpi-default-dev, libhdf5-openmpi-dev
 X-Python-Version: >= 2.6
 Homepage: https://bitbucket.org/petsc/petsc4py
diff --git a/debian/rules b/debian/rules
index df8a732..6f38e5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,8 @@ include /usr/share/dpkg/default.mk
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-PETSC_VERSION=3.6.2$(PETSC_EXT)
-PETSC_DIR=/usr/lib/petscdir/$(PETSC_VERSION)/$(DEB_HOST_MULTIARCH)-real
+PETSC_VERSION=3.6$(PETSC_EXT)
+PETSC_DIR=/usr/lib/petscdir/$(PETSC_VERSION)
 
 # see FEATURE AREAS in dpkg-buildflags(1)
 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc4py.git



More information about the debian-science-commits mailing list