- Remove optional dependency on devel/py-elementtree since it's

already including on python 2.5 and later versions. These are
  already the required versions for the port.
  o Remove ELEMENTTREE from OPTIONS
  o Bump PORTREVISION due to dependency list change

PR:		159867
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2011-08-24 00:55:23 +00:00
parent 370c5cdc08
commit 69d30e9194
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280309

View File

@ -6,6 +6,7 @@
PORTNAME= pynzb
PORTVERSION= 0.1.0
PORTREVISION= 1
CATEGORIES= news python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,8 +20,7 @@ USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
PYDISTUTILS_NOEGGINFO= yes
OPTIONS= LXML "Add support for py-lxml" Off \
ELEMENTTREE "Add support for py-elementtree" Off
OPTIONS= LXML "Add support for py-lxml" Off
.include <bsd.port.pre.mk>
@ -28,8 +28,4 @@ OPTIONS= LXML "Add support for py-lxml" Off \
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.1:${PORTSDIR}/devel/py-lxml
.endif
.if !defined(WITHOUT_ELEMENTTREE)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
.endif
.include <bsd.port.post.mk>