freebsd-ports/net/py-txamqp/Makefile
Bruce M Simpson 1e5447a9bc Add new port py-txamqp, an asynchronous-capable AMQP messing transport
module for Python/Twisted, by Esteve Fernandez.

Tested with RabbitMQ 1.6.0 on FreeBSD 7.2-STABLE, i386 and amd64, using
Esteve's example code here:
        http://fluidinfo.com/esteve/stuff/txamqp_consumer.py
        http://fluidinfo.com/esteve/stuff/txamqp_publisher.py

Note: The Thrift-in-AMQP support is not yet built as it depends on the
Thrift bindings for Python which need to be fixed.
2009-07-04 19:17:11 +00:00

37 lines
927 B
Makefile

# New ports collection makefile for: txamqp
# Date created: 2009-07-04
# Whom: Bruce Simpson
#
# $FreeBSD$
#
PORTNAME= txamqp
PORTVERSION= 0.2.1
CATEGORIES= net python
MASTER_SITES= http://launchpadlibrarian.net/20320545/ \
# http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= bms@FreeBSD.org
COMMENT= Twisted Python library for the AMQP messaging protocol
USE_BZIP2= yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
USE_TWISTED= yes
PYDISTUTILS_PKGNAME= txAMQP
PYDISTUTILS_PKGVERSION= 0.2
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}
.include <bsd.port.mk>