diff options
-rw-r--r-- | net/py-txamqp/Makefile | 24 | ||||
-rw-r--r-- | net/py-txamqp/distinfo | 6 | ||||
-rw-r--r-- | net/py-txamqp/pkg-plist | 127 |
3 files changed, 98 insertions, 59 deletions
diff --git a/net/py-txamqp/Makefile b/net/py-txamqp/Makefile index 96eb8f654e0b..1ddfc176f166 100644 --- a/net/py-txamqp/Makefile +++ b/net/py-txamqp/Makefile @@ -6,32 +6,32 @@ # PORTNAME= txamqp -PORTVERSION= 0.2.1 +PORTVERSION= 0.3 CATEGORIES= net python -MASTER_SITES= http://launchpadlibrarian.net/20320545/ \ +MASTER_SITES= http://launchpadlibrarian.net/30388120/ \ # http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= python-${PORTNAME}-${PORTVERSION} +DISTNAME= python-${PORTNAME}_${PORTVERSION}.orig MAINTAINER= bms@FreeBSD.org COMMENT= Twisted Python library for the AMQP messaging protocol -USE_BZIP2= yes +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/thrift/__init__.py:${PORTSDIR}/devel/py-thrift + USE_PYTHON= 2.5+ -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= easy_install USE_TWISTED= yes +WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION} + PYDISTUTILS_PKGNAME= txAMQP -PYDISTUTILS_PKGVERSION= 0.2 +PYDISTUTILS_PKGVERSION= 0.3 PLIST_SUB= PORTNAME="${PORTNAME}" -# TODO: Install AMQP spec files in a separate leaf port. # TODO: Install txAMQP examples. -# TODO: Build and re-introduce Thrift runtime dependencies. -post-install: - @${ECHO_MSG} - @${ECHO_MSG} "Note: Thrift is not yet supported, Python bindings need fixed." - @${ECHO_MSG} +# Don't try to install Twisted yourself, txAMQP. thx! +do-patch: + @${REINPLACE_CMD} -e '/install_requires/s/^/#/' ${WRKSRC}/setup.py .include <bsd.port.mk> diff --git a/net/py-txamqp/distinfo b/net/py-txamqp/distinfo index fd9fe5e0eafb..2482c2d9838a 100644 --- a/net/py-txamqp/distinfo +++ b/net/py-txamqp/distinfo @@ -1,3 +1,3 @@ -MD5 (python-txamqp-0.2.1.tar.bz2) = be9b24f0423552dcad9ff1b0385c000c -SHA256 (python-txamqp-0.2.1.tar.bz2) = 80900586068f4ab1462f4c35e03e5d271c7def319fe83d37706ee63bd794bbd3 -SIZE (python-txamqp-0.2.1.tar.bz2) = 80530 +MD5 (python-txamqp_0.3.orig.tar.gz) = 984aa9c7195549c12a0aaae92b6fe503 +SHA256 (python-txamqp_0.3.orig.tar.gz) = c3900aa1e837711a06a881ae76f575af66f9e3d562bfe8ca22918477325050e4 +SIZE (python-txamqp_0.3.orig.tar.gz) = 153402 diff --git a/net/py-txamqp/pkg-plist b/net/py-txamqp/pkg-plist index 1997b5541ede..415c3b638496 100644 --- a/net/py-txamqp/pkg-plist +++ b/net/py-txamqp/pkg-plist @@ -1,44 +1,83 @@ -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/__init__.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/__init__.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/client.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/client.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/client.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/codec.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/codec.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/codec.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/connection.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/connection.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/connection.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/content.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/content.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/content.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib/__init__.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib/__init__.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib/thrift.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib/thrift.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib/thrift.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/delegate.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/delegate.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/delegate.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/message.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/message.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/message.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/protocol.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/protocol.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/protocol.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/queue.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/queue.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/queue.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/spec.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/spec.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/spec.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/testlib.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/testlib.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/testlib.pyo -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/xmlutil.py -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/xmlutil.pyc -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/xmlutil.pyo -@dirrmtry %%PYTHON_SITELIBDIR%%/%%PORTNAME%%/contrib -@dirrmtry %%PYTHON_SITELIBDIR%%/%%PORTNAME%% +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/client.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/client.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/client.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/codec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/codec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/codec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/connection.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/connection.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/connection.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/content.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/content.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/content.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/client.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/client.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/client.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/protocol.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/protocol.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/protocol.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/service.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/service.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/service.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/transport.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/transport.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift/transport.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/delegate.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/delegate.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/delegate.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/message.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/message.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/message.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/protocol.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/protocol.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/protocol.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/queue.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/queue.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/queue.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/spec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/spec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/spec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_basic.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_basic.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_basic.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_broker.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_broker.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_broker.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_example.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_example.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_example.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_exchange.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_exchange.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_exchange.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_heartbeat.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_heartbeat.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_heartbeat.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_queue.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_queue.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_queue.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_testlib.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_testlib.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_testlib.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_tx.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_tx.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test/test_tx.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/testlib.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/testlib.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/testlib.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/xmlutil.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/xmlutil.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/xmlutil.pyo +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/test +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib/thrift +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/contrib +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |