dracwyrm / gentoo-ebuilds

Gentoo Linux ebuilds for Blender and dependency work.
8 stars 4 forks source link

media-gfx/openvdb: Add python use flag to make python optional #4

Closed dracwyrm closed 8 years ago

dracwyrm commented 8 years ago

Python is only used to compile a module for python, but if you don't want that module, then there's no need for all the dependencies, mainly NumPy. This will completely bypass module compilation, which takes longer than the regular module.

dracwyrm commented 8 years ago

This needs to be double checked to make sure everything is alright.

redchillipadi commented 8 years ago

The python flag appears to work as expected.

Building openvdb with only X and openvdb-compression compiles successfully without building any of the python modules.

When specifying python but no docs or pdf it adds the numpy dependency and builds the python modules as it should to create pyopenvdb.so.

I am currently attempting to sort out the blocker which prevents me from adding the documentation use flags.

redchillipadi commented 8 years ago

I thought I already added this comment but it appears to have disappeared. I have been able to add the documentation use flags by updating dev-python/pdoc to add python3_5 to PYTHON_COMPAT and mark most of texlive as ~amd64. This creates the html documentation successfully, but the pdfdoc doesn't appear. I will look into it tomorrow.

dracwyrm commented 8 years ago

@redchillipadi: Thanks for the info. The Makefile says that's it's supposed to produce a PDF with latex installed. Do I need to patch that file yet again?

redchillipadi commented 8 years ago

This as well as #3 are fixed by commit 51fec031adebae6ec36886b434452668a5553e38