debian: remove python3 support and simply packaging

This commit is contained in:
Jérôme Schneider 2014-11-03 10:28:23 +01:00
parent 5534791727
commit c9d5c5a01b
7 changed files with 10 additions and 67 deletions

50
debian/control vendored
View File

@ -1,27 +1,10 @@
Source: kombu
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Michael Fladischer <FladischerMichael@fladi.at>,
Brian May <bam@debian.org>
Build-Depends: debhelper (>= 8.1.0~), dh-python,
python-all, python-amqp, python-anyjson (>= 0.3.3),
python-django, python-yaml,
python-mock, python-msgpack, python-nose,
python-redis, python-setuptools,
python-simplejson, python-sphinx (>= 1.0.7+dfsg), python-sqlalchemy,
python-boto, python-couchdb (>= 0.8),
python-pika, python-unittest2,
python3-all, python3-amqp, python3-anyjson (>= 0.3.3),
python3-django, python3-yaml,
python3-mock, python3-msgpack, python3-nose,
python3-setuptools,
python3-sphinx (>= 1.0.7+dfsg), python3-sqlalchemy,
# python3-beanstalkc, python3-boto, python3-couchdb (>= 0.8),
# python3-pika
Maintainer: Jerome Schneider <jschneider@entrouvert.com>
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7)
Build-Conflicts: python-cjson
X-Python-Version: >= 2.6
XS-Testsuite: autopkgtest
Standards-Version: 3.9.5
Homepage: http://github.com/ask/kombu/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/kombu/trunk/
@ -55,32 +38,3 @@ Description: AMQP Messaging Framework for Python
payloads.
* 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: python3-beanstalkc,
python3-boto,
python3-couchdb (>= 0.8),
python3-django,
python3-pika,
python3-pymongo (>= 2.6.2),
python3-redis,
python3-sqlalchemy
Description: AMQP Messaging Framework for Python
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.

View File

@ -1 +0,0 @@
usr/lib/python2*/

View File

@ -1 +0,0 @@
usr/lib/python3*/

View File

@ -1,2 +0,0 @@
README.rst
FAQ

18
debian/rules vendored
View File

@ -1,16 +1,14 @@
#!/usr/bin/make -f
%:
dh $@ --with python2,python3
dh $@ --with python2 --buildsystem=python_distutils
override_dh_python3:
dh_python3 -v
dh_python3 -v
override_dh_auto_clean:
python setup.py clean -a
find . -name \*.pyc -exec rm {} \;
override_dh_compress:
dh_compress -X .js -X .html
override_dh_auto_build:
python setup.py build --force
override_dh_clean:
rm -rf docs/.build
rm -rf kombu.egg-info/PKG-INFO
dh_clean
override_dh_auto_install:
python setup.py install --force --root=debian/python-kombu --no-compile -O0 --install-layout=deb

View File

@ -1,2 +0,0 @@
Tests: upstream
Depends: @, @builddeps@

View File

@ -1,3 +0,0 @@
#!/bin/sh
nosetests -v -P kombu.tests 2>&1