oce: flake8 fixes
This commit is contained in:
parent
57eaea2e8c
commit
14cef6eab8
@ -23,12 +23,13 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
##############################################################################
|
##############################################################################
|
||||||
from spack import *
|
from spack import *
|
||||||
import platform, sys
|
import platform
|
||||||
|
|
||||||
|
|
||||||
class Oce(Package):
|
class Oce(Package):
|
||||||
"""
|
"""Open CASCADE Community Edition:
|
||||||
Open CASCADE Community Edition:
|
patches/improvements/experiments contributed by users over the official
|
||||||
patches/improvements/experiments contributed by users over the official Open CASCADE library.
|
Open CASCADE library.
|
||||||
"""
|
"""
|
||||||
homepage = "https://github.com/tpaviot/oce"
|
homepage = "https://github.com/tpaviot/oce"
|
||||||
url = "https://github.com/tpaviot/oce/archive/OCE-0.17.tar.gz"
|
url = "https://github.com/tpaviot/oce/archive/OCE-0.17.tar.gz"
|
||||||
@ -52,7 +53,6 @@ class Oce(Package):
|
|||||||
# https://github.com/tpaviot/oce/commit/61cb965b9ffeca419005bc15e635e67589c421dd.patch
|
# https://github.com/tpaviot/oce/commit/61cb965b9ffeca419005bc15e635e67589c421dd.patch
|
||||||
patch('null.patch', when='@0.16:0.17.1')
|
patch('null.patch', when='@0.16:0.17.1')
|
||||||
|
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
options = []
|
options = []
|
||||||
options.extend(std_cmake_args)
|
options.extend(std_cmake_args)
|
||||||
@ -64,7 +64,8 @@ def install(self, spec, prefix):
|
|||||||
'-DOCE_DISABLE_X11:BOOL=ON',
|
'-DOCE_DISABLE_X11:BOOL=ON',
|
||||||
'-DOCE_DRAW:BOOL=OFF',
|
'-DOCE_DRAW:BOOL=OFF',
|
||||||
'-DOCE_MODEL:BOOL=ON',
|
'-DOCE_MODEL:BOOL=ON',
|
||||||
'-DOCE_MULTITHREAD_LIBRARY:STRING=%s' % ('TBB' if '+tbb' in spec else 'NONE'),
|
'-DOCE_MULTITHREAD_LIBRARY:STRING=%s' % (
|
||||||
|
'TBB' if '+tbb' in spec else 'NONE'),
|
||||||
'-DOCE_OCAF:BOOL=ON',
|
'-DOCE_OCAF:BOOL=ON',
|
||||||
'-DOCE_USE_TCL_TEST_FRAMEWORK:BOOL=OFF',
|
'-DOCE_USE_TCL_TEST_FRAMEWORK:BOOL=OFF',
|
||||||
'-DOCE_VISUALISATION:BOOL=OFF',
|
'-DOCE_VISUALISATION:BOOL=OFF',
|
||||||
|
Loading…
Reference in New Issue
Block a user