[Pkg-scicomp-commits] fenics/ufc/trunk/debian

Johannes Ring johannr at simula.no
Tue Feb 24 09:44:36 UTC 2009


SVN commit 4171 by johannr-guest:

Updates for UFC release 1.1.1. Now using SCons to build package. Also splitted package in three: ufc, python-ufc, and ufc-doc.

 A             fenics/ufc/trunk/debian/cdbs (directory)  
 A             fenics/ufc/trunk/debian/cdbs/1 (directory)  
 A             fenics/ufc/trunk/debian/cdbs/1/class (directory)  
 A             fenics/ufc/trunk/debian/cdbs/1/class/scons-vars.mk  
 A             fenics/ufc/trunk/debian/cdbs/1/class/scons.mk  
 M  +1 -1      fenics/ufc/trunk/debian/changelog  
 M  +36 -3     fenics/ufc/trunk/debian/control  
 D             fenics/ufc/trunk/debian/docs  
 A             fenics/ufc/trunk/debian/python-ufc.install  
 M  +20 -5     fenics/ufc/trunk/debian/rules  
 A             fenics/ufc/trunk/debian/ufc-doc.docs  
 A             fenics/ufc/trunk/debian/ufc.install  


--- fenics/ufc/trunk/debian/changelog #4170:4171
@@ -1,4 +1,4 @@
-ufc (1.1-1) unstable; urgency=low
+ufc (1.1.1-1) unstable; urgency=low
 
   * Initial release (Closes: #503072)
 
--- fenics/ufc/trunk/debian/control #4170:4171
@@ -3,17 +3,32 @@
 Priority: extra
 Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel 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 (>= 5), python-all, python-central (>= 0.6.0)
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5), python-all-dev, python-central (>= 0.6.0), scons, swig (>= 1.3.35), libboost-dev
 Standards-Version: 3.8.0
-XS-Python-Version: all
+XS-Python-Version: current
 Homepage: http://www.fenics.org/wiki/UFC
 Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/fenics/ufc/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/fenics/ufc/
 
 Package: ufc
+Section: devel
 Architecture: all
+Depends: ${misc:Depends}
+Suggests: ufc-doc
+Description: unified code generation interface for form-compilers
+ 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.
+
+Package: python-ufc
+Section: python
+Architecture: any
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ufc (= ${source:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: unified code generation interface for form-compilers
  UFC (Unified Form-assembly Code) is a unified framework for finite element
  assembly. More precisely, it defines a fixed interface for communicating low
@@ -22,3 +37,21 @@
  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.
+ .
+ This package contains the Python bindings for UFC.
+
+Package: ufc-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: ufc, python-ufc
+Description: unified code generation interface for form-compilers
+ 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.
+ .
+ This package contains documentation for UFC.
--- fenics/ufc/trunk/debian/rules #4170:4171
@@ -1,13 +1,28 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM = pycentral
-
+include debian/cdbs/1/class/scons.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
 
-DEB_COMPRESS_EXCLUDE := .py .pdf
-
+DEB_COMPRESS_EXCLUDE := .pdf
+DEB_INSTALL_DOCS_ALL += README AUTHORS TODO
+DEB_SCONS_OPTIONS = prefix=/usr
+DEB_DH_INSTALL_SOURCEDIR = debian/tmp
+DEB_SCONS_INSTALL_OPTIONS = DESTDIR=$(CURDIR)/debian/tmp
 USCAN_DESTDIR := $(CURDIR)
 
+clean::
+	rm -f config.log
+	rm -f options.cache
+	rm -f src/ufc/_ufc.so
+	rm -f src/ufc/ufc.py
+	rm -f src/ufc/ufc_wrap.cc
+	rm -f src/ufc/ufc_wrap.cxx
+	rm -f src/ufc/ufc_wrap.os
+	rm -f swig_config.pyc
+	rm -f ufc-1.pc
+
+binary-install/python-ufc::
+	dh_pycentral -p$(cdbs_curpkg)
+
 get-orig-source:
 	uscan --force-download --verbose --destdir $(USCAN_DESTDIR)



More information about the Pkg-scicomp-commits mailing list