[silo-llnl] 54/96: WIP: Add python3 support

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Jul 21 13:09:31 UTC 2015


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

mckinstry pushed a commit to branch debian/master
in repository silo-llnl.

commit e3c1961864eb13595cc94ec5d572b4e535ca9858
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Jun 11 19:36:31 2013 +0100

    WIP: Add python3 support
---
 debian/changelog            |  1 +
 debian/control              | 25 ++++++++++++++++++++++++-
 debian/python-silo.install  |  1 +
 debian/python3-silo.docs    |  1 +
 debian/python3-silo.install |  1 +
 debian/rules                |  5 +++--
 6 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3183734..967145f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ silo-llnl (4.8-14) UNRELEASED; urgency=low
   * Set Standards-Version: 3.9.4. No changes required.
   * Now set debhelper dependency to 9. 
   * Patch for typo spotted by Lintian.
+  * Add Python3 support
 
  -- Alastair McKinstry <mckinstry at debian.org>  Sun, 13 Jan 2013 17:06:45 +0000
 
diff --git a/debian/control b/debian/control
index 9b2ae36..9ba2085 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,11 @@ Section: science
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
 Build-Depends: debhelper (>= 9), libreadline-dev, libhdf5-mpi-dev | libhdf5-dev, zlib1g-dev, 
-  libqt4-dev (<< 4:4.9~), gfortran, python-dev, chrpath, python-all-dev, mpi-default-dev, autoconf-archive, autoconf, automake, libtool, dh-autoreconf (>= 4~)
+  libqt4-dev (<< 4:4.9~), gfortran, chrpath, python-all-dev, mpi-default-dev, autoconf-archive, autoconf, automake, libtool, 
+  dh-autoreconf (>= 4~), python3-dev, python3-all-dev
 Build-Conflicts: qt3-dev-tools
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Standards-Version: 3.9.4
 Homepage:  https://wci.llnl.gov/codes/silo
 
@@ -98,3 +101,23 @@ Description: Python interface to the SILO Scientific I/O library
  other useful objects to address various scientific computing application
  needs. Although the Silo library is a serial library, it has some key features
  which enable it to be applied quite effectively and scalable in parallel.
+
+
+Package: python3-silo
+Section: python
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, libsiloh5-0 (=${binary:Version})
+Description: Python interface to the SILO Scientific I/O library
+ This is a Python3 interface to SILO, a scientific I/O library.
+ .
+ Silo supports gridless (point) meshes, structured meshes, unstructured-zoo
+ and unstructured-arbitrary-polyhedral meshes, block structured AMR meshes,
+ constructive solid geometry (CSG) meshes, piecewise-constant
+ (e.g. zone-centered) and piecewise-linear (e.g. node-centered) variables
+ defined on the node, edge, face or volume elements of meshes as well as
+ the decomposition of meshes into arbitrary subset hierarchies including
+ materials and mixing materials. In addition, Silo supports a wide variety of
+ other useful objects to address various scientific computing application
+ needs. Although the Silo library is a serial library, it has some key features
+ which enable it to be applied quite effectively and scalable in parallel.
+
diff --git a/debian/python-silo.install b/debian/python-silo.install
new file mode 100644
index 0000000..dbdb301
--- /dev/null
+++ b/debian/python-silo.install
@@ -0,0 +1 @@
+/usr/lib/python2*
diff --git a/debian/python3-silo.docs b/debian/python3-silo.docs
new file mode 100644
index 0000000..9235801
--- /dev/null
+++ b/debian/python3-silo.docs
@@ -0,0 +1 @@
+COPYRIGHT
diff --git a/debian/python3-silo.install b/debian/python3-silo.install
new file mode 100644
index 0000000..097a7e8
--- /dev/null
+++ b/debian/python3-silo.install
@@ -0,0 +1 @@
+/usr/lib/python3
diff --git a/debian/rules b/debian/rules
index 1dfaa24..8fe8ba0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 
 # Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 # magic debhelper rule
 %:
-	dh $@ --with python2,autoreconf
+	dh $@ --with python2,python3,autoreconf
 
 include /usr/share/mpi-default-dev/debian_defaults
 #ARCH_DEFAULT_MPI_IMPL=lam
@@ -18,6 +18,7 @@ else
 endif
 
 PYVERS:= `pyversions -s`
+PY3VERS:= `py3versions -s`
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 override_dh_autoreconf:

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



More information about the debian-science-commits mailing list