r47104 - in /packages/fenics/mshr/trunk/debian: ./ changelog compat control copyright docs libmshr-dev.install libmshr1.6.install mshr-demos.install python-mshr.install rules source/ source/format watch

johannr-guest at users.alioth.debian.org johannr-guest at users.alioth.debian.org
Tue Aug 18 13:21:28 UTC 2015


Author: johannr-guest
Date: Tue Aug 18 13:21:28 2015
New Revision: 47104

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=47104
Log:
[svn-inject] Applying Debian modifications (1.6.0-1) to trunk

Added:
    packages/fenics/mshr/trunk/debian/   (with props)
    packages/fenics/mshr/trunk/debian/changelog
    packages/fenics/mshr/trunk/debian/compat
    packages/fenics/mshr/trunk/debian/control
    packages/fenics/mshr/trunk/debian/copyright
    packages/fenics/mshr/trunk/debian/docs
    packages/fenics/mshr/trunk/debian/libmshr-dev.install
    packages/fenics/mshr/trunk/debian/libmshr1.6.install
    packages/fenics/mshr/trunk/debian/mshr-demos.install
    packages/fenics/mshr/trunk/debian/python-mshr.install
    packages/fenics/mshr/trunk/debian/rules   (with props)
    packages/fenics/mshr/trunk/debian/source/
    packages/fenics/mshr/trunk/debian/source/format
    packages/fenics/mshr/trunk/debian/watch

Propchange: packages/fenics/mshr/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/fenics/mshr/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/changelog?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/changelog	(added)
+++ packages/fenics/mshr/trunk/debian/changelog	Tue Aug 18 13:21:28 2015
@@ -0,0 +1,5 @@
+mshr (1.6.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnnn)
+
+ -- Johannes Ring <johannr at simula.no>  Thu, 13 Aug 2015 12:53:17 +0200

Added: packages/fenics/mshr/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/compat?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/compat	(added)
+++ packages/fenics/mshr/trunk/debian/compat	Tue Aug 18 13:21:28 2015
@@ -0,0 +1 @@
+9

Added: packages/fenics/mshr/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/control?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/control	(added)
+++ packages/fenics/mshr/trunk/debian/control	Tue Aug 18 13:21:28 2015
@@ -0,0 +1,81 @@
+Source: mshr
+Section: math
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Johannes Ring <johannr at simula.no>
+Build-Depends: debhelper (>= 9),
+ python-dev,
+ dh-python,
+ cmake (>= 2.8.0),
+ swig3.0 (>= 3.0.3),
+ libmpfr-dev,
+ libgmp-dev,
+ libdolfin-dev (>= 1.6.0),
+ python-ffc (>= 1.6.0),
+ python-numpy
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.5
+Homepage: http://fenicsproject.org
+Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/fenics/mshr/trunk
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/fenics/mshr/trunk/
+
+Package: libmshr1.6
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Shared libraries for mshr
+ mshr generates simplicial DOLFIN meshes in 2D and 3D from geometries
+ described by Constructive Solid Geometry (CSG) or from surface files,
+ utilizing CGAL and Tetgen as mesh generation backends.
+ .
+ This package contains the shared libraries.
+
+Package: libmshr-dev
+Section: libdevel
+Architecture: any
+Depends: libmshr1.6 (= ${binary:Version}),
+ libdolfin-dev (>= 1.6.0),
+ python-ffc (>= 1.6.0),
+ cmake (>= 2.8.0),
+ ${shlibs:Depends}, 
+ ${misc:Depends}
+Description: Shared links and header files for mshr
+ mshr generates simplicial DOLFIN meshes in 2D and 3D from geometries
+ described by Constructive Solid Geometry (CSG) or from surface files,
+ utilizing CGAL and Tetgen as mesh generation backends.
+ .
+ This package contains the development files.
+
+Package: python-mshr
+Section: python
+Architecture: any
+Depends: libmshr-dev (= ${binary:Version}),
+ libmshr1.6 (= ${binary:Version}),
+ python-dolfin (>= 1.6.0),
+ dolfin-bin (>= 1.6.0),
+ ${swig:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}, 
+ ${misc:Depends}
+Description: Python interface for mshr
+ mshr generates simplicial DOLFIN meshes in 2D and 3D from geometries
+ described by Constructive Solid Geometry (CSG) or from surface files,
+ utilizing CGAL and Tetgen as mesh generation backends.
+ .
+ This package contains the Python interface for DOLFIN.
+
+Package: mshr-demos
+Section: doc
+Architecture: all
+Depends: libmshr-dev (>= ${source:Version}),
+ python-mshr (>= ${source:Version}),
+ libdolfin-dev (>= 1.6.0),
+ python-dolfin (>= 1.6.0),
+ ${shlibs:Depends}, 
+ ${misc:Depends}
+Description: Examples and demo programs for mshr
+ mshr generates simplicial DOLFIN meshes in 2D and 3D from geometries
+ described by Constructive Solid Geometry (CSG) or from surface files,
+ utilizing CGAL and Tetgen as mesh generation backends.
+ .
+ This package contains examples and demo programs.

