[Python-modules-commits] [psyclone] 02/07: First cut at debian/ directory

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Jul 25 15:27:35 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository psyclone.

commit 2ce284363a11ff43e1d480e699b90186e0837ddd
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Jun 16 15:38:08 2017 +0100

    First cut at debian/ directory
---
 .gitignore                      | 10 ++++++++++
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 21 +++++++++++++++++++++
 debian/copyright                | 33 +++++++++++++++++++++++++++++++++
 debian/psyclone.examples        |  1 +
 debian/rules                    | 17 +++++++++++++++++
 debian/source/format            |  1 +
 debian/source/lintian-overrides |  1 +
 debian/source/options           |  1 +
 10 files changed, 91 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7279ea9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+*.pyc
+*~
+.cache
+.coverage
+doc/_build
+fparser.log
+htmlcov
+dag
+dag.png
+dag.svg
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..afe7104
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+psyclone (1.4.1-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #864817)
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Fri, 16 Jun 2017 11:49:56 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ffac189
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: psyclone
+Section: science
+Priority: optional
+Maintainer: Alastair McKinstry <mckinstry at debian.org>
+Build-Depends: debhelper (>= 10), chrpath,
+ python-all, dh-python, python-fparser
+Standards-Version: 3.9.8
+Homepage: https://github.com/stfc/psyclone
+
+Package: psyclone
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ ${python:Depends}
+Description: Domain-specific compiler for Earth-system models in Fortran
+ .
+ PSyclone is a code generation system for Finite Difference/Volume/Element
+ models. It generates appropriate code for the PSyKAl code structure
+ developed in the GungHo project.
+ .
+ This is a Fortran-to-fortran code generator; the GungHo project is the
+ next-generation weather model from the UK Met Office and STFC.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bcdc768
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+BSD 3-Clause License
+
+Copyright (c) 2017, Science and Technology Facilities Council
+(c) The copyright relating to this work is owned jointly by the Crown,
+Met Office and NERC 2016.
+However, it has been created with the help of the GungHo Consortium,
+whose members are identified at https://puma.nerc.ac.uk/trac/GungHo/wiki
+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.
+
+* Neither the name of the copyright holder nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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/psyclone.examples b/debian/psyclone.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/psyclone.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7e92e5c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+DESTDIR=$(shell pwd)/debian/tmp
+
+
+# magic debhelper rule
+%:
+	dh $@
+
+override_dh_auto_install:
+	./contributions/install debian/tmp/usr
+	mkdir -p $(DESTDIR)/usr/share/pixmaps
+	cp logo/psyclone_v1.0.png $(DESTDIR)/usr/share/pixmaps/psyclone.png
+
+
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..266a073
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+cdo source: package-needs-versioned-debhelper-build-depends 9
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/psyclone.git



More information about the Python-modules-commits mailing list