[petsc4py] 01/10: new packages: python3-petsc4py, python-petsc4py-docs.
Drew Parsons
dparsons at moszumanska.debian.org
Mon May 15 08:48:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to tag debian/3.7.0-3
in repository petsc4py.
commit b165574631df0a7d05ddf7d39a8ccb32cd29ee1f
Author: Drew Parsons <dparsons at debian.org>
Date: Mon May 15 12:22:59 2017 +0800
new packages: python3-petsc4py, python-petsc4py-docs.
Add python3 support via python3-petsc4py. Closes: #862110.
Move documentation and examples to python-petsc4py-docs.
---
debian/changelog | 7 +++++++
debian/control | 32 ++++++++++++++++++++++++++++++--
debian/rules | 8 ++++++--
3 files changed, 43 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 64e3847..f50161a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+petsc4py (3.7.0-3) UNRELEASED; urgency=medium
+
+ * Add python3 support via python3-petsc4py. Closes: #862110.
+ * Move documentation and examples to python-petsc4py-docs.
+
+ -- Drew Parsons <dparsons at debian.org> Mon, 15 May 2017 12:19:27 +0800
+
petsc4py (3.7.0-2) unstable; urgency=medium
* Release petsc4py 3.7 to unstable.
diff --git a/debian/control b/debian/control
index 7b26421..66ab4e9 100644
--- a/debian/control
+++ b/debian/control
@@ -16,13 +16,41 @@ Vcs-Browser: http://anonscm.debian.org/cgit/debian-science/packages/petsc4py.git
Package: python-petsc4py
Architecture: any
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: python-petsc4py-docs
Conflicts: python-petsc
Replaces: python-petsc
Provides: ${python:Provides}
XB-Python-Version: ${python:Versions}
-Description: Python bindings for PETSc libraries
+Description: Python 2 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.
+ This package provides Python 2 bindings to almost all functions of PETSc.
+
+Package: python3-petsc4py
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: python-petsc4py-docs
+XB-Python-Version: ${python3:Versions}
+Description: Python 3 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 3 bindings to almost all functions of PETSc.
+
+Package: python-petsc4py-docs
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: python-petsc, python-petsc4py (<< 3.7.0-3)
+Replaces: python-petsc
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for PETSc libraries: documentation and examples
+ 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.
+ .
+ petsc4py provides Python bindings to almost all functions of PETSc.
+ This package provides documentation and examples for petsc4py.
+
diff --git a/debian/rules b/debian/rules
index af3ba40..7495ced 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ PETSC_DIR=/usr/lib/petscdir/$(PETSC_VERSION)
# main packaging script based on dh7 syntax
%:
- dh $@ --with python2
+ dh $@ --with python2,python3
override_dh_clean:
dh_clean
@@ -35,7 +35,7 @@ override_dh_clean:
override_dh_auto_build:
PETSC_DIR=$(PETSC_DIR) dh_auto_build
# petsc4py embeds the deep PETSC_DIR path as RPATH in its library.
- # Swap it out for a standard path, or else dh_shlibsdep gets confused
+ # Swap it out for a standard path, or else dh_shlibdeps gets confused
chrpath -d build/lib.*-*/petsc4py/lib/PETSc.so
override_dh_auto_install:
@@ -45,6 +45,10 @@ override_dh_python2:
dh_python2
dh_numpy
+override_dh_python3:
+ dh_python3
+ dh_numpy3
+
override_dh_compress:
dh_compress -Xpdf
--
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