r36409 - in /packages/fenics/ufc/trunk/debian: changelog control rules
johannr-guest at users.alioth.debian.org
johannr-guest at users.alioth.debian.org
Tue Apr 20 09:21:59 UTC 2010
Author: johannr-guest
Date: Tue Apr 20 09:21:46 2010
New Revision: 36409
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36409
Log:
Build for Python >= 2.5.
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=36409&op=diff
==============================================================================
--- packages/fenics/ufc/trunk/debian/changelog (original)
+++ packages/fenics/ufc/trunk/debian/changelog Tue Apr 20 09:21:46 2010
@@ -1,8 +1,9 @@
-ufc (1.4.0-2) UNRELEASED; urgency=low
+ufc (1.4.0-2) unstable; urgency=low
* Package moved from pkg-scicomp to Debian Science.
+ * Build for Python >= 2.5.
- -- Johannes Ring <johannr at simula.no> Mon, 29 Mar 2010 23:14:29 +0200
+ -- Johannes Ring <johannr at simula.no> Tue, 20 Apr 2010 09:46:04 +0200
ufc (1.4.0-1) unstable; urgency=low
Modified: packages/fenics/ufc/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ufc/trunk/debian/control?rev=36409&op=diff
==============================================================================
--- packages/fenics/ufc/trunk/debian/control (original)
+++ packages/fenics/ufc/trunk/debian/control Tue Apr 20 09:21:46 2010
@@ -6,7 +6,7 @@
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7), python-all-dev,
python-central (>= 0.6.0), scons, swig (>= 1.3.35), libboost-dev
Standards-Version: 3.8.4
-XS-Python-Version: current
+XS-Python-Version: >= 2.5
Homepage: http://www.fenics.org/wiki/UFC
DM-Upload-Allowed: yes
Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/ufc/trunk
Modified: packages/fenics/ufc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ufc/trunk/debian/rules?rev=36409&op=diff
==============================================================================
--- packages/fenics/ufc/trunk/debian/rules (original)
+++ packages/fenics/ufc/trunk/debian/rules Tue Apr 20 09:21:46 2010
@@ -9,6 +9,8 @@
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
DEB_SCONS_INSTALL_OPTIONS = DESTDIR=$(CURDIR)/debian/tmp
USCAN_DESTDIR := $(CURDIR)
+SCONS = `which scons`
+PYVERSIONS = $(shell pyversions --requested debian/control)
clean::
rm -f config.log
@@ -20,6 +22,21 @@
rm -f src/ufc/ufc_wrap.os
rm -f swig_config.pyc
rm -f ufc-1.pc
+ -rm -rf $(addprefix build-, $(PYVERSIONS))
+ -rm -rf $(addprefix build-stamp-, $(PYVERSIONS))
+ -rm -rf $(addprefix install-stamp-, $(PYVERSIONS))
+
+common-build-arch:: $(addprefix build-stamp-, $(PYVERSIONS))
+build-stamp-%:
+ mkdir build-$*
+ cp -r `ls | grep -vE '(build-|stamp|debian)'` build-$*
+ cd build-$* && `which $*` $(SCONS) prefix=/usr
+ touch $@
+
+common-install-arch:: $(addprefix install-stamp-, $(PYVERSIONS))
+install-stamp-%:
+ cd build-$* && `which $*` $(SCONS) install DESTDIR=$(CURDIR)/debian/tmp
+ touch $@
binary-install/python-ufc::
dh_pycentral -p$(cdbs_curpkg)
More information about the debian-science-commits
mailing list