Date: Thu, 18 Aug 2011 12:48:35 GMT From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159869: [PATCH] devel/boost-pyste: eliminate py-elementtree dependency Message-ID: <201108181248.p7ICmZWU066750@red.freebsd.org> Resent-Message-ID: <201108181250.p7ICo6WH015454@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108181248.p7ICmZWU066750>