[Python-modules-commits] [cloudpickle] 06/07: Build Python 2 version for spyder.
Diane Trout
diane at moszumanska.debian.org
Fri Dec 8 23:19:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
diane pushed a commit to branch master
in repository cloudpickle.
commit 6216676715774366eb82d7c1947141eca8486a26
Author: Diane Trout <diane at ghic.org>
Date: Fri Dec 8 15:18:27 2017 -0800
Build Python 2 version for spyder.
---
debian/changelog | 1 +
debian/control | 21 +++++++++++++++++++++
debian/rules | 2 +-
debian/tests/control | 3 +++
4 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 5603389..5c3553e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ cloudpickle (0.5.2-1) unstable; urgency=medium
* New upstream version. (Closes: #883782)
* Updated Standards-Version to 4.1.2. No changes needed.
* Update debhelper to compat 10
+ * Build Python 2 version for spyder. (Closes: 883784)
--
diff --git a/debian/control b/debian/control
index 9d2801a..8f11db9 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,11 @@ Section: python
Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
+ python-all,
+ python-mock,
+ python-pytest,
+ python-pytest-cov,
+ python-setuptools,
python3-all,
python3-mock,
python3-pytest,
@@ -32,3 +37,19 @@ Description: Extended pickling support for Python 3 objects
functions and classes defined interactively in the `__main__` module.
.
This contains the Python 3 version.
+
+Package: python-cloudpickle
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Extended pickling support for Python 2 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 2 version.
diff --git a/debian/rules b/debian/rules
index 37ed9ff..5bcaebf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=-s
%:
- dh $@ --with python3 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
diff --git a/debian/tests/control b/debian/tests/control
index 5a99d05..910b1c8 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,6 @@
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
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import cloudpickle; print(cloudpickle)" ; done
+Depends: python-all, python-cloudpickle
+
--
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