import the Python support part of vtk-4.2.6 from -wip
This includes the Python extension in wip/py-vtkmodule: vtk-python already links against a specific Python version, so the Python extension cannot be built for multiple Python versions anyway.
This commit is contained in:
parent
606e5163f6
commit
79484a1fae
3 changed files with 212 additions and 0 deletions
1
graphics/vtk-python/DESCR
Normal file
1
graphics/vtk-python/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Python wrapper libraries for vtk; see vtk package for details.
|
46
graphics/vtk-python/Makefile
Normal file
46
graphics/vtk-python/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2004/08/02 13:28:12 drochner Exp $
|
||||
#
|
||||
|
||||
PKGNAME= vtk-python-${VTKDIST_VERSION}
|
||||
|
||||
COMMENT= Python wrapper libraries for vtk; see vtk package for details
|
||||
|
||||
VTK_CMAKE_OPT= -DPYTHON_INCLUDE_PATH:STRING=${PREFIX}/${PYINC} \
|
||||
-DPYTHON_LIBRARY:STRING=${PREFIX}/lib/libpython${PYVERSSUFFIX}.so \
|
||||
-DVTK_WRAP_PYTHON:BOOL=ON
|
||||
|
||||
PYDISTUTILSPKG= yes
|
||||
PYTHON_VERSIONS_ACCEPTED= 23pth
|
||||
PYSETUPSUBDIR= Wrapping/Python
|
||||
|
||||
VTK_PY_LIBS= bin/libvtkCommonPython.so \
|
||||
bin/libvtkFilteringPython.so \
|
||||
bin/libvtkImagingPython.so \
|
||||
bin/libvtkGraphicsPython.so \
|
||||
bin/libvtkIOPython.so \
|
||||
bin/libvtkRenderingPython.so \
|
||||
bin/libvtkRenderingPythonTkWidgets.so \
|
||||
bin/libvtkHybridPython.so
|
||||
|
||||
ALL_TARGET= default_target_Wrapping_Python
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
|
||||
|
||||
pre-install:
|
||||
for lib in ${VTK_PY_LIBS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$lib ${VTK_LIBDIR}; \
|
||||
done
|
||||
|
||||
# XXX this doesn't get linked with correct RPATH, and is unnecessary anyway
|
||||
post-install:
|
||||
${RM} -f ${PREFIX}/bin/vtkpython
|
||||
${LN} -s ${PYTHONBIN} ${PREFIX}/bin/vtkpython
|
||||
|
||||
DEPENDS= vtk>=${VTK_VERSION}:../../graphics/vtk
|
||||
|
||||
.include "../../graphics/vtk/Makefile.vtkdist"
|
||||
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
165
graphics/vtk-python/PLIST
Normal file
165
graphics/vtk-python/PLIST
Normal file
|
@ -0,0 +1,165 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/02 13:28:13 drochner Exp $
|
||||
bin/vtkpython
|
||||
${PYSITELIB}/vtk_python/QVTKRenderWidget.py
|
||||
${PYSITELIB}/vtk_python/QVTKRenderWidget.pyc
|
||||
${PYSITELIB}/vtk_python/QVTKRenderWidget.pyo
|
||||
${PYSITELIB}/vtk_python/libvtkCommonPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkFilteringPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkGraphicsPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkHybridPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkIOPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkImagingPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkRenderingPython.so
|
||||
${PYSITELIB}/vtk_python/libvtkRenderingPythonTkWidgets.so
|
||||
${PYSITELIB}/vtk_python/vtk/__helper.py
|
||||
${PYSITELIB}/vtk_python/vtk/__helper.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/__helper.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/common.py
|
||||
${PYSITELIB}/vtk_python/vtk/common.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/common.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/filtering.py
|
||||
${PYSITELIB}/vtk_python/vtk/filtering.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/filtering.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/graphics.py
|
||||
${PYSITELIB}/vtk_python/vtk/graphics.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/graphics.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkGLExtVTKRenderWindow.py
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkGLExtVTKRenderWindow.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkGLExtVTKRenderWindow.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkGLExtVTKRenderWindowInteractor.py
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkGLExtVTKRenderWindowInteractor.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkGLExtVTKRenderWindowInteractor.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkVTKRenderWindow.py
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkVTKRenderWindow.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkVTKRenderWindow.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkVTKRenderWindowInteractor.py
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkVTKRenderWindowInteractor.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/GtkVTKRenderWindowInteractor.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/gtk/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/hybrid.py
|
||||
${PYSITELIB}/vtk_python/vtk/hybrid.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/hybrid.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/imaging.py
|
||||
${PYSITELIB}/vtk_python/vtk/imaging.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/imaging.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/io.py
|
||||
${PYSITELIB}/vtk_python/vtk/io.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/io.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/parallel.py
|
||||
${PYSITELIB}/vtk_python/vtk/parallel.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/parallel.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/patented.py
|
||||
${PYSITELIB}/vtk_python/vtk/patented.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/patented.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/qt/QVTKRenderWidget.py
|
||||
${PYSITELIB}/vtk_python/vtk/qt/QVTKRenderWidget.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/qt/QVTKRenderWidget.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/qt/QVTKRenderWindowInteractor.py
|
||||
${PYSITELIB}/vtk_python/vtk/qt/QVTKRenderWindowInteractor.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/qt/QVTKRenderWindowInteractor.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/qt/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/qt/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/qt/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/rendering.py
|
||||
${PYSITELIB}/vtk_python/vtk/rendering.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/rendering.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/required.py
|
||||
${PYSITELIB}/vtk_python/vtk/required.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/required.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/test/BlackBox.py
|
||||
${PYSITELIB}/vtk_python/vtk/test/BlackBox.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/test/BlackBox.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/test/Testing.py
|
||||
${PYSITELIB}/vtk_python/vtk/test/Testing.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/test/Testing.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/test/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/test/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/test/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/tk/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/tk/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/tk/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkLoadPythonTkWidgets.py
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkLoadPythonTkWidgets.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkLoadPythonTkWidgets.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkImageViewerWidget.py
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkImageViewerWidget.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkImageViewerWidget.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkPhotoImage.py
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkPhotoImage.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkPhotoImage.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkRenderWidget.py
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkRenderWidget.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkRenderWidget.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkRenderWindowInteractor.py
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkRenderWindowInteractor.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/tk/vtkTkRenderWindowInteractor.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/colors.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/colors.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/colors.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/misc.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/misc.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/misc.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkConstants.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkConstants.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkConstants.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkImageExportToArray.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkImageExportToArray.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkImageExportToArray.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkImageImportFromArray.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkImageImportFromArray.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkImageImportFromArray.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkMethodParser.py
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkMethodParser.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/util/vtkMethodParser.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/wx/__init__.py
|
||||
${PYSITELIB}/vtk_python/vtk/wx/__init__.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/wx/__init__.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/wx/wxVTKRenderWindow.py
|
||||
${PYSITELIB}/vtk_python/vtk/wx/wxVTKRenderWindow.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/wx/wxVTKRenderWindow.pyo
|
||||
${PYSITELIB}/vtk_python/vtk/wx/wxVTKRenderWindowInteractor.py
|
||||
${PYSITELIB}/vtk_python/vtk/wx/wxVTKRenderWindowInteractor.pyc
|
||||
${PYSITELIB}/vtk_python/vtk/wx/wxVTKRenderWindowInteractor.pyo
|
||||
${PYSITELIB}/vtk_python/vtkRenderWidget.py
|
||||
${PYSITELIB}/vtk_python/vtkRenderWidget.pyc
|
||||
${PYSITELIB}/vtk_python/vtkRenderWidget.pyo
|
||||
${PYSITELIB}/vtk_python/vtkTkImageViewerWidget.py
|
||||
${PYSITELIB}/vtk_python/vtkTkImageViewerWidget.pyc
|
||||
${PYSITELIB}/vtk_python/vtkTkImageViewerWidget.pyo
|
||||
${PYSITELIB}/vtk_python/vtkTkRenderWidget.py
|
||||
${PYSITELIB}/vtk_python/vtkTkRenderWidget.pyc
|
||||
${PYSITELIB}/vtk_python/vtkTkRenderWidget.pyo
|
||||
${PYSITELIB}/vtk_python/vtkpython.py
|
||||
${PYSITELIB}/vtk_python/vtkpython.pyc
|
||||
${PYSITELIB}/vtk_python/vtkpython.pyo
|
||||
${PYSITELIB}/vtk_python/vtkpythontk.py
|
||||
${PYSITELIB}/vtk_python/vtkpythontk.pyc
|
||||
${PYSITELIB}/vtk_python/vtkpythontk.pyo
|
||||
${PYSITELIB}/vtk_python/wxVTKRenderWindow.py
|
||||
${PYSITELIB}/vtk_python/wxVTKRenderWindow.pyc
|
||||
${PYSITELIB}/vtk_python/wxVTKRenderWindow.pyo
|
||||
${PYSITELIB}/vtk.pth
|
||||
lib/vtk/libvtkCommonPython.so
|
||||
lib/vtk/libvtkFilteringPython.so
|
||||
lib/vtk/libvtkGraphicsPython.so
|
||||
lib/vtk/libvtkHybridPython.so
|
||||
lib/vtk/libvtkIOPython.so
|
||||
lib/vtk/libvtkImagingPython.so
|
||||
lib/vtk/libvtkRenderingPython.so
|
||||
lib/vtk/libvtkRenderingPythonTkWidgets.so
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk/wx
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk/util
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk/tk
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk/test
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk/qt
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk/gtk
|
||||
@dirrm ${PYSITELIB}/vtk_python/vtk
|
||||
@dirrm ${PYSITELIB}/vtk_python
|
Loading…
Reference in a new issue