Added: packages/fenics/mshr/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/copyright?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/copyright	(added)
+++ packages/fenics/mshr/trunk/debian/copyright	Tue Aug 18 13:21:28 2015
@@ -0,0 +1,53 @@
+This package was debianized by Johannes Ring <johannr at simula.no> on
+Mon, 15 Sep 2008 12:43:05 +0200.
+
+It was downloaded from http://launchpad.net/ufc
+
+Upstream Authors:
+
+    Martin Sandve Alnaes   <martinal at simula.no>
+    Anders Logg            <logg at simula.no>
+    Kent-Andre Mardal      <kent-and at simula.no
+    Ola Skavhaug           <skavhaug at simula.no>
+    Hans Petter Langtangen <hpl at simula.no>
+
+Contributors:
+
+    See the AUTHORS file for a complete list of contributors.
+
+License:
+
+    The header file ufc.h and the UFC Python utils are released into 
+    the public domain. 
+
+The Debian packaging is © 2008-2010, Johannes Ring <johannr at simula.no> and
+is licensed under the GPL version 2 or later, see 
+`/usr/share/common-licenses/GPL-2'.
+
+Files or directories which have a different copyright/license attached:
+
+Files: src/utils/python/ufc_utils/build.py
+Copyright: © 2009 Johan Hake <hake at simula.no>
+License: LGPL-2.1
+
+Files: src/utils/misc/makedist
+Copyright: © 2004-2009 Anders Logg <logg at simula.no>
+License: GPL-3+
+
+Files: doc/manual/code/Poisson.ufl
+Copyright: © 2004-2007 Anders Logg <logg at simula.no>
+License: GPL-2
+
+Files: doc/manual/fenicsmanual.cls
+Copyright: © 2005-2007 Anders Logg <logg at simula.no>
+License: GPL-2
+
+Files: doc/manual/algorithm.sty
+Copyright: © 1994 Peter Williams
+License: LGPL-2+
+
+Files: doc/manual/eps/insertion.eps
+Copyright: © 2004 artofcode LLC, Benicia, CA.
+License: PD
+ This file was drawn with Inkscape by Anders Logg and is released into 
+ the public domain.

Added: packages/fenics/mshr/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/docs?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/docs	(added)
+++ packages/fenics/mshr/trunk/debian/docs	Tue Aug 18 13:21:28 2015
@@ -0,0 +1 @@
+README.rst

Added: packages/fenics/mshr/trunk/debian/libmshr-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/libmshr-dev.install?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/libmshr-dev.install	(added)
+++ packages/fenics/mshr/trunk/debian/libmshr-dev.install	Tue Aug 18 13:21:28 2015
@@ -0,0 +1,5 @@
+usr/lib/**/*.so
+usr/include/mshr
+usr/include/mshr.h
+usr/lib/CMake
+usr/bin/mshrable

Added: packages/fenics/mshr/trunk/debian/libmshr1.6.install
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/libmshr1.6.install?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/libmshr1.6.install	(added)
+++ packages/fenics/mshr/trunk/debian/libmshr1.6.install	Tue Aug 18 13:21:28 2015
@@ -0,0 +1 @@
+usr/lib/**/lib*.so.*

Added: packages/fenics/mshr/trunk/debian/mshr-demos.install
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/mshr-demos.install?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/mshr-demos.install	(added)
+++ packages/fenics/mshr/trunk/debian/mshr-demos.install	Tue Aug 18 13:21:28 2015
@@ -0,0 +1 @@
+demo usr/share/mshr/demo

Added: packages/fenics/mshr/trunk/debian/python-mshr.install
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/python-mshr.install?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/python-mshr.install	(added)
+++ packages/fenics/mshr/trunk/debian/python-mshr.install	Tue Aug 18 13:21:28 2015
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/*

Added: packages/fenics/mshr/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/rules?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/rules	(added)
+++ packages/fenics/mshr/trunk/debian/rules	Tue Aug 18 13:21:28 2015
@@ -0,0 +1,85 @@
+#!/usr/bin/make -f
+
+# FIXME: Is this needed?
+#CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+#CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
+#CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
+#LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+DEB_BUILD_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
+
+BUILDDIR = $(CURDIR)/debian/build
+MSHR_HOME = $(CURDIR)/$(DEB_SRCDIR)
+USCAN_DESTDIR := $(CURDIR)
+PYVERS := $(shell pyversions --requested debian/control | tac -s' ')
+DEFAULT_PYVER := $(shell pyversions -d)
+
+CMAKE_OPTS := \
+	-D CMAKE_BUILD_TYPE:STRING=Release \
+	-D BUILD_SHARED_LIBS:BOOL=ON \
+	-D CMAKE_SKIP_RPATH:BOOL=ON \
+	-D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF \
+	-D INSTALL_LIB_DIR:PATH=lib/$(DEB_BUILD_MULTIARCH) \
+	$(MSHR_HOME)
+
+ifeq (,$(DISTRIBUTION))
+	DISTRIBUTION := $(shell dpkg-parsechangelog --format rfc822 | sed -ne "s/^Distribution: //p")
+endif
+
+ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"squeeze wheezy lucid maverick natty oneiric precise quantal raring saucy trusty"))
+	DISTRIBUTION := sid
+endif
+
+ifneq (,$(findstring $(DISTRIBUTION),"raring saucy trusty sid"))
+	PYTHON_INCLUDE_DIR2 = /usr/include/$(DEB_BUILD_MULTIARCH)
+	PYTHON_LIBRARY_DIR = /usr/lib/$(DEB_BUILD_MULTIARCH)
+else
+	PYTHON_INCLUDE_DIR2 = /usr/include
+	PYTHON_LIBRARY_DIR = /usr/lib
+endif
+
+%:
+	dh $@ --buildsystem=cmake \
+	      --builddirectory=$(BUILDDIR)-$(DEFAULT_PYVER) \
+	      --with python2
+
+override_dh_auto_clean:
+	for v in $(PYVERS); do \
+	   rm -rf $(BUILDDIR)-$$v; \
+	done
+
+override_dh_auto_configure:
+	for v in $(PYVERS); do \
+	dh_auto_configure --builddirectory=$(BUILDDIR)-$$v -- \
+	   -D PYTHON_EXECUTABLE:FILEPATH=/usr/bin/$$v \
+	   -D PYTHON_LIBRARY:FILEPATH=$(PYTHON_LIBRARY_DIR)/lib$$v.so \
+	   -D PYTHON_INCLUDE_DIR:PATH=/usr/include/$$v \
+	   -D PYTHON_INCLUDE_DIR2:PATH=$(PYTHON_INCLUDE_DIR2)/$$v \
+	   -- $(CMAKE_OPTS) ;\
+	done
+
+override_dh_auto_build:
+	for v in $(PYVERS); do \
+	   dh_auto_build --builddirectory=$(BUILDDIR)-$$v; \
+	done
+
+override_dh_auto_install:
+	for v in $(PYVERS); do \
+	   dh_auto_install --builddirectory=$(BUILDDIR)-$$v; \
+	done
+	dh_numpy
+
+override_dh_gencontrol:
+	# We have a tight dependency on swig - #675207
+	set -e; \
+	swig_version=$$(dpkg-query -W swig3.0 | cut -f 2 | cut -d- -f 1); \
+	next_swig_version="$${swig_version%.*}.$$(($${swig_version##*.} + 1))"; \
+	echo "swig:Depends=swig3.0 (>= $$swig_version), swig3.0 (<< $$next_swig_version~)" >> debian/python-mshr.substvars
+	dh_gencontrol
+
+#override_dh_shlibdeps:
+#	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
+.PHONY: get-orig-source
+get-orig-source:
+	uscan --force-download --verbose --destdir $(USCAN_DESTDIR)

Propchange: packages/fenics/mshr/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/fenics/mshr/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/source/format?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/source/format	(added)
+++ packages/fenics/mshr/trunk/debian/source/format	Tue Aug 18 13:21:28 2015
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/fenics/mshr/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/mshr/trunk/debian/watch?rev=47104&op=file
==============================================================================
--- packages/fenics/mshr/trunk/debian/watch	(added)
+++ packages/fenics/mshr/trunk/debian/watch	Tue Aug 18 13:21:28 2015
@@ -0,0 +1,2 @@
+version=3
+https://bitbucket.org/fenics-project/mshr/downloads/mshr-(.*)\.tar\.gz




More information about the debian-science-commits mailing list