aboutsummaryrefslogtreecommitdiff
path: root/net/py-kombu
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-05-21 12:26:04 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-05-21 12:26:04 +0000
commit53a3ad7353dd57ddd8a70f3aae052a8545bb1939 (patch)
tree197111686f67c524178cee44a46e2e0bc97efaa2 /net/py-kombu
parent70d7df05fd3251ae412de756f5009d4c731ba201 (diff)
downloadports-53a3ad7353dd57ddd8a70f3aae052a8545bb1939.tar.gz
ports-53a3ad7353dd57ddd8a70f3aae052a8545bb1939.zip
Notes
Diffstat (limited to 'net/py-kombu')
-rw-r--r--net/py-kombu/Makefile19
-rw-r--r--net/py-kombu/distinfo4
-rw-r--r--net/py-kombu/files/patch-setup.py8
-rw-r--r--net/py-kombu/pkg-descr2
4 files changed, 23 insertions, 10 deletions
diff --git a/net/py-kombu/Makefile b/net/py-kombu/Makefile
index 83d55feef15b..90ae1c4dd692 100644
--- a/net/py-kombu/Makefile
+++ b/net/py-kombu/Makefile
@@ -2,17 +2,17 @@
# $FreeBSD$
PORTNAME= kombu
-PORTVERSION= 2.5.6
+PORTVERSION= 2.5.7
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= clsung@FreeBSD.org
-COMMENT= An AMQP messaging framework for Python
+COMMENT= AMQP messaging framework for Python
LICENSE= BSD
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amqp>=1.0.6:${PORTSDIR}/net/py-amqp \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amqp>=1.0.9:${PORTSDIR}/net/py-amqp \
${PYTHON_PKGNAMEPREFIX}anyjson>=0.3.3:${PORTSDIR}/devel/py-anyjson
OPTIONS_DEFINE= BEANSTALK BOTO MONGODB REDIS SQLALCHEMY ZMQ
@@ -27,7 +27,10 @@ ZMQ_DESC= Include ZMQ transport support
# Ports infrastructure bug
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
-.include <bsd.port.options.mk>
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MBEANSTALK}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}beanstalkc>0:${PORTSDIR}/net/py-beanstalkc
@@ -53,7 +56,9 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlal
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyzmq=>2.2.0:${PORTSDIR}/devel/py-pyzmq
.endif
-USE_PYTHON= 2.5+
-USE_PYDISTUTILS= easy_install
+.if ${PYTHON_REL} < 270
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ordereddict>=0:${PORTSDIR}/devel/py-ordereddict \
+ ${PYTHON_PKGNAMEPREFIX}importlib>=0:${PORTSDIR}/devel/py-importlib
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/py-kombu/distinfo b/net/py-kombu/distinfo
index ae6b64773b02..a2fa9beb3ab4 100644
--- a/net/py-kombu/distinfo
+++ b/net/py-kombu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (kombu-2.5.6.tar.gz) = 01c0ba72782535df913b519d6509835f8210b4dbfde652d3a1c6f545d737beb9
-SIZE (kombu-2.5.6.tar.gz) = 301670
+SHA256 (kombu-2.5.7.tar.gz) = 32bcfabc02366738101861f06e737106dea8d2ea784a588d7a9e1fbd940b7a78
+SIZE (kombu-2.5.7.tar.gz) = 301904
diff --git a/net/py-kombu/files/patch-setup.py b/net/py-kombu/files/patch-setup.py
new file mode 100644
index 000000000000..d27190a02d30
--- /dev/null
+++ b/net/py-kombu/files/patch-setup.py
@@ -0,0 +1,8 @@
+diff --git requirements/default.txt requirements/default.txt
+index e0c2232..5c48b92 100644
+--- requirements/default.txt
++++ requirements/default.txt
+@@ -1,2 +1,2 @@
+ anyjson>=0.3.3
+-amqp>=1.0.9,<1.1.0
++amqp>=1.0.9
diff --git a/net/py-kombu/pkg-descr b/net/py-kombu/pkg-descr
index bcd53779adc5..2269762039e9 100644
--- a/net/py-kombu/pkg-descr
+++ b/net/py-kombu/pkg-descr
@@ -18,4 +18,4 @@ Features:
supporting timeouts and the ability to wait for events on
more than one channel.
-WWW: http://github.com/ask/kombu
+WWW: http://github.com/ask/kombu