[Python-modules-commits] [cf-python] 03/17: initial packaging

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Thu Sep 8 14:48:55 UTC 2016


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

zklaus-guest pushed a commit to branch master
in repository cf-python.

commit 1a6851c4ff9ac5f3973972aa95eabd2cd1ed535b
Author: Klaus Zimmermann <klaus.zimmermann at ts.infn.it>
Date:   Thu Aug 18 00:06:51 2016 +0200

    initial packaging
---
 debian/changelog                   |  5 +++
 debian/compat                      |  1 +
 debian/control                     | 79 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                   | 66 +++++++++++++++++++++++++++++++
 debian/python-cf-doc.docs          |  2 +
 debian/python-cf.lintian-overrides |  3 ++
 debian/rules                       | 24 ++++++++++++
 debian/source.lintian-overrides    |  4 ++
 debian/watch                       |  3 ++
 9 files changed, 187 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c55834a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cf-python (1.2.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #777315)
+
+ -- Klaus Zimmermann <klaus_zimmermann at gmx.de>  Tue, 16 Aug 2016 12:33:11 +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..0093e94
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,79 @@
+Source: cf-python
+Section: science
+Priority: optional
+Maintainer: Klaus Zimmermann <klaus_zimmermann at gmx.de>
+Build-Depends: debhelper (>=9),dh-python,python-all (>= 2.6.6-3~),python-setuptools,python-netcdf4,python-sphinx
+Standards-Version: 3.9.7
+Homepage: http://cfpython.bitbucket.org/
+#Vcs-Git: git://anonscm.debian.org/collab-maint/cf-python.git
+#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/cf-python.git
+
+Package: python-cf
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-cf-doc
+Description: Python processing of Climate and Forecast (CF) data models (Python 2)
+ CF is a netCDF convention which is in wide and growing use for the storage of
+ model-generated and observational data relating to the atmosphere, ocean and
+ Earth system.
+ .
+ This package is an implementation of the CF data model, and as such it is an
+ API allows for the full scope of data and metadata interactions described by
+ the CF conventions.
+ .
+ With this package you can:
+  - Read CF-netCDF files, CFA-netCDF files and UK Met Office fields files and
+    PP files.
+  - Create CF fields.
+  - Write fields to CF-netCDF and CFA-netCDF files on disk.
+  - Aggregate collections of fields into as few multidimensional fields as
+    possible using the CF aggregation rules.
+  - Create, delete and modify a field’s data and metadata.
+  - Select and subspace fields according to their metadata.
+  - Perform broadcastable, metadata-aware arithmetic, comparison and
+    trigonometric operation with fields.
+  - Collapse fields by statistical operations.
+  - Sensibly deal with date-time data.
+  - Allow for cyclic axes.
+  - Visualize fields the cfplot package.
+ .
+ All of the above use Large Amounts of Massive Arrays (LAMA) functionality,
+ which allows multiple fields larger than the available memory to exist and be
+ manipulated.
+ .
+ This package installs the library for Python 2.
+
+Package: python-cf-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Python processing of Climate and Forecast (CF) data models (Python 2)
+ CF is a netCDF convention which is in wide and growing use for the storage of
+ model-generated and observational data relating to the atmosphere, ocean and
+ Earth system.
+ .
+ This package is an implementation of the CF data model, and as such it is an
+ API allows for the full scope of data and metadata interactions described by
+ the CF conventions.
+ .
+ With this package you can:
+  - Read CF-netCDF files, CFA-netCDF files and UK Met Office fields files and
+    PP files.
+  - Create CF fields.
+  - Write fields to CF-netCDF and CFA-netCDF files on disk.
+  - Aggregate collections of fields into as few multidimensional fields as
+    possible using the CF aggregation rules.
+  - Create, delete and modify a field’s data and metadata.
+  - Select and subspace fields according to their metadata.
+  - Perform broadcastable, metadata-aware arithmetic, comparison and
+    trigonometric operation with fields.
+  - Collapse fields by statistical operations.
+  - Sensibly deal with date-time data.
+  - Allow for cyclic axes.
+  - Visualize fields the cfplot package.
+ .
+ All of the above use Large Amounts of Massive Arrays (LAMA) functionality,
+ which allows multiple fields larger than the available memory to exist and be
+ manipulated.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..74f301b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cf-python
+Source: http://cfpython.bitbucket.org/
+
+Files: *
+Copyright: 2016 David Hassel <d.c.hassell at reading.ac.uk>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Klaus Zimmermann <klaus_zimmermann at gmx.de>
+License: Expat
+
+Files: cf/um/umread/*
+Copyright: 2014 Alan Iwi <alan.iwi at stfc.ac.uk>
+License: Expat
+
+Files: cf/etc/udunits/*
+Copyright: 2008, 2009 University Corporation for Atmospheric Research
+           2016 David Hassel <d.c.hassell at reading.ac.uk>
+License: Udunits
+
+License: Expat
+ 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.
+
+License: Udunits
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+    1) Redistributions of source code must retain the above copyright notice,
+       this list of conditions and the following disclaimer.
+    2) 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.
+    3) Neither the names of the development group, the copyright holders, nor the
+       names of contributors may be used to endorse or promote products derived
+       from this software without specific prior written permission.
+    4) This license shall terminate automatically and you may no longer exercise
+       any of the rights granted to you by this license as of the date you
+       commence an action, including a cross-claim or counterclaim, against
+       the copyright holders or any contributor alleging that this software
+       infringes a patent. This termination provision shall not apply for an
+       action alleging patent infringement by combinations of this software with
+       other software or hardware.
+ .
+ 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 CONTRIBUTORS
+ 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 WITH THE SOFTWARE.
diff --git a/debian/python-cf-doc.docs b/debian/python-cf-doc.docs
new file mode 100644
index 0000000..b8bc1fe
--- /dev/null
+++ b/debian/python-cf-doc.docs
@@ -0,0 +1,2 @@
+docs/build
+
diff --git a/debian/python-cf.lintian-overrides b/debian/python-cf.lintian-overrides
new file mode 100644
index 0000000..59a629f
--- /dev/null
+++ b/debian/python-cf.lintian-overrides
@@ -0,0 +1,3 @@
+python-cf: shared-lib-without-dependency-information usr/lib/python2.7/dist-packages/cf/um/umread/c-lib/umfile.x86_64-linux-gnu.so
+python-cf: binary-without-manpage usr/bin/cfa
+python-cf: binary-without-manpage usr/bin/cfdump
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..561b680
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/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=cf
+
+%:
+	dh $@  --with python2,sphinxdoc --buildsystem=pybuild
+
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args='cd {build_dir}; {interpreter} {dir}/test/run_tests.py'
+
+override_dh_sphinxdoc:
+	dh_sphinxdoc -X jquery.js -X underscore.js
+
+# If you need to rebuild the Sphinx documentation
+# Add spinxdoc to the dh --with line
+#override_dh_auto_build:
+#	dh_auto_build
+#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml        docs/ build/html # HTML generator
+#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman        docs/ build/man # Manpage generator
+
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..e0547c6
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,4 @@
+cf-python source: source-is-missing docs/_static/jquery.js*
+cf-python source: source-is-missing docs/_static/underscore.js*
+cf-python source: source-is-missing docs/build/_static/jquery.js*
+cf-python source: source-is-missing docs/build/_static/underscore.js*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a63c20b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/cf-python/cf-python-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list