1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net/py-txamqp/Makefile
Marcus von Appen 1698e21b85 - Enable stagedir support
- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
2014-06-14 10:46:00 +00:00

34 lines
854 B
Makefile

# Created by: Bruce Simpson
# $FreeBSD$
PORTNAME= txamqp
PORTVERSION= 0.3
PORTREVISION= 3
CATEGORIES= net python
MASTER_SITES= http://launchpadlibrarian.net/30388120/ \
# http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= twisted
WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION}
PLIST_SUB= PORTNAME="${PORTNAME}"
# TODO: Install txAMQP examples.
# Don't try to install Twisted yourself, txAMQP. thx!
post-patch:
@${REINPLACE_CMD} -e '/install_requires/s/^/#/' ${WRKSRC}/setup.py
.include <bsd.port.mk>