- fix pkg-plist

- bump PORTREVISION

while here:
- trim Makefile header
- eliminate PYTHON_SITELIBDIR from depends
- limit python version to 2.x only (print/except)

Reported by:	pointyhat (miwi)
This commit is contained in:
Ruslan Makhmatkhanov 2013-05-12 04:52:39 +00:00
parent b0c7c17e43
commit 0a340f7319
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317929
2 changed files with 6 additions and 10 deletions

View file

@ -1,12 +1,9 @@
# New ports collection makefile for: txamqp
# Date created: 2009-07-04
# Whom: Bruce Simpson
#
# Created by: Bruce Simpson
# $FreeBSD$
#
PORTNAME= txamqp
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= http://launchpadlibrarian.net/30388120/ \
# http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/
@ -16,17 +13,17 @@ DISTNAME= python-${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Twisted Python library for the AMQP messaging protocol
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/thrift/__init__.py:${PORTSDIR}/devel/py-thrift
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}thrift>0:${PORTSDIR}/devel/py-thrift
USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
USE_PYTHON= -2.7
USE_PYDISTUTILS=easy_install
USE_TWISTED= yes
WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION}
PYDISTUTILS_PKGNAME= txAMQP
PYDISTUTILS_PKGVERSION= 0.3
PLIST_SUB= PORTNAME="${PORTNAME}"
PLIST_SUB= PORTNAME="${PORTNAME}"
# TODO: Install txAMQP examples.

View file

@ -85,7 +85,6 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/xmlutil.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/xmlutil.pyo
@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/txamqp/test
@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