aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2011-03-18 04:46:07 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2011-03-18 04:46:07 +0000
commit47b1472b7021a90739c507b9e28ae207e38c2ee0 (patch)
tree660e82afd5ed64968a0dafd7e94bc9b35a16c33a
parentec32805f1d51d04a9771c627760a7a7969268bc5 (diff)
Kombu is an 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, and also provide proven and tested solutions to common messaging problems. Features: * Allows application authors to support several message server solutions by using pluggable transports. * Supports automatic encoding, serialization and compression of message payloads. * Consistent exception handling across transports. * The ability to ensure that an operation is performed by gracefully handling connection and channel errrors. * Several annoyances with amqplib has been fixed, like supporting timeouts and the ability to wait for events on more than one channel. WWW: http://github.com/ask/kombu
Notes
Notes: svn path=/head/; revision=271221
-rw-r--r--net/Makefile1
-rw-r--r--net/py-kombu/Makefile22
-rw-r--r--net/py-kombu/distinfo2
-rw-r--r--net/py-kombu/files/patch-setup.py14
-rw-r--r--net/py-kombu/pkg-descr21
-rw-r--r--net/py-kombu/pkg-plist155
6 files changed, 215 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index a9d5b9ec2793..a85d3d91b51d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -863,6 +863,7 @@
SUBDIR += py-google
SUBDIR += py-impacket
SUBDIR += py-iplib
+ SUBDIR += py-kombu
SUBDIR += py-ldap2
SUBDIR += py-libcloud
SUBDIR += py-libdnet
diff --git a/net/py-kombu/Makefile b/net/py-kombu/Makefile
new file mode 100644
index 000000000000..a0322b4f4b5b
--- /dev/null
+++ b/net/py-kombu/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: kombu
+# Date created: 18 March 2011
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kombu
+PORTVERSION= 1.0.5
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= An AMQP messaging framework for Python
+
+LICESNSE= BSD
+
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/net/py-kombu/distinfo b/net/py-kombu/distinfo
new file mode 100644
index 000000000000..3dfa72535d23
--- /dev/null
+++ b/net/py-kombu/distinfo
@@ -0,0 +1,2 @@
+SHA256 (kombu-1.0.5.tar.gz) = 36c4a70818f87f4cf534d4731518753753f303afbb93851088dc50099f4f4555
+SIZE (kombu-1.0.5.tar.gz) = 202609
diff --git a/net/py-kombu/files/patch-setup.py b/net/py-kombu/files/patch-setup.py
new file mode 100644
index 000000000000..9a6bbf59992b
--- /dev/null
+++ b/net/py-kombu/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig 2011-02-12 23:12:29.000000000 +0800
++++ setup.py 2011-03-18 11:38:46.000000000 +0800
+@@ -18,9 +18,9 @@
+ raise Exception("Kombu requires Python 2.4 or higher.")
+
+ try:
+- from setuptools import setup, Extension, Feature, find_packages
++ from setuptools import setup, Extension, Feature
+ except ImportError:
+- from distutils.core import setup, Extension, find_packages
++ from distutils.core import setup, Extension
+ Feature = None
+
+ from distutils.command.install_data import install_data
diff --git a/net/py-kombu/pkg-descr b/net/py-kombu/pkg-descr
new file mode 100644
index 000000000000..bcd53779adc5
--- /dev/null
+++ b/net/py-kombu/pkg-descr
@@ -0,0 +1,21 @@
+Kombu is an 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, and also provide proven and tested solutions
+to common messaging problems.
+
+Features:
+
+ * Allows application authors to support several message
+ server solutions by using pluggable transports.
+ * Supports automatic encoding, serialization and compression
+ of message payloads.
+ * Consistent exception handling across transports.
+ * The ability to ensure that an operation is performed by
+ gracefully handling connection and channel errrors.
+ * Several annoyances with amqplib has been fixed, like
+ supporting timeouts and the ability to wait for events on
+ more than one channel.
+
+WWW: http://github.com/ask/kombu
diff --git a/net/py-kombu/pkg-plist b/net/py-kombu/pkg-plist
new file mode 100644
index 000000000000..5681fdcff03c
--- /dev/null
+++ b/net/py-kombu/pkg-plist
@@ -0,0 +1,155 @@
+%%PYTHON_SITELIBDIR%%/kombu/__init__.py
+%%PYTHON_SITELIBDIR%%/kombu/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kombu/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kombu/abstract.py
+%%PYTHON_SITELIBDIR%%/kombu/abstract.pyc
+%%PYTHON_SITELIBDIR%%/kombu/abstract.pyo
+%%PYTHON_SITELIBDIR%%/kombu/compat.py
+%%PYTHON_SITELIBDIR%%/kombu/compat.pyc
+%%PYTHON_SITELIBDIR%%/kombu/compat.pyo
+%%PYTHON_SITELIBDIR%%/kombu/compression.py
+%%PYTHON_SITELIBDIR%%/kombu/compression.pyc
+%%PYTHON_SITELIBDIR%%/kombu/compression.pyo
+%%PYTHON_SITELIBDIR%%/kombu/connection.py
+%%PYTHON_SITELIBDIR%%/kombu/connection.pyc
+%%PYTHON_SITELIBDIR%%/kombu/connection.pyo
+%%PYTHON_SITELIBDIR%%/kombu/entity.py
+%%PYTHON_SITELIBDIR%%/kombu/entity.pyc
+%%PYTHON_SITELIBDIR%%/kombu/entity.pyo
+%%PYTHON_SITELIBDIR%%/kombu/exceptions.py
+%%PYTHON_SITELIBDIR%%/kombu/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/kombu/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/kombu/messaging.py
+%%PYTHON_SITELIBDIR%%/kombu/messaging.pyc
+%%PYTHON_SITELIBDIR%%/kombu/messaging.pyo
+%%PYTHON_SITELIBDIR%%/kombu/pidbox.py
+%%PYTHON_SITELIBDIR%%/kombu/pidbox.pyc
+%%PYTHON_SITELIBDIR%%/kombu/pidbox.pyo
+%%PYTHON_SITELIBDIR%%/kombu/serialization.py
+%%PYTHON_SITELIBDIR%%/kombu/serialization.pyc
+%%PYTHON_SITELIBDIR%%/kombu/serialization.pyo
+%%PYTHON_SITELIBDIR%%/kombu/simple.py
+%%PYTHON_SITELIBDIR%%/kombu/simple.pyc
+%%PYTHON_SITELIBDIR%%/kombu/simple.pyo
+%%PYTHON_SITELIBDIR%%/kombu/syn.py
+%%PYTHON_SITELIBDIR%%/kombu/syn.pyc
+%%PYTHON_SITELIBDIR%%/kombu/syn.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/mocks.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/mocks.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/mocks.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_compat.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_compat.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_compat.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_compression.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_compression.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_compression.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_connection.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_connection.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_connection.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_entities.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_entities.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_entities.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_messaging.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_messaging.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_messaging.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_pidbox.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_pidbox.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_pidbox.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_serialization.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_serialization.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_serialization.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_simple.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_simple.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_simple.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_base.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_base.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_base.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_memory.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_memory.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_memory.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_pyamqplib.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_pyamqplib.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_pyamqplib.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_pyredis.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_pyredis.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_pyredis.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_virtual.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_virtual.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_transport_virtual.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_utils.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_utils.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_utils.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_virtual_exchange.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_virtual_exchange.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_virtual_exchange.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_virtual_scheduling.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_virtual_scheduling.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/test_virtual_scheduling.pyo
+%%PYTHON_SITELIBDIR%%/kombu/tests/utils.py
+%%PYTHON_SITELIBDIR%%/kombu/tests/utils.pyc
+%%PYTHON_SITELIBDIR%%/kombu/tests/utils.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/__init__.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/base.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/base.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/base.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/beanstalk.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/beanstalk.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/beanstalk.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/librabbitmq.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/librabbitmq.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/librabbitmq.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/memory.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/memory.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/memory.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/mongodb.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/mongodb.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/mongodb.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/pyamqplib.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/pyamqplib.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/pyamqplib.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/pycouchdb.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/pycouchdb.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/pycouchdb.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/pypika.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/pypika.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/pypika.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/pyredis.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/pyredis.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/pyredis.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/__init__.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/exchange.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/exchange.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/exchange.pyo
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/scheduling.py
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/scheduling.pyc
+%%PYTHON_SITELIBDIR%%/kombu/transport/virtual/scheduling.pyo
+%%PYTHON_SITELIBDIR%%/kombu/utils/__init__.py
+%%PYTHON_SITELIBDIR%%/kombu/utils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kombu/utils/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kombu/utils/compat.py
+%%PYTHON_SITELIBDIR%%/kombu/utils/compat.pyc
+%%PYTHON_SITELIBDIR%%/kombu/utils/compat.pyo
+%%PYTHON_SITELIBDIR%%/kombu/utils/eventio.py
+%%PYTHON_SITELIBDIR%%/kombu/utils/eventio.pyc
+%%PYTHON_SITELIBDIR%%/kombu/utils/eventio.pyo
+%%PYTHON_SITELIBDIR%%/kombu/utils/finalize.py
+%%PYTHON_SITELIBDIR%%/kombu/utils/finalize.pyc
+%%PYTHON_SITELIBDIR%%/kombu/utils/finalize.pyo
+%%PYTHON_SITELIBDIR%%/kombu/utils/functional.py
+%%PYTHON_SITELIBDIR%%/kombu/utils/functional.pyc
+%%PYTHON_SITELIBDIR%%/kombu/utils/functional.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/kombu/utils
+@dirrm %%PYTHON_SITELIBDIR%%/kombu/transport/virtual
+@dirrm %%PYTHON_SITELIBDIR%%/kombu/transport
+@dirrm %%PYTHON_SITELIBDIR%%/kombu/tests
+@dirrm %%PYTHON_SITELIBDIR%%/kombu