[Python-modules-commits] r30109 - in packages/kombu/branches/python3/debian (5 files)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Sun Aug 10 14:14:39 UTC 2014
Date: Sunday, August 10, 2014 @ 14:14:38
Author: fladi-guest
Revision: 30109
Prepare a python3-kombu binary package (Closes: #754047).
Added:
packages/kombu/branches/python3/debian/python3-kombu.docs
Modified:
packages/kombu/branches/python3/debian/changelog
packages/kombu/branches/python3/debian/control
packages/kombu/branches/python3/debian/rules
Deleted:
packages/kombu/branches/python3/debian/python-kombu.install
Modified: packages/kombu/branches/python3/debian/changelog
===================================================================
--- packages/kombu/branches/python3/debian/changelog 2014-08-10 14:10:42 UTC (rev 30108)
+++ packages/kombu/branches/python3/debian/changelog 2014-08-10 14:14:38 UTC (rev 30109)
@@ -1,3 +1,17 @@
+kombu (3.0.19-4) UNRELEASED; urgency=medium
+
+ * Add python3-kombu package, thanks to Brian May for his help in finding the
+ bug in python3-nose (Closes: #754047).
+ + Extend d/rules for python3 support.
+ + Remove d/python-kombu.install as it is no longer needed.
+ + Add Python 3 versions of required packages to Build-Depends.
+ + There are no tests run for Python 3 because python3-nose has a bug.
+ * Drop versioned dependencies on python-mymongo as there are no older
+ releases in the archive.
+ * Bump X-Python-Version to >= 2.7as Python 2.6 is no longer supported.
+
+ -- Michael Fladischer <FladischerMichael at fladi.at> Sun, 10 Aug 2014 14:32:18 +0200
+
kombu (3.0.19-3) unstable; urgency=low
* Add python-librabbitmq (>= 1.5.2) to Recommends as a optional faster
Modified: packages/kombu/branches/python3/debian/control
===================================================================
--- packages/kombu/branches/python3/debian/control 2014-08-10 14:10:42 UTC (rev 30108)
+++ packages/kombu/branches/python3/debian/control 2014-08-10 14:14:38 UTC (rev 30109)
@@ -17,16 +17,28 @@
python-msgpack,
python-nose,
python-pika,
- python-pymongo (>= 2.6.2),
+ python-pymongo,
python-redis,
python-setuptools,
python-simplejson,
python-sphinx (>= 1.0.7+dfsg),
python-sqlalchemy,
python-unittest2,
- python-yaml
+ python-yaml,
+ python3-all,
+ python3-amqp,
+ python3-anyjson (>= 0.3.3),
+ python3-django,
+ python3-mock,
+ python3-nose,
+ python3-pymongo,
+ python3-redis,
+ python3-setuptools,
+ python3-sqlalchemy,
+ python3-yaml
Build-Conflicts: python-cjson
-X-Python-Version: >= 2.6
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
XS-Testsuite: autopkgtest
Standards-Version: 3.9.5
Homepage: http://github.com/ask/kombu/
@@ -39,8 +51,7 @@
python-anyjson (>= 0.3.3),
${misc:Depends},
${python:Depends}
-Recommends: python-librabbitmq (>= 1.5.2),
- python-yaml
+Recommends: python-librabbitmq (>= 1.5.2), python-yaml
Breaks: python-cjson (<= 1.0.5-4+b1)
Suggests: python-beanstalkc,
python-boto,
@@ -48,7 +59,7 @@
python-django,
python-kombu-doc,
python-pika,
- python-pymongo (>= 2.6.2),
+ python-pymongo,
python-redis,
python-sqlalchemy
Description: AMQP Messaging Framework for Python
@@ -64,6 +75,33 @@
* The ability to ensure that an operation is performed by gracefully handling
connection and channel errors.
+Package: python3-kombu
+Architecture: all
+Depends: python3-amqp,
+ python3-anyjson (>= 0.3.3),
+ ${misc:Depends},
+ ${python3:Depends}
+Recommends: python3-yaml
+Suggests: python-kombu-doc,
+ python3-django,
+ python3-pymongo,
+ python3-redis,
+ python3-sqlalchemy
+Description: AMQP Messaging Framework for Python (Python3 version)
+ The aim of Kombu is to make messaging in Python as easy as possible by
+ providing an idiomatic high-level interface for the AMQP protocol. It is meant
+ to replace the carrot library by providing a compatibility layer.
+ .
+ Features:
+ * Allows application authors to support several message server solutions by
+ using pluggable transports.
+ * Supports automatic encoding, serialization and compression of message
+ payloads.
+ * The ability to ensure that an operation is performed by gracefully handling
+ connection and channel errors.
+ .
+ This package contains the Python 3 version of the library.
+
Package: python-kombu-doc
Section: doc
Architecture: all
Deleted: packages/kombu/branches/python3/debian/python-kombu.install
===================================================================
--- packages/kombu/branches/python3/debian/python-kombu.install 2014-08-10 14:10:42 UTC (rev 30108)
+++ packages/kombu/branches/python3/debian/python-kombu.install 2014-08-10 14:14:38 UTC (rev 30109)
@@ -1 +0,0 @@
-usr/
Added: packages/kombu/branches/python3/debian/python3-kombu.docs
===================================================================
--- packages/kombu/branches/python3/debian/python3-kombu.docs (rev 0)
+++ packages/kombu/branches/python3/debian/python3-kombu.docs 2014-08-10 14:14:38 UTC (rev 30109)
@@ -0,0 +1,2 @@
+README.rst
+FAQ
Modified: packages/kombu/branches/python3/debian/rules
===================================================================
--- packages/kombu/branches/python3/debian/rules 2014-08-10 14:10:42 UTC (rev 30108)
+++ packages/kombu/branches/python3/debian/rules 2014-08-10 14:14:38 UTC (rev 30109)
@@ -1,17 +1,43 @@
#!/usr/bin/make -f
+PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
%:
- dh $@ --with python2,sphinxdoc
+ dh $@ --with python2,python3,sphinxdoc
override_dh_auto_build:
+ set -e; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py -B setup.py build; \
+ done
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
- dh_auto_build
+override_dh_auto_clean:
+ set -e; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py -B setup.py clean; \
+ done
+ find kombu -name "*.pyc" -type f -delete
+ rm -rf build
+
+override_dh_auto_install:
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py -B setup.py install --skip-build --root debian/python-kombu \
+ --install-layout deb; \
+ done
+ set -e; \
+ for py in $(PY3VERS); do \
+ $$py -B setup.py install --skip-build --root debian/python3-kombu \
+ --install-layout deb; \
+ done
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
- for python in $(shell pyversions -r); do \
- $$python setup.py test ; \
+ for py in $(PYVERS); do \
+ $$py setup.py test ; \
done
endif
More information about the Python-modules-commits
mailing list