Initial import from Debian unstable

This commit is contained in:
Jérôme Schneider 2014-11-01 18:59:43 +01:00
parent 77e23231e0
commit 68d82b54aa
15 changed files with 282 additions and 0 deletions

46
debian/changelog vendored Normal file
View File

@ -0,0 +1,46 @@
python-amqp (1.4.5-1) unstable; urgency=low
* New upstream release.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 23 Apr 2014 11:40:52 +0200
python-amqp (1.4.4-1) unstable; urgency=medium
* New upstream release.
* Check PGP signature on upstream tarball:
+ Add signature URL to debian/watch.
+ Include upstream public PGP key 030A2708.
+ Allow debian/upstream-signing-key.pgp to be included as a binary.
* Update modified files to be cleaned up in debian/clean.
* Add patch to remove usage of github-hosted image in documentation.
-- Michael Fladischer <FladischerMichael@fladi.at> Tue, 08 Apr 2014 21:25:31 +0200
python-amqp (1.4.3-1) unstable; urgency=medium
* New upstream release.
* Bump Standards version to 3.9.5.
* Make Build-Depends on python-all and python3-all unversioned as no
prior versions are available in Wheezy.
-- Michael Fladischer <FladischerMichael@fladi.at> Tue, 11 Feb 2014 10:43:25 +0100
python-amqp (1.3.3-1) unstable; urgency=low
* New upstream release.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 11 Dec 2013 09:11:20 +0100
python-amqp (1.0.13-1) unstable; urgency=low
* New upstream release.
* Enable basic message tests.
* Clean funtests/settings.pyc after each build.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 25 Sep 2013 11:24:32 +0200
python-amqp (1.0.12-1) unstable; urgency=low
* Initial release (Closes: #712786).
-- Michael Fladischer <FladischerMichael@fladi.at> Thu, 27 Jun 2013 15:12:51 +0200

4
debian/clean vendored Normal file
View File

@ -0,0 +1,4 @@
amqp/*.pyc
amqp.egg-info/SOURCES.txt
amqp.egg-info/top_level.txt
funtests/settings.pyc

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
8

104
debian/control vendored Normal file
View File

@ -0,0 +1,104 @@
Source: python-amqp
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Michael Fladischer <FladischerMichael@fladi.at>
Build-Depends: debhelper (>= 8.1.0~),
python-all,
python-setuptools,
python3-all,
python3-setuptools
Build-Depends-Indep: libjs-jquery,
python-sphinx (>= 1.0.7+dfsg-1~),
python-sphinxcontrib.issuetracker
Standards-Version: 3.9.5
X-Python-Version: >= 2.5
X-Python3-Version: >= 3.0
Homepage: https://github.com/celery/py-amqp
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-amqp/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-amqp/trunk/
Package: python-amqp
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Suggests: python-amqp-doc
Description: Low-level AMQP client
This is a fork of amqplib which was originally written by Barry Pederson. It
is maintained by the Celery project, and used by kombu as a pure Python
alternative when librabbitmq is not available.
.
This library should be API compatible with librabbitmq. Differences from
amqplib are:
* Supports draining events from multiple channels (Connection.drain_events).
* Support for timeouts.
* Channels are restored after channel error, instead of having to close the
connection.
* Support for heartbeats.
* Supports RabbitMQ extensions:
- Consumer Cancel Notifications.
- Publisher confirms.
- Exchange-to-exchange bindings: exchange_bind / exchange_unbind.
* Support for basic_return.
* Uses AMQP 0-9-1 instead of 0-8.
* Exposes the underlying socket as Connection.sock.
* Adds Channel.no_ack_consumers to keep track of consumer tags that set the
no_ack flag.
* Slightly better at error recovery.
Package: python3-amqp
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Suggests: python-amqp-doc
Description: Low-level AMQP client (Python3 version)
This is a fork of amqplib which was originally written by Barry Pederson. It
is maintained by the Celery project, and used by kombu as a pure Python
alternative when librabbitmq is not available.
.
This library should be API compatible with librabbitmq. Differences from
amqplib are:
* Supports draining events from multiple channels (Connection.drain_events).
* Support for timeouts.
* Channels are restored after channel error, instead of having to close the
connection.
* Support for heartbeats.
* Supports RabbitMQ extensions:
- Consumer Cancel Notifications.
- Publisher confirms.
- Exchange-to-exchange bindings: exchange_bind / exchange_unbind.
* Support for basic_return.
* Uses AMQP 0-9-1 instead of 0-8.
* Exposes the underlying socket as Connection.sock.
* Adds Channel.no_ack_consumers to keep track of consumer tags that set the
no_ack flag.
* Slightly better at error recovery.
.
This package contains the Python 3 version of the library.
Package: python-amqp-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Description: Low-level AMQP client (Documentation)
This is a fork of amqplib which was originally written by Barry Pederson. It
is maintained by the Celery project, and used by kombu as a pure Python
alternative when librabbitmq is not available.
.
This library should be API compatible with librabbitmq. Differences from
amqplib are:
* Supports draining events from multiple channels (Connection.drain_events).
* Support for timeouts.
* Channels are restored after channel error, instead of having to close the
connection.
* Support for heartbeats.
* Supports RabbitMQ extensions:
- Consumer Cancel Notifications.
- Publisher confirms.
- Exchange-to-exchange bindings: exchange_bind / exchange_unbind.
* Support for basic_return.
* Uses AMQP 0-9-1 instead of 0-8.
* Exposes the underlying socket as Connection.sock.
* Adds Channel.no_ack_consumers to keep track of consumer tags that set the
no_ack flag.
* Slightly better at error recovery.
.
This package contains the documentation.

31
debian/copyright vendored Normal file
View File

@ -0,0 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: amqp
Upstream-Contact: Ask Solem <pyamqp@celeryproject.org>
Source: https://pypi.python.org/pypi/amqp
Files: *
Copyright: 2007-2008, Barry Pederson <bp@barryp.org>
2012-2013, Ask Solem <pyamqp@celeryproject.org>
License: LGPL-2.1+
Files: debian/*
Copyright: 2013, Michael Fladischer <FladischerMichael@fladi.at>
License: LGPL-2.1+
License: LGPL-2.1+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
.
On Debian systems, the complete text of version 2 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.

19
debian/patches/remove_logo.patch vendored Normal file
View File

@ -0,0 +1,19 @@
Description: Remove github-hosted logo from documentation
Author: Michael Fladischer <FladischerMichael@fladi.at>
Last-Update: 2014-04-08
Forwarded: not-needed
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -77,9 +77,8 @@
html_theme = "celery"
html_theme_path = ["_theme"]
html_sidebars = {
- 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
- '**': ['sidebarlogo.html', 'relations.html',
- 'sourcelink.html', 'searchbox.html'],
+ 'index': ['sourcelink.html', 'searchbox.html'],
+ '**': ['relations.html', 'sourcelink.html', 'searchbox.html'],
}
### Issuetracker

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
remove_logo.patch

10
debian/python-amqp-doc.doc-base vendored Normal file
View File

@ -0,0 +1,10 @@
Document: python-amqp
Title: Python AMQP Documentation
Author: Ask Solem
Abstract: This documentation gives an introduction to Python AMQP.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-amqp-doc/html/index.html
Files: /usr/share/doc/python-amqp-doc/html/*.html
/usr/share/doc/python-amqp-doc/html/reference/*.html

1
debian/python-amqp-doc.docs vendored Normal file
View File

@ -0,0 +1 @@
docs/.build/html

1
debian/python-amqp-doc.links vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/python-amqp-doc/html/_sources usr/share/doc/python-amqp-doc/rst

59
debian/rules vendored Executable file
View File

@ -0,0 +1,59 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
%:
dh $@ --with python2,python3,sphinxdoc
.PHONY: override_dh_auto_build
override_dh_auto_build:
set -e; \
for py in $(PYVERS) $(PY3VERS); do \
$$py -B setup.py build; \
done
PYTHONPATH=. sphinx-build -b html -N docs/ docs/.build/html
.PHONY: override_dh_auto_clean
override_dh_auto_clean:
set -e; \
for py in $(PYVERS) $(PY3VERS); do \
$$py -B setup.py clean; \
rm -rf build; \
done
.PHONY: override_dh_clean
override_dh_clean:
rm -rf amqp/__pycache__
rm -rf docs/.build
dh_clean
.PHONY: override_dh_auto_install
override_dh_auto_install:
set -e; \
for py in $(PYVERS); do \
$$py -B setup.py install --skip-build --root debian/python-amqp \
--install-layout deb; \
done
set -e; \
for py in $(PY3VERS); do \
$$py -B setup.py install --skip-build --root debian/python3-amqp \
--install-layout deb; \
done
rm debian/python*-amqp/usr/lib/python*/*-packages/amqp*.egg-info/SOURCES.txt
.PHONY: override_dh_installchangelogs
override_dh_installchangelogs:
dh_installchangelogs docs/changelog.rst
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
for python in $(PYVERS); do \
PYTHONPATH=. $$python funtests/test_basic_message.py; \
done
endif

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1 @@
debian/upstream-signing-key.pgp

BIN
debian/upstream-signing-key.pgp vendored Normal file

Binary file not shown.

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=3
opts=pgpsigurlmangle=s/$/.asc/ \
https://pypi.python.org/packages/source/a/amqp/amqp-([\d\.]+)\.tar\.gz