[pysph] 01/01: Initial import of debian-directory.

Anton Gladky gladk at moszumanska.debian.org
Fri Dec 12 05:22:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository pysph.

commit b7facfb9719f8ee9657915e5c233e3a1a779103e
Author: Anton Gladky <gladk at debian.org>
Date:   Fri Dec 12 06:22:03 2014 +0100

    Initial import of debian-directory.
---
 debian/changelog               |   5 ++
 debian/compat                  |   1 +
 debian/control                 |  84 ++++++++++++++++++++++++++++
 debian/copyright               |  24 ++++++++
 debian/pysph-doc.docs          |   1 +
 debian/pysph-doc.examples      |   1 +
 debian/pysph-viewer.install    |   1 +
 debian/pysph-viewer.manpages   |   1 +
 debian/pysph_viewer.1          | 123 +++++++++++++++++++++++++++++++++++++++++
 debian/python-pysph.install    |   1 +
 debian/rules                   |  17 ++++++
 debian/scripts/get_orig_src.sh |  39 +++++++++++++
 debian/source/format           |   1 +
 13 files changed, 299 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f2facff
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pysph (0~20141130.git9132872-1) unstable; urgency=medium
+
+  * [787400b] Upload to unstable.
+
+ -- Anton Gladky <gladk at debian.org>  Fri, 12 Dec 2014 06:14:14 +0100
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..a28f530
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,84 @@
+Source: pysph
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Anton Gladky <gladk at debian.org>
+Build-Depends:
+ cython,
+ debhelper (>= 9),
+ python-dev (>=2.6.6-3~),
+ python-enthoughtbase,
+ python-mako,
+ python-nose,
+ python-numpy,
+ python-sphinx (>= 1.0.7+dfsg),
+ python-traits,
+ python-setuptools
+X-Python-Version: >= 2.7
+Standards-Version: 3.9.6
+Section: science
+Homepage: http://pysph.googlecode.com
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/pysph.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/pysph.git
+
+Package: python-pysph
+Section: python
+Architecture: any
+Depends:
+ python (<<2.8),
+ python (>= 2.7),
+ python-mako,
+ python-nose,
+ python-numpy,
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ ${sphinxdoc:Depends}
+Recommends:
+ pysph-viewer
+Description:  open source framework for Smoothed Particle Hydrodynamics 
+ It is implemented in Python and the performance critical parts are 
+ implemented in Cython.
+ .
+ PySPH is implemented in a way that allows a user to specify the entire 
+ SPH simulation in pure Python. High-performance code is generated from 
+ this high-level Python code, compiled on the fly and executed. PySPH also 
+ features optional automatic parallelization using mpi4py and Zoltan.
+
+Package: pysph-viewer
+Section: python
+Architecture: any
+Depends:
+ mayavi2,
+ python-pysph,
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+Description: viewer for PySPH - framework for Smoothed Particle Hydrodynamics
+ It is implemented in Python and the performance critical parts are 
+ implemented in Cython.
+ .
+ PySPH is implemented in a way that allows a user to specify the entire 
+ SPH simulation in pure Python. High-performance code is generated from 
+ this high-level Python code, compiled on the fly and executed. PySPH also 
+ features optional automatic parallelization using mpi4py and Zoltan. 
+ The package contains viewer for PySPH.
+
+Package: pysph-doc
+Section: doc
+Architecture: all
+Depends:
+ libjs-mathjax,
+ ${sphinxdoc:Depends},
+ ${misc:Depends},
+Recommends:
+ python-pysph
+Description: documentation and examples for PySPH 
+ It is implemented in Python and the performance critical parts are 
+ implemented in Cython.
+ .
+ PySPH is implemented in a way that allows a user to specify the entire 
+ SPH simulation in pure Python. High-performance code is generated from 
+ this high-level Python code, compiled on the fly and executed. PySPH also 
+ features optional automatic parallelization using mpi4py and Zoltan. 
+ The package contains documentation and examples for PySPH.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2f996b1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,24 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pysph
+Source: https://bitbucket.org/pysph
+
+Files: *
+Copyright: 2014, PySPH developers
+License: BSD-2
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/pysph-doc.docs b/debian/pysph-doc.docs
new file mode 100644
index 0000000..a213c54
--- /dev/null
+++ b/debian/pysph-doc.docs
@@ -0,0 +1 @@
+docs/build/html
diff --git a/debian/pysph-doc.examples b/debian/pysph-doc.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/pysph-doc.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/pysph-viewer.install b/debian/pysph-viewer.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/pysph-viewer.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/pysph-viewer.manpages b/debian/pysph-viewer.manpages
new file mode 100644
index 0000000..0f65186
--- /dev/null
+++ b/debian/pysph-viewer.manpages
@@ -0,0 +1 @@
+debian/*.1
diff --git a/debian/pysph_viewer.1 b/debian/pysph_viewer.1
new file mode 100644
index 0000000..8428b0d
--- /dev/null
+++ b/debian/pysph_viewer.1
@@ -0,0 +1,123 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
+.TH PYSPH_VIEWER "1" "December 2014" "pysph_viewer Usage:" "User Commands"
+.SH NAME
+pysph_viewer \- viewer to view the output of results. Usage:
+.SH DESCRIPTION
+Usage:
+pysph_viewer [\-v] <trait1=value> <trait2=value> [files.npz]
+.PP
+If *.npz files are not supplied it will connect to a running solver, if not it
+will display the given files.
+.PP
+The arguments <trait1=value> are optional settings like host, port and authkey
+etc.  The following traits are available:
+.TP
+host
+\fB\-\-\fR hostname/IP address to connect to.
+.TP
+port
+\fB\-\-\fR Port to connect to
+.TP
+authkey
+\fB\-\-\fR authorization key to use.
+.TP
+interval
+\fB\-\-\fR time interval to refresh display
+.TP
+pause_solver
+\fB\-\-\fR Set True/False, will pause running solver
+.TP
+movie_directory \fB\-\-\fR directory to dump movie files (automatically set if not
+supplied)
+.TP
+record
+\fB\-\-\fR True/False: record movie, i.e. store screenshots of display.
+.TP
+play
+\fB\-\-\fR True/False: Play all stored data files.
+.TP
+loop
+\fB\-\-\fR True/False: Loop over data files.
+.SH OPTIONS
+\fB\-\-\-\-\-\-\-\-\fR
+.TP
+\fB\-h\fR/\-\-help
+prints this message.
+.TP
+\fB\-v\fR
+sets verbose mode which will print solver connection
+status failures on stdout.
+.PP
+Examples::
+\fB\-\-\-\-\-\-\-\-\-\-\fR
+.IP
+\f(CW$ pysph_viewer interval=10 host=localhost port=8900\fR
+.br
+\f(CW$ pysph_viewer foo.npz\fR
+.br
+\f(CW$ pysph_viewer *.npz play=True loop=True\fR
+.PP
+pysph_viewer [\-v] <trait1=value> <trait2=value> [files.npz]
+.PP
+If *.npz files are not supplied it will connect to a running solver, if not it
+will display the given files.
+.PP
+The arguments <trait1=value> are optional settings like host, port and authkey
+etc.  The following traits are available:
+.TP
+host
+\fB\-\-\fR hostname/IP address to connect to.
+.TP
+port
+\fB\-\-\fR Port to connect to
+.TP
+authkey
+\fB\-\-\fR authorization key to use.
+.TP
+interval
+\fB\-\-\fR time interval to refresh display
+.TP
+pause_solver
+\fB\-\-\fR Set True/False, will pause running solver
+.TP
+movie_directory \fB\-\-\fR directory to dump movie files (automatically set if not
+supplied)
+.TP
+record
+\fB\-\-\fR True/False: record movie, i.e. store screenshots of display.
+.TP
+play
+\fB\-\-\fR True/False: Play all stored data files.
+.TP
+loop
+\fB\-\-\fR True/False: Loop over data files.
+.PP
+\fB\-\-\-\-\-\-\-\-\fR
+.TP
+\fB\-h\fR/\-\-help
+prints this message.
+.TP
+\fB\-v\fR
+sets verbose mode which will print solver connection
+status failures on stdout.
+.PP
+Examples::
+\fB\-\-\-\-\-\-\-\-\-\-\fR
+.IP
+\f(CW$ pysph_viewer interval=10 host=localhost port=8900\fR
+.br
+\f(CW$ pysph_viewer foo.npz\fR
+.br
+\f(CW$ pysph_viewer *.npz play=True loop=True\fR
+.SH "SEE ALSO"
+The full documentation for
+.B pysph_viewer
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B pysph_viewer
+programs are properly installed at your site, the command
+.IP
+.B info pysph_viewer
+.PP
+should give you access to the complete manual.
diff --git a/debian/python-pysph.install b/debian/python-pysph.install
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/python-pysph.install
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..514dcdf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+
+export PYTHONPATH := $(CURDIR)/debian/tmp/usr/lib/python2.7/site-packages/
+%:
+	dh $@ --with python2 --parallel
+
+override_dh_auto_install:
+	dh_numpy
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/python2.7/site-packages/
+	python setup.py install --prefix=$(CURDIR)/debian/tmp/usr
+
+override_dh_installdocs:
+	make doc
+	dh_installdocs
+	dh_sphinxdoc
+	find $(CURDIR)/debian/pysph-doc/usr/share/doc/pysph-doc/html -type f -print0 | xargs -0 sed -i 's/http:\/\/cdn.mathjax.org\/mathjax\/latest/\/usr\/share\/javascript\/mathjax/g'
diff --git a/debian/scripts/get_orig_src.sh b/debian/scripts/get_orig_src.sh
new file mode 100755
index 0000000..91b93be
--- /dev/null
+++ b/debian/scripts/get_orig_src.sh
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# The script creates a tar.xz tarball from git-repository of PySPH-project
+# ./get_orig_src.sh commitID   -   creates a tarball of specified commit
+# ./get_orig_src.sh   - creates a tarball of the latest version
+# Packages, that needs to be installed to use the script:
+# atool, git-core
+
+git clone https://bitbucket.org/pysph/pysph.git git_temp_packaging
+
+cd git_temp_packaging
+
+if [ $1 ]
+then
+    echo 'Checking out the revision ' $1
+    git checkout -b newvers $1
+else
+    echo 'Using the latest revision'
+fi 
+
+GIT_REV=$(git log -n 1 --pretty="format:%h")
+GIT_DAT=$(git log -n 1 --pretty="format:%ai")
+GIT_DAT=${GIT_DAT:0:10}
+GIT_DAT=$(echo $GIT_DAT | sed 's/-//g')
+
+VER_DEB=0~$GIT_DAT.git$GIT_REV
+FOLDER_NAME=pysph-0~$GIT_DAT.git$GIT_REV
+TARBALL_NAME=pysph_0~$GIT_DAT.git$GIT_REV.orig.tar.xz
+
+echo $VER_DEB
+echo $FOLDER_NAME
+echo $TARBALL_NAME
+
+cd ..
+
+mv git_temp_packaging $FOLDER_NAME 
+rm -rf $FOLDER_NAME/.git 
+
+tar Jcvf $TARBALL_NAME $FOLDER_NAME
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/pysph.git



More information about the debian-science-commits mailing list