[slepc4py] 05/08: python3-slepc4py depends on python3-petsc4py

Drew Parsons dparsons at moszumanska.debian.org
Tue May 16 06:59:49 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 slepc4py.

commit 7024d9876ff55fdbbb15829df6f76563f710effe
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue May 16 14:35:12 2017 +0800

    python3-slepc4py depends on python3-petsc4py
    
    and no need to complicate docs dependency with a versioned dependency
---
 debian/control | 6 +++---
 debian/rules   | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 212dc32..1572ef3 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Depends: ${petsc4py:Depends}, ${python:Depends}, ${shlibs:Depends}, ${misc:Depen
 Recommends: python-slepc4py-docs
 Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
-Description: Python bindings for SLEPc libraries
+Description: Python 2 bindings for SLEPc libraries
  SLEPc is the Scalable Library for Eigenvalue Problem Computations.
  .
  It is based on PETSc and employs the MPI standard for all 
@@ -33,7 +33,7 @@ Description: Python bindings for SLEPc libraries
 
 Package: python3-slepc4py
 Architecture: any
-Depends: ${petsc4py:Depends}, ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${petsc4py:Depends3}, ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Recommends: python-slepc4py-docs
 Provides: ${python3:Provides}
 XB-Python-Version: ${python3:Versions}
@@ -47,7 +47,7 @@ Description: Python 3 bindings for SLEPc libraries
 
 Package: python-slepc4py-docs
 Architecture: all
-Depends: ${petsc4py:Depends}, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 Breaks: python-slepc4py (<< 3.7.0-3)
 Recommends: python-slepc4py | python3-slepc4py
diff --git a/debian/rules b/debian/rules
index 2932fd2..fc57e2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,4 +55,5 @@ override_dh_compress:
 	dh_compress -Xpdf
 
 override_dh_gencontrol:
-	dh_gencontrol -- -Vpetsc4py:Depends="python-petsc4py (>= $(SLEPC_BASE_VERSION)), python-petsc4py (<< $(SLEPC_NEXT_VERSION))"
+	dh_gencontrol -- -Vpetsc4py:Depends="python-petsc4py (>= $(SLEPC_BASE_VERSION)), python-petsc4py (<< $(SLEPC_NEXT_VERSION))" \
+                           -Vpetsc4py:Depends3="python3-petsc4py (>= $(SLEPC_BASE_VERSION)), python3-petsc4py (<< $(SLEPC_NEXT_VERSION))"

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



More information about the debian-science-commits mailing list