Date: Sat, 12 Sep 2009 20:11:23 +0200 (CEST) From: Mel Flynn <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <churanov.port.maintainer@gmail.com> Subject: ports/138770: [patch] devel/boost-python-libs: don't default to pyste build Message-ID: <20090912181123.89F6E844AA@smoochies.rachie.is-a-geek.net> Resent-Message-ID: <200909121820.n8CIK3oK090315@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138770 >Category: ports >Synopsis: [patch] devel/boost-python-libs: don't default to pyste build >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 12 18:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.0-BETA4 i386 >Organization: >Environment: System: FreeBSD smoochies.rachie.is-a-geek.net 8.0-BETA4 FreeBSD 8.0-BETA4 #14 r196875M: Mon Sep 7 18:00:45 CEST 2009 mel@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/HPDV9000 i386 >Description: Long outstanding, discussed on ports@/kde@, +1'd by miwi@. In short: pyste build brings in unmaintained gccxml software, which pulls in legacy compiler. All this isn't needed and wasn't the default in previous boost-python port. >How-To-Repeat: make -C /usr/ports/devel/boost-python-libs install >Fix: --- boost-nopyste.diff begins here --- Index: devel/boost-python-libs/Makefile =================================================================== RCS file: /home/ncvs/ports/devel/boost-python-libs/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- devel/boost-python-libs/Makefile 3 Aug 2009 21:04:08 -0000 1.2 +++ devel/boost-python-libs/Makefile 12 Sep 2009 18:04:35 -0000 @@ -25,10 +25,14 @@ PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}"\ PYTHON_LIB_PATH="${PYTHON_LIBDIR}" -RUN_DEPENDS+= ${PREFIX}/lib/libboost_thread.so.${BOOST_SHARED_LIB_VER}:${PORTSDIR}/devel/boost-libs -RUN_DEPENDS+= gccxml:${PORTSDIR}/devel/gccxml \ - ${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree - +RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_thread.so.${BOOST_SHARED_LIB_VER}:${PORTSDIR}/devel/boost-libs +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree +.if defined(WITH_PYSTE) +RUN_DEPENDS+= gccxml:${PORTSDIR}/devel/gccxml +PLIST_SUB+= PYSTE= +.else +PLIST_SUB+= PYSTE="@comment " +.endif BUILD_DEPENDS+= ${BJAM}:${PORTSDIR}/devel/boost-jam BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree @@ -39,12 +43,13 @@ post-patch: customize-boost-build - +.if defined(WITH_PYSTE) post-configure: # Configure pyste, the Boost.Python code generator @cd ${BUILD_WRKSRC}/libs/python/pyste/install && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \ config ${PYDISTUTILS_CONFIGUREARGS} +.endif do-build: # build the library @@ -84,10 +89,12 @@ ${FIND} boost -type f -a \! -name "*.orig"\ -exec ${INSTALL_DATA} \{\} ${PREFIX}/include/\{\} \; +.if defined(WITH_PYSTE) # Install pyste, the Boost.Python code generator cd ${WRKSRC}/libs/python/pyste/install && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \ install ${PYDISTUTILS_INSTALLARGS} +.endif post-install: # display pkg-message Index: devel/boost-python-libs/pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/boost-python-libs/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- devel/boost-python-libs/pkg-plist 28 Jul 2009 11:44:50 -0000 1.1 +++ devel/boost-python-libs/pkg-plist 12 Sep 2009 11:34:34 -0000 @@ -1,4 +1,4 @@ -bin/pyste.py +%%PYSTE%%bin/pyste.py include/boost/python.hpp include/boost/python/arg_from_python.hpp include/boost/python/args.hpp @@ -213,71 +213,71 @@ lib/libboost_python.a lib/libboost_python.so lib/libboost_python.so.%%BOOST_SHARED_LIB_VER%% -%%PYTHON_SITELIBDIR%%/Pyste-0.9.10-py%%PYTHON_VERSION%%.egg-info -%%PYTHON_SITELIBDIR%%/Pyste/ClassExporter.py -%%PYTHON_SITELIBDIR%%/Pyste/ClassExporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/ClassExporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/CodeExporter.py -%%PYTHON_SITELIBDIR%%/Pyste/CodeExporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/CodeExporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/CppParser.py -%%PYTHON_SITELIBDIR%%/Pyste/CppParser.pyc -%%PYTHON_SITELIBDIR%%/Pyste/CppParser.pyo -%%PYTHON_SITELIBDIR%%/Pyste/EnumExporter.py -%%PYTHON_SITELIBDIR%%/Pyste/EnumExporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/EnumExporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/Exporter.py -%%PYTHON_SITELIBDIR%%/Pyste/Exporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/Exporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/FunctionExporter.py -%%PYTHON_SITELIBDIR%%/Pyste/FunctionExporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/FunctionExporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/GCCXMLParser.py -%%PYTHON_SITELIBDIR%%/Pyste/GCCXMLParser.pyc -%%PYTHON_SITELIBDIR%%/Pyste/GCCXMLParser.pyo -%%PYTHON_SITELIBDIR%%/Pyste/HeaderExporter.py -%%PYTHON_SITELIBDIR%%/Pyste/HeaderExporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/HeaderExporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/MultipleCodeUnit.py -%%PYTHON_SITELIBDIR%%/Pyste/MultipleCodeUnit.pyc -%%PYTHON_SITELIBDIR%%/Pyste/MultipleCodeUnit.pyo -%%PYTHON_SITELIBDIR%%/Pyste/SingleCodeUnit.py -%%PYTHON_SITELIBDIR%%/Pyste/SingleCodeUnit.pyc -%%PYTHON_SITELIBDIR%%/Pyste/SingleCodeUnit.pyo -%%PYTHON_SITELIBDIR%%/Pyste/SmartFile.py -%%PYTHON_SITELIBDIR%%/Pyste/SmartFile.pyc -%%PYTHON_SITELIBDIR%%/Pyste/SmartFile.pyo -%%PYTHON_SITELIBDIR%%/Pyste/VarExporter.py -%%PYTHON_SITELIBDIR%%/Pyste/VarExporter.pyc -%%PYTHON_SITELIBDIR%%/Pyste/VarExporter.pyo -%%PYTHON_SITELIBDIR%%/Pyste/__init__.py -%%PYTHON_SITELIBDIR%%/Pyste/__init__.pyc -%%PYTHON_SITELIBDIR%%/Pyste/__init__.pyo -%%PYTHON_SITELIBDIR%%/Pyste/declarations.py -%%PYTHON_SITELIBDIR%%/Pyste/declarations.pyc -%%PYTHON_SITELIBDIR%%/Pyste/declarations.pyo -%%PYTHON_SITELIBDIR%%/Pyste/exporters.py -%%PYTHON_SITELIBDIR%%/Pyste/exporters.pyc -%%PYTHON_SITELIBDIR%%/Pyste/exporters.pyo -%%PYTHON_SITELIBDIR%%/Pyste/exporterutils.py -%%PYTHON_SITELIBDIR%%/Pyste/exporterutils.pyc -%%PYTHON_SITELIBDIR%%/Pyste/exporterutils.pyo -%%PYTHON_SITELIBDIR%%/Pyste/infos.py -%%PYTHON_SITELIBDIR%%/Pyste/infos.pyc -%%PYTHON_SITELIBDIR%%/Pyste/infos.pyo -%%PYTHON_SITELIBDIR%%/Pyste/policies.py -%%PYTHON_SITELIBDIR%%/Pyste/policies.pyc -%%PYTHON_SITELIBDIR%%/Pyste/policies.pyo -%%PYTHON_SITELIBDIR%%/Pyste/pyste.py -%%PYTHON_SITELIBDIR%%/Pyste/pyste.pyc -%%PYTHON_SITELIBDIR%%/Pyste/pyste.pyo -%%PYTHON_SITELIBDIR%%/Pyste/settings.py -%%PYTHON_SITELIBDIR%%/Pyste/settings.pyc -%%PYTHON_SITELIBDIR%%/Pyste/settings.pyo -%%PYTHON_SITELIBDIR%%/Pyste/utils.py -%%PYTHON_SITELIBDIR%%/Pyste/utils.pyc -%%PYTHON_SITELIBDIR%%/Pyste/utils.pyo -@dirrm %%PYTHON_SITELIBDIR%%/Pyste +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste-0.9.10-py%%PYTHON_VERSION%%.egg-info +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/ClassExporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/ClassExporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/ClassExporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/CodeExporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/CodeExporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/CodeExporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/CppParser.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/CppParser.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/CppParser.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/EnumExporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/EnumExporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/EnumExporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/Exporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/Exporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/Exporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/FunctionExporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/FunctionExporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/FunctionExporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/GCCXMLParser.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/GCCXMLParser.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/GCCXMLParser.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/HeaderExporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/HeaderExporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/HeaderExporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/MultipleCodeUnit.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/MultipleCodeUnit.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/MultipleCodeUnit.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/SingleCodeUnit.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/SingleCodeUnit.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/SingleCodeUnit.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/SmartFile.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/SmartFile.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/SmartFile.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/VarExporter.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/VarExporter.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/VarExporter.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/__init__.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/__init__.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/__init__.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/declarations.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/declarations.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/declarations.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/exporters.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/exporters.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/exporters.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/exporterutils.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/exporterutils.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/exporterutils.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/infos.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/infos.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/infos.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/policies.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/policies.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/policies.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/pyste.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/pyste.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/pyste.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/settings.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/settings.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/settings.pyo +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/utils.py +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/utils.pyc +%%PYSTE%%%%PYTHON_SITELIBDIR%%/Pyste/utils.pyo +%%PYSTE%%@dirrm %%PYTHON_SITELIBDIR%%/Pyste @dirrm include/boost/python/suite/indexing/detail @dirrm include/boost/python/suite/indexing @dirrm include/boost/python/suite --- boost-nopyste.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090912181123.89F6E844AA>