Created attachment 162973 [details] Shar file of the port Application and library for 3D visualization and plotting in Python. Seems like the best in its class. The port is not yet ready for commit. See known problems in freebsd/pors mailing list, e.g. on https://groups.google.com/forum/#!topic/mailing.freebsd.ports/bM8Ua-DY1es Probably, submitting my request for help via google was a mistake.
Created attachment 162974 [details] Logs of a build in poudriere
Thanks Vladimir! On initial review: * Using PyPI (CHEESESHOP) for distribution files is preferred unless desirable files are missing from the sdist (LICENSE, test suite, etc) * If a LICENSE file exists in WRKSRC, add LICENSE_FILE=${WRKSRC}/path/to/LICENSE * I'm not confident that the declared dependencies are all BUILD_DEPENDENCIES. See: https://github.com/enthought/mayavi/blob/master/mayavi/__init__.py#L10 * GH_PROJECT defaults to PORTNAME, this entry is not needed * Instead of a pre-configure check for the/a python vtk module, there should be a (slave) port for either vtk with the option enabled (vtkX-python) OR, a port for py-pyvtk (https://pypi.python.org/pypi/PyVTK) if this is the module that is used. A pre-configure check assists port users who can rebuild vtk w/ PYTHON, but not package users. * Group USE{S_*} lines with USES at the top, and USE_* sorted
Please see dicussions on https://reviews.freebsd.org/D4181
Created attachment 168029 [details] New shar file with complete license info Update the shar file with the port, now with all license information.
Created attachment 168030 [details] Resuls of QA tests for new shar The logs contain warnings and error, all from docs generating parts. I do not see any bad consequences for the application on the run.
back to pool
All known issues are addressed by now.
Should have been reassigned to the open pool (not just python@)
testbuilding 4.5.0 @work
Testbuild shows a little bug in the PLIST, which seems not trivial to fix: http://people.freebsd.org/~pi/logs/graphics__py-mayavi-11a-1470337152.txt Any suggestions ? Is the directory %%PYTHON_SITELIBDIR%%/mayavi/tools/static/ missing ?
(In reply to Kurt Jaeger from comment #10) Probably [1] another case of "Resolve Distutils install_data command contains directories in --record <RECORDFILE>" [2] [1] https://github.com/enthought/mayavi/blob/master/setup.py#L406 [2] https://wiki.freebsd.org/Python Options: 1) Try to patch out the above line from setup.py 2) Create the directory post-install: Former is preferred over the latter unless the directory isn't empty (I'm guessing it is?) Can you add this port to the examples in in the Wiki [2] so that we can chase them up if needed later It would be nice to resolve this upstream ultimately, so please report the bug/issue
Created attachment 173306 [details] New files/patch-setup.py This changed patch file fixes plist for me.
The updated application needs a Python3 style print function instead of a print statement. The (recursively) updated mayavi2 app passes all my tests with this change applied. I will contact upstream about the patch. Thanks!
testbuilds look fine.
A commit references this bug: Author: pi Date: Sat Aug 6 07:04:37 UTC 2016 New revision: 419732 URL: https://svnweb.freebsd.org/changeset/ports/419732 Log: New port: graphics/py-mayavi 3D Scientific Data Visualization and Plotting The Mayavi project includes two related packages for 3-dimensional visualization: Mayavi: A tool for easy and interactive visualization of data, with seamless integration with Python scientific libraries. TVTK: A Traits-based wrapper for the Visualization Toolkit, a popular open-source visualization library. These libraries operate at different levels of abstraction. TVTK manipulates visualization objects, while Mayavi lets you operate on your data, and then see the results. Most users either use the Mayavi user interface or program to its scripting interface; you probably don't need to interact with TVTK unless you want to create a new Mayavi module. WWW: http://code.enthought.com/projects/mayavi/ PR: 204435 Submitted by: Vladimir Chukharev <vladimir.chukharev@gmail.com> Changes: head/graphics/Makefile head/graphics/py-mayavi/ head/graphics/py-mayavi/Makefile head/graphics/py-mayavi/distinfo head/graphics/py-mayavi/files/ head/graphics/py-mayavi/files/patch-setup.py head/graphics/py-mayavi/files/patch-tvtk_setup.py head/graphics/py-mayavi/pkg-descr
Committed, thanks!