- 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 # Created by: Bruce Simpson
# Date created: 2009-07-04
# Whom: Bruce Simpson
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= txamqp PORTNAME= txamqp
PORTVERSION= 0.3 PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= net python CATEGORIES= net python
MASTER_SITES= http://launchpadlibrarian.net/30388120/ \ MASTER_SITES= http://launchpadlibrarian.net/30388120/ \
# http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/ # http://launchpad.net/txamqp/trunk/${PORTVERSION}/+download/
@ -16,17 +13,17 @@ DISTNAME= python-${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Twisted Python library for the AMQP messaging protocol 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_PYTHON= -2.7
USE_PYDISTUTILS= easy_install USE_PYDISTUTILS=easy_install
USE_TWISTED= yes USE_TWISTED= yes
WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION}
PYDISTUTILS_PKGNAME= txAMQP PYDISTUTILS_PKGNAME= txAMQP
PYDISTUTILS_PKGVERSION= 0.3 PYDISTUTILS_PKGVERSION= 0.3
PLIST_SUB= PORTNAME="${PORTNAME}" PLIST_SUB= PORTNAME="${PORTNAME}"
# TODO: Install txAMQP examples. # TODO: Install txAMQP examples.

View file

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