[Python-modules-commits] [cloudpickle] 04/04: Initial Packaging (Closes: #847497)

Diane Trout diane at moszumanska.debian.org
Mon Dec 12 21:31:39 UTC 2016


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

diane pushed a commit to branch master
in repository cloudpickle.

commit 3598ed02af579a247d4608ed0976a5cb7b2edbc3
Author: Diane Trout <diane at ghic.org>
Date:   Mon Dec 12 13:27:39 2016 -0800

    Initial Packaging (Closes: #847497)
---
 debian/changelog      |  5 ++++
 debian/compat         |  1 +
 debian/control        | 35 ++++++++++++++++++++++++++++
 debian/copyright      | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/files          |  1 +
 debian/rules          | 13 +++++++++++
 debian/source/options |  1 +
 debian/tests/control  |  3 +++
 debian/watch          |  3 +++
 9 files changed, 126 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9950437
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cloudpickle (0.2.1-1) unstable; urgency=low
+
+  * Initial Packaging (Closes: #847497)
+
+ -- Diane Trout <diane at ghic.org>  Mon, 05 Dec 2016 14:24:21 -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..2e223da
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: cloudpickle
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Diane Trout <diane at ghic.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python3-all,
+               python3-mock,
+               python3-pytest,
+               python3-pytest-cov,
+               python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/cloudpipe/cloudpickle
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/cloudpickle.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/cloudpickle.git
+Testsuite: autopkgtest-pkg-python
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+
+Package: python3-cloudpickle
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Extended pickling support for Python 3 objects
+ cloudpickle makes it possible to serialize Python constructs not supported
+ by the default `pickle` module from the Python standard library.
+ .
+ cloudpickle is especially useful for cluster computing where Python
+ expressions are shipped over the network to execute on remote hosts, possibly
+ close to the data.
+ .
+ Among other things, `cloudpickle` supports pickling for lambda expressions,
+ functions and classes defined interactively in the `__main__` module.
+ .
+ This contains the Python 3 version.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..db1f8f5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,64 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cloudpickle
+Source: https://github.com/cloudpipe/cloudpickle
+
+Files: *
+Copyright: Copyright (c) 2012, Michael Williamson
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016 Diane Trout <diane at ghic.org>
+License: Expat
+
+License: BSD-3-Clause
+  This module was extracted from the `cloud` package, developed by
+  PiCloud, Inc.
+  .
+  Copyright (c) 2015, Cloudpickle contributors.
+  Copyright (c) 2012, Regents of the University of California.
+  Copyright (c) 2009 PiCloud, Inc. http://www.picloud.com.
+  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 University of California, Berkeley 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.
+
+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.
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..3196f1d
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+cloudpickle_0.2.1-1_source.buildinfo python optional
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..37ed9ff
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=cloudpickle
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS=-s
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_clean:
+	dh_auto_clean
+	# clean leftover from running tests
+	-rm -rf .cache
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..5a99d05
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import cloudpickle; print(cloudpickle)" ; done
+Depends: python3-all, python3-cloudpickle
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7a81cc0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/cloudpickle/cloudpickle-(.+)\.(?: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/cloudpickle.git



More information about the Python-modules-commits mailing list