freebsd-ports/net/py-txamqp/Makefile

36 lines
904 B
Makefile
Raw Normal View History

# Created by: Bruce Simpson
# $FreeBSD$
PORTNAME= txamqp
2009-08-19 15:15:14 +02:00
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= net python
2009-08-19 15:15:14 +02:00
MASTER_SITES= http://launchpadlibrarian.net/30388120/ \
# http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2009-08-19 15:15:14 +02:00
DISTNAME= python-${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= horus.li@gmail.com
COMMENT= Twisted Python library for the AMQP messaging protocol
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}thrift>0:${PORTSDIR}/devel/py-thrift
2009-08-19 15:15:14 +02:00
USE_PYTHON= 2
USE_PYDISTUTILS=easy_install
USES= twisted
2009-08-19 15:15:14 +02:00
WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION}
PYDISTUTILS_PKGNAME= txAMQP
2009-08-19 15:15:14 +02:00
PYDISTUTILS_PKGVERSION= 0.3
PLIST_SUB= PORTNAME="${PORTNAME}"
# TODO: Install txAMQP examples.
2009-08-19 15:15:14 +02:00
# Don't try to install Twisted yourself, txAMQP. thx!
NO_STAGE= yes
post-patch:
2009-08-19 15:15:14 +02:00
@${REINPLACE_CMD} -e '/install_requires/s/^/#/' ${WRKSRC}/setup.py
.include <bsd.port.mk>