Adding dune-functions and dune-typetree
This commit is contained in:
@ -21,7 +21,6 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
from spack import *
|
||||
import os
|
||||
|
||||
|
||||
class DunePython(CMakePackage):
|
||||
@ -33,9 +32,7 @@ class DunePython(CMakePackage):
|
||||
# url = "https://www.dune-project.org/download/2.6.0/dune-python-2.6.0.tar.gz"
|
||||
url = 'https://gitlab.dune-project.org/staging/dune-python/-/archive/releases/2.7/dune-python-releases-2.7.tar.gz'
|
||||
list_url = 'https://gitlab.dune-project.org/staging/dune-python/-/archive/releases/'
|
||||
# list_url = "https://www.dune-project.org/download/"
|
||||
list_depth = 1
|
||||
# version('2.7.0', url = 'https://gitlab.dune-project.org/staging/dune-python/-/archive/releases/2.7/dune-python-releases-2.7.tar.gz')
|
||||
|
||||
python_components = [ 'dune' ]
|
||||
|
||||
@ -81,7 +78,7 @@ class DunePython(CMakePackage):
|
||||
extends('python')
|
||||
|
||||
#dependencies
|
||||
depends_on('dune-grid+python+shared')
|
||||
depends_on('dune-grid+uggrid+python+shared')
|
||||
depends_on('dune-istl+python+shared')
|
||||
depends_on('dune-geometry+python+shared')
|
||||
# depends_on('dune-uggrid', when='+uggrid')
|
||||
@ -155,11 +152,6 @@ class DunePython(CMakePackage):
|
||||
@run_after('install')
|
||||
def install_python_components(self):
|
||||
for package in self.python_components:
|
||||
print(os.path.dirname(os.path.abspath(__file__)))
|
||||
build_directory = 'python'
|
||||
print(self)
|
||||
with working_dir(join_path(self.build_directory,'python')):
|
||||
print(working_dir)
|
||||
print(os.path.dirname(os.path.abspath(__file__)))
|
||||
print(join_path(self.build_directory,'python'))
|
||||
setup_py('install', '--prefix={0}'.format(self.prefix))
|
||||
|
Reference in New Issue
Block a user