ports/159869: [PATCH] devel/boost-pyste: eliminate py-elementtree dependency

Ruslan Mahmatkhanov cvs-src at yandex.ru
Thu Aug 18 12:50:06 UTC 2011


>Number:         159869
>Category:       ports
>Synopsis:       [PATCH] devel/boost-pyste: eliminate py-elementtree dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 18 12:50:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        9.0-BETA1
>Organization:
>Environment:
9.0-BETA1 i386
>Description:
This port have dependency on devel/py-elementtree. At the same time USE_PYTHON= 2.5+ is defined. elementtree is a part of python since 2.5, so this dependency isn't needed. Removing it.
See: http://docs.python.org/library/xml.etree.elementtree.html
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa boost-pyste.orig/Makefile boost-pyste/Makefile
--- boost-pyste.orig/Makefile	2011-02-25 10:50:34.000000000 +0300
+++ boost-pyste/Makefile	2011-08-18 16:45:51.000000000 +0400
@@ -31,11 +31,9 @@
 		PYTHON_LIB_PATH="${PYTHON_LIBDIR}"
 
 RUN_DEPENDS+=	${LOCALBASE}/lib/libboost_python.so.${BOOST_SHARED_LIB_VER}:${PORTSDIR}/devel/boost-python-libs
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree
 
 RUN_DEPENDS+=	gccxml:${PORTSDIR}/devel/gccxml
 BUILD_DEPENDS+=	${BJAM}:${PORTSDIR}/devel/boost-jam
-BUILD_DEPENDS+=	${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree
 
 post-patch: customize-boost-build
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list