[slepc4py] 01/03: Initial release of slepc4py
Drew Parsons
dparsons at moszumanska.debian.org
Sat Oct 31 08:21:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch master
in repository slepc4py.
commit 7e0dc85a6e61e071a898b45dc03a1bbd58998a3e
Author: Drew Parsons <dparsons at debian.org>
Date: Sat Oct 31 15:56:12 2015 +0800
Initial release of slepc4py
Debian scripts adapted from petsc4py
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++++++
debian/copyright | 32 +++++++++++++++++++++++++++++++
debian/doc-base | 16 ++++++++++++++++
debian/docs | 4 ++++
debian/examples | 1 +
debian/info | 1 +
debian/manpages | 1 +
debian/pycompat | 1 +
debian/rules | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
13 files changed, 144 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0459aa8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+slepc4py (3.6.0-1) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Drew Parsons <Drew Parsons <dparsons at debian.org>> Sat, 31 Oct 2015 15:22:59 +0800
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..842f04d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: slepc4py
+Section: python
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Drew Parsons <dparsons at debian.org>
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9), dh-python, cython, chrpath,
+ python-all-dev (>=2.3.5-11), python-numpy (>= 1:1.4.1-4~),
+ slepc-dev (>= 3.6), petsc-dev (>= 3.6), mpi-default-dev
+X-Python-Version: >= 2.6
+Homepage: https://bitbucket.org/slepsc/slepc4py
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/slepc4py.git
+Vcs-Browser: http://anonscm.debian.org/cgit/debian-science/packages/slepc4py.git/
+
+Package: python-slepc4py
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for SLEPc libraries
+ SLEPc is the Scalable Library for Eigenvalue Problem Computations.
+ .
+ It is based on PETSc and employs the MPI standard for all
+ message-passing communication.
+ .
+ This package provides Python bindings to almost all functions of SLEPc.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..48feac4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: slepc4py
+Source: https://bitbucket.org/slepc/slepc4py
+
+Files: *
+Copyright: (c) 2015, Lisandro Dalcin <dalcinl at gmail.com>
+License: BSD-2-clause
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..909e4a7
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,16 @@
+Document: slepc4py
+Title: Debian slepc4py Manual
+Author: Lisandro Dalcin
+Abstract: API and other documentation for slepc4py
+Section: Science/Mathematics
+
+Format: PDF
+Files: /usr/share/doc/python-slepc4py/slepc4py.pdf
+
+Format: Info
+Index: /usr/share/info/slepc4py.info.gz
+Files: /usr/share/info/slepc4py.info.gz
+
+Format: HTML
+Index: /usr/share/doc/python-slepc4py/index.html
+Files: /usr/share/doc/python-slepc4py/*.html /usr/share/doc/python-slepc4py/apiref/*.html /usr/share/doc/python-slepc4py/usrman/*.html
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b667058
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,4 @@
+docs/slepc4py.pdf
+docs/*.html
+docs/apiref
+docs/usrman
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..1549b67
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+demo
diff --git a/debian/info b/debian/info
new file mode 100644
index 0000000..bcd8635
--- /dev/null
+++ b/debian/info
@@ -0,0 +1 @@
+docs/slepc4py.info
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..42379e1
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+docs/slepc4py.1
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fa8a983
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME = slepc4py
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+PETSC_VERSION=3.6.2$(PETSC_EXT)
+PETSC_DIR=/usr/lib/petscdir/$(PETSC_VERSION)/$(DEB_HOST_MULTIARCH)-real
+
+SLEPC_VERSION=3.6.1$(SLEPC_EXT)
+SLEPC_DIR=/usr/lib/slepcdir/$(SLEPC_VERSION)/$(DEB_HOST_MULTIARCH)-real
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+# main packaging script based on dh7 syntax
+%:
+ dh $@ --with python2
+
+override_dh_clean:
+ dh_clean
+ rm -rf .eggs
+
+override_dh_auto_build:
+ SLEPC_DIR=$(SLEPC_DIR) PETSC_DIR=$(PETSC_DIR) dh_auto_build
+ # slepc4py embeds the deep PETSC_DIR path as RPATH in its library.
+ # Swap it out for a standard path, or else dh_shlibsdep gets confused
+ chrpath -d build/lib.*-*/slepc4py/lib/SLEPc.so
+
+override_dh_auto_install:
+ SLEPC_DIR=$(SLEPC_DIR) PETSC_DIR=$(PETSC_DIR) dh_auto_install
+
+override_dh_python2:
+ dh_python2
+ dh_numpy
+
+override_dh_compress:
+ dh_compress -Xpdf
+
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bff7700
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://bitbucket.org/slepc/slepc4py https://bitbucket.org/slepc/slepc4py/downloads/slepc4py-(.*)\.tar\.gz debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/slepc4py.git
More information about the debian-science-commits
mailing list