[fiat] 01/01: Support Python 3

Johannes Ring johannr-guest at moszumanska.debian.org
Tue Nov 29 13:44:45 UTC 2016


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

johannr-guest pushed a commit to branch master
in repository fiat.

commit 1d75c2e6a6aaa0c38e817818e5786baeb1da519a
Author: Johannes Ring <johannr at simula.no>
Date:   Tue Nov 29 14:44:31 2016 +0100

    Support Python 3
---
 debian/changelog |  6 ++++++
 debian/control   | 22 +++++++++++++++++++++-
 debian/rules     |  8 +++++++-
 3 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8002887..3a405cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fiat (2016.1.0-2) UNRELEASED; urgency=medium
+
+  * Support Python 3.
+
+ -- Johannes Ring <johannr at simula.no>  Tue, 29 Nov 2016 13:53:16 +0100
+
 fiat (2016.1.0-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 1671de6..7395c93 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,16 @@ Section: python
 Priority: extra
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Christophe Prud'homme <prudhomm at debian.org>, Johannes Ring <johannr at simula.no>
-Build-Depends: debhelper (>= 9), python-all (>= 2.7), dh-python
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.7),
+ python3-all (>= 3.4),
+ python-setuptools,
+ python3-setuptools
 Standards-Version: 3.9.8
 X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
 Homepage: http://fenicsproject.org
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/fenics/fiat.git
 Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/fenics/fiat.git
@@ -18,3 +25,16 @@ Description: tabulation of finite element function spaces
  order instances of the Lagrange elements on lines, triangles, and tetrahedra.
  Other supported elements include arbitrary order Raviart-Thomas elements,
  Brezzi-Douglas-Marini elements and a few others.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-fiat
+Architecture: all
+Depends: python3-numpy, python3-sympy, ${python3:Depends}, ${misc:Depends}
+Description: tabulation of finite element function spaces
+ The FInite element Automatic Tabulator FIAT supports generation of arbitrary
+ order instances of the Lagrange elements on lines, triangles, and tetrahedra.
+ Other supported elements include arbitrary order Raviart-Thomas elements,
+ Brezzi-Douglas-Marini elements and a few others.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/rules b/debian/rules
index efded95..26caa31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
 
+#export DH_VERBOSE=1
+export PYBUILD_NAME=fiat
+
+# FIXME: look at enabling tests for the next upstream release
+export PYBUILD_DISABLE=test
+
 USCAN_DESTDIR := $(CURDIR)
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 .PHONY: get-orig-source
 get-orig-source:

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



More information about the debian-science-commits mailing list