[dune-corepy] 01/01: Initial import
Ansgar Burchardt
ansgar at moszumanska.debian.org
Tue Aug 8 15:59:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
ansgar pushed a commit to branch master
in repository dune-corepy.
commit 698ede7bcf7e152e5738044c297791788648e656
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Tue Aug 8 17:53:15 2017 +0200
Initial import
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 35 ++++++++++++++++++++++++++++++++
debian/patches/dune-common-version.patch | 28 +++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 17 ++++++++++++++++
debian/source/format | 1 +
7 files changed, 88 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5d64713
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+dune-corepy (2.5~20170804gb09b0d4-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #XXXXXX)
+
+ -- Ansgar Burchardt <ansgar at debian.org> Tue, 08 Aug 2017 16:38:35 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1783a96
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: dune-corepy
+Section: libs
+Priority: optional
+Standards-Version: 4.0.0
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ansgar Burchardt <ansgar at debian.org>
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/dune-corepy.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/dune-corepy.git
+Homepage: http://www.dune-project.org/
+Build-Depends: debhelper (>= 9),
+ cmake, gfortran, mpi-default-bin, mpi-default-dev, pkg-config, python3,
+ dh-python,
+ libdune-common-dev (>= 2.5.0),
+ libdune-functions-dev (>= 2.5.0),
+ libdune-grid-dev (>= 2.5.0),
+ libdune-istl-dev (>= 2.5.0),
+ python3-dev,
+ python3-mpi4py,
+ python3-pip,
+ python3-setuptools,
+ python3-wheel,
+Build-Depends-Indep: doxygen, ghostscript, graphviz, imagemagick, texlive-latex-extra, texlive-latex-recommended, texlive-pictures, python3-sphinx
+
+Package: libdune-corepy-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends},
+ libdune-common-dev (>= 2.5.0),
+ libdune-functions-dev (>= 2.5.0),
+ libdune-grid-dev (>= 2.5.0),
+ libdune-istl-dev (>= 2.5.0),
+ python3-dev,
+ python3-mpi4py,
+ python3-pip,
+Description: TODO
diff --git a/debian/patches/dune-common-version.patch b/debian/patches/dune-common-version.patch
new file mode 100644
index 0000000..4b77230
--- /dev/null
+++ b/debian/patches/dune-common-version.patch
@@ -0,0 +1,28 @@
+--- a/cmake/modules/DuneCorepyMacros.cmake
++++ b/cmake/modules/DuneCorepyMacros.cmake
+@@ -1,4 +1,4 @@
+-if(${DUNE_COMMON_VERSION} VERSION_LESS 2.6)
++if(${DUNE_COMMON_VERSION} VERSION_LESS 2.5.1)
+ find_package(PythonInterp 2.7 REQUIRED)
+ find_package(PythonLibs 2.7 REQUIRED)
+ else()
+@@ -18,7 +18,7 @@
+ endforeach()
+ endfunction()
+
+-if(${DUNE_COMMON_VERSION} VERSION_LESS 2.6)
++if(${DUNE_COMMON_VERSION} VERSION_LESS 2.5.1)
+ if(DUNE_PYTHON_INSTALL_LOCATION STREQUAL "user")
+ set(PYTHONINSTALL TRUE)
+ set(PIP_FLAGS "--user")
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -29,7 +29,7 @@
+ add_subdirectory("bin")
+ add_subdirectory("test")
+
+-if(NOT (${DUNE_COMMON_VERSION} VERSION_LESS 2.6))
++if(NOT (${DUNE_COMMON_VERSION} VERSION_LESS 2.5.1))
+ dune_python_install_package(PATH "python")
+ endif()
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b625e14
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dune-common-version.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aef8424
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#! /usr/bin/make -f
+
+include /usr/share/dune/dune-debian.mk
+
+PY3 = $(shell py3versions -d)
+
+%:
+ dh $@ --parallel --builddirectory=build --with python3
+
+override_dh_auto_build:
+ dh_auto_build
+ cd build/python && $(PY3) setup.py build
+
+override_dh_auto_install:
+ dh_auto_install
+ cd build/python && $(PY3) setup.py install --root=$(CURDIR)/debian/libdune-corepy-dev --install-layout=deb
+ rm -f $(CURDIR)/debian/libdune-corepy-dev/usr/share/dune/cmake/modules/FindSphinx.cmake
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dune-corepy.git
More information about the debian-science-commits
mailing list