r38378 - in /packages/fenics/ufc/trunk/debian: changelog control rules ufc-doc.doc-base

johannr-guest at users.alioth.debian.org johannr-guest at users.alioth.debian.org
Thu Apr 14 13:26:22 UTC 2011


Author: johannr-guest
Date: Thu Apr 14 13:26:17 2011
New Revision: 38378

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38378
Log:
* Move from python-central to dh_python2.
* Build for all supported Python versions.
* Update short description for binary packages python-ufc and ufc-doc.
* Add doc-base file for binary package ufc-doc.

Added:
    packages/fenics/ufc/trunk/debian/ufc-doc.doc-base
Modified:
    packages/fenics/ufc/trunk/debian/changelog
    packages/fenics/ufc/trunk/debian/control
    packages/fenics/ufc/trunk/debian/rules

Modified: packages/fenics/ufc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ufc/trunk/debian/changelog?rev=38378&op=diff
==============================================================================
--- packages/fenics/ufc/trunk/debian/changelog (original)
+++ packages/fenics/ufc/trunk/debian/changelog Thu Apr 14 13:26:17 2011
@@ -1,3 +1,18 @@
+ufc (2.0.0-2) unstable; urgency=low
+
+  * Move from python-central to dh_python2 (closes: #617136).
+    - Remove python-central from Build-Depends.
+    - Bump minimum required python-all-dev package version to 2.6.6-3~.
+    - Remove XB-Python-Version line.
+    - Bump minimum required cdbs version to 0.4.90~.
+    - Replace XS-Python-Version with X-Python-Version.
+    - Replace call to dh_pycentral with dh_python2 in debian/rules.
+  * Build for all supported Python versions.
+  * Update short description for binary packages python-ufc and ufc-doc.
+  * Add doc-base file for binary package ufc-doc.
+
+ -- Johannes Ring <johannr at simula.no>  Thu, 14 Apr 2011 15:21:16 +0200
+
 ufc (2.0.0-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/fenics/ufc/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ufc/trunk/debian/control?rev=38378&op=diff
==============================================================================
--- packages/fenics/ufc/trunk/debian/control (original)
+++ packages/fenics/ufc/trunk/debian/control Thu Apr 14 13:26:17 2011
@@ -3,10 +3,14 @@
 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: cdbs (>= 0.4.49), debhelper (>= 7), python-all-dev, 
- python-central (>= 0.6.0), cmake (>= 2.8.0), swig (>= 1.3.35), libboost-dev
+Build-Depends: cdbs (>= 0.4.90~),
+ debhelper (>= 7),
+ python-all-dev (>= 2.6.6-3~),
+ cmake (>= 2.8.0),
+ swig (>= 1.3.35),
+ libboost-dev
 Standards-Version: 3.9.1
-XS-Python-Version: >= 2.5
+X-Python-Version: >= 2.5
 Homepage: http://www.fenicsproject.org
 DM-Upload-Allowed: yes
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/fenics/ufc/trunk
@@ -29,10 +33,11 @@
 Package: python-ufc
 Section: python
 Architecture: any
-XB-Python-Version: ${python:Versions}
-Depends: ufc (= ${source:Version}), ${python:Depends}, ${shlibs:Depends}, 
+Depends: ufc (= ${source:Version}),
+ ${python:Depends},
+ ${shlibs:Depends}, 
  ${misc:Depends}
-Description: unified code generation interface for form-compilers
+Description: Python utilities (templates) for generating UFC code
  UFC (Unified Form-assembly Code) is a unified framework for finite element
  assembly. More precisely, it defines a fixed interface for communicating low
  level routines (functions) for evaluating and assembling finite element
@@ -41,14 +46,14 @@
  with the UFC specification. Examples of form compilers that support the UFC
  interface are FFC and SyFi.
  .
- This package contains the Python bindings for UFC.
+ This package contains Python utilities for generating UFC code.
 
 Package: ufc-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
 Suggests: ufc, python-ufc
-Description: unified code generation interface for form-compilers
+Description: documentation for UFC
  UFC (Unified Form-assembly Code) is a unified framework for finite element
  assembly. More precisely, it defines a fixed interface for communicating low
  level routines (functions) for evaluating and assembling finite element

Modified: packages/fenics/ufc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ufc/trunk/debian/rules?rev=38378&op=diff
==============================================================================
--- packages/fenics/ufc/trunk/debian/rules (original)
+++ packages/fenics/ufc/trunk/debian/rules Thu Apr 14 13:26:17 2011
@@ -5,10 +5,27 @@
 
 DEB_COMPRESS_EXCLUDE := .pdf
 DEB_INSTALL_DOCS_ALL += README AUTHORS TODO
+DEB_CMAKE_EXTRA_FLAGS= -D SWIG_EXECUTABLE:FILEPATH=/usr/bin/swig ..
 USCAN_DESTDIR := $(CURDIR)
 
+PY_VERSIONS = $(shell pyversions --requested debian/control | tac -s' ')
+
+install-stamp-%:
+	cd $(DEB_BUILDDIR) && rm CMakeCache.txt && \
+	  cmake -D PYTHON_EXECUTABLE:FILEPATH=/usr/bin/$* \
+	    -D PYTHON_LIBRARY:FILEPATH=/usr/lib/lib$*.so \
+	    -D PYTHON_INCLUDE_DIR:PATH=/usr/include/$* \
+	    $(DEB_CMAKE_NORMAL_ARGS) $(DEB_CMAKE_EXTRA_FLAGS)
+	make -C $(DEB_BUILDDIR) install DESTDIR=$(CURDIR)/debian/tmp
+	touch $@
+
+install/python-ufc:: $(addprefix install-stamp-, $(PY_VERSIONS))
+
 binary-install/python-ufc::
-	dh_pycentral -p$(cdbs_curpkg)
+	dh_python2 -p$(cdbs_curpkg)
+
+clean::
+	-rm -rf $(addprefix install-stamp-, $(PY_VERSIONS))
 
 get-orig-source:
 	uscan --force-download --verbose --destdir $(USCAN_DESTDIR)

Added: packages/fenics/ufc/trunk/debian/ufc-doc.doc-base
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ufc/trunk/debian/ufc-doc.doc-base?rev=38378&op=file
==============================================================================
--- packages/fenics/ufc/trunk/debian/ufc-doc.doc-base (added)
+++ packages/fenics/ufc/trunk/debian/ufc-doc.doc-base Thu Apr 14 13:26:17 2011
@@ -1,0 +1,15 @@
+Document: ufc-doc
+Title: UFC Specification and User Manual
+Author: Martin Sandve Alnæs, Anders Logg, Kent Andre Mardal, Ola Skavhaug,
+ and Hans Petter Langtangen
+Abstract: UFC (Unified Form-assembly Code) is a unified framework for finite element
+ assembly. More precisely, it defines a fixed interface for communicating low
+ level routines (functions) for evaluating and assembling finite element
+ variational forms. The UFC interface consists of a single header file ufc.h
+ that specifies a C++ interface that must be implemented by code that complies
+ with the UFC specification. Examples of form compilers that support the UFC
+ interface are FFC and SyFi.
+Section: Programming/C++/Python
+
+Format: pdf
+Files: /usr/share/doc/ufc-doc/ufc-user-manual.pdf




More information about the debian-science-commits mailing list