[Python-modules-commits] [vine] 01/02: Add Python 2 package
Christopher Stuart Hoskin
mans0954 at moszumanska.debian.org
Sun Mar 19 08:32:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
mans0954 pushed a commit to branch master
in repository vine.
commit 6b4c97732da98962420be44ff324a6c3d749b363
Author: Christopher Hoskin <mans0954 at debian.org>
Date: Sun Mar 19 08:22:17 2017 +0000
Add Python 2 package
---
debian/changelog | 6 ++++++
debian/control | 22 ++++++++++++++++++++--
debian/rules | 2 +-
debian/tests/control | 3 +++
4 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2e1cf56..14ed6db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vine (1.1.3+dfsg-2) UNRELEASED; urgency=medium
+
+ * Add Python 2 package
+
+ -- Christopher Hoskin <mans0954 at debian.org> Sun, 19 Mar 2017 08:13:29 +0000
+
vine (1.1.3+dfsg-1) unstable; urgency=low
* source package automatically created by stdeb 0.8.5. Closes: #855311
diff --git a/debian/control b/debian/control
index ae8a5a3..4699fc6 100644
--- a/debian/control
+++ b/debian/control
@@ -4,23 +4,41 @@ Uploaders: Christopher Hoskin <mans0954 at debian.org>
Section: python
Priority: optional
Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9),
- python3-sphinx, python3-sphinx-celery, python3-pytest, python3-case
+ python3-sphinx, python3-sphinx-celery, python3-pytest, python3-case,
+ python-all, python-setuptools, python-pytest, python-case
Standards-Version: 3.9.8
Homepage: http://github.com/celery/vine
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/vine.git
Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/vine.git
+Package: python-vine
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python promises (Python 2 version)
+ A Python implementation of the promise pattern for asynchronous programming.
+ .
+ This is a special implementation of promises in that it can be used both for
+ "promise of a value" and lazy evaluation. The biggest upside for this is that
+ everything in a promise can also be a promise, e.g. filters, callbacks and
+ errbacks can all be promises.
+ .
+ This package contains the Python 2 version of the library.
+
+
Package: python3-vine
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
-Description: Python promises
+Description: Python promises (Python 3 version)
A Python implementation of the promise pattern for asynchronous programming.
.
This is a special implementation of promises in that it can be used both for
"promise of a value" and lazy evaluation. The biggest upside for this is that
everything in a promise can also be a promise, e.g. filters, callbacks and
errbacks can all be promises.
+ .
+ This package contains the Python 3 version of the library.
+
Package: python-vine-doc
Architecture: all
diff --git a/debian/rules b/debian/rules
index 39998e3..00b580d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export PYBUILD_NAME=vine
export PYBUILD_BEFORE_TEST=cp -r {dir}/t {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/t
%:
- dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
diff --git a/debian/tests/control b/debian/tests/control
index 6c04607..eb3c60b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,6 @@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import vine; print vine" ; done
+Depends: python-all, python-vine
+
Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import vine; print(vine)" ; done
Depends: python3-all, python3-vine
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/vine.git
More information about the Python-modules-commits
mailing